Blog Post Comments - #comments anchor causing an error on 2nd page of comments

We have run into a problem with blog posts on our SharePoint 2013 on premise installation (15.0.4649.1000). The problem is with the blog on the users' MySites.  On the front page of the blog, (https://mysite.url/personal/user_name/Blog/default.aspx),
you are presented with a listing of the blog posts - displayed as a summary view.  So, this includes:
-  the title (linked to the post ie https://mysite.url/personal/user_name/Blog/Lists/Posts/Post.aspx?ID=5)
-  the publication date
-  an excerpt of the post
-  the author, the time posted
-  the number of comments (linked to the post - but with an anchor to the comment section ie https://mysite.url/personal/user_name/Blog/Lists/Posts/Post.aspx?ID=5#comments).
If you click on the Title (ie https://mysite.url/personal/user_name/Blog/Lists/Posts/Post.aspx?ID=5) everything is fine - the problem does not come up.
If you click on the number of comments (ie https://mysite.url/personal/user_name/Blog/Lists/Posts/Post.aspx?ID=5#comments), here's where things go wrong.  The initial page loads fine, but if there are more than 10 comments, you have to go to the next page. 
If you click the arrow to go to the next page you get the following error:
Exception from HRESULT: 0x80131904
Correlation ID:20a9f49c-d329-0015-874e-4818b529d673
If I check the ULS logs, this is what I see:
System.Data.SqlClient.SqlException (0x80131904): Conversion failed when converting the nvarchar value '5#comments' to data type int.    
 at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)    
 at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)    
 at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)    
 at System.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)    
 at System.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more)    
 at System.Data.SqlClient.SqlDataReader.Read()    
 at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock)    
 at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock)  ClientConnectionId:e6cdabb3-a778-4c47-8024-73913a538b51  Error Number:245,State:1,Class:16
So what I think is happening here, is that SharePoint is not stripping the comments anchor (#comments) from the post ID before it queries the database for all comments related to that post.  SQL is expecting an integer - in this case "5", but
is instead getting "5#comments".
For the time being we are going to let users know not to click on the comments, but to click on the title instead.  But we would like to correct this problem.
Is there a fix for this?
Thanks!

Hi,
In my environment, I do not encountered the error as yours. My environment has installed the 2014 December CU. I recommend you
to install the 2014 December CU or the latest CU for SharePoint 2013.
The article below is about the 2014 December CU for SharePoint 2013
http://blogs.technet.com/b/stefan_gossner/archive/2014/12/09/december-2014-cu-for-sharepoint-2013-has-been-released.aspx
Best regards,
Sara Fan
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]

Similar Messages

  • Blog post comments not working

    Hi there,
    I have a couple of sites, both set up with a blog:
    http://cyberworkshop.co.nz/blog/video-blog
    http://www.sjorakei.school.nz/blog/lorem_ipsum_dolor_3
    For some reason when you add a comment to either blog post this message appears:
    ERROR: An error occurred. Image verification failed. If you believe this is incorrect, please contact your system administrator or go back and re-submit the form.
    I definitely had comments working on the School site at one point and I cant figure out how to correct this.
    Any pointers on how to fix this would be most appreciated.
    Thanks, Ben

    Hi Ben,
    For the first site, it looks like captcha is commented out on the Blog Post Detail layout: http://screencasteu.worldsecuresystems.com/Florin/2013-10-20_1259.png
    On the second site, you also had a problem in the javascript on the blog post detail layout.
    I've corrected the Javascript now, and you get an error message pop-up when trying to submit a comment without filling in the captcha.
    Thanks,
    Florin

  • Sharepoint Blog Post & Comments Export

    I have a blog with some posts and each post having some comments. I am moving the post & Comment list from the site to a  subsite using Content & Structure.
    The Post & Comment lists are moved successfully but in the subsite it shows 0 comments for all the posts. In other words the comment list has been moved but it has lost its link to the Post list. 
    Can you please suggest how to rectify this

    Got the Solution...
    When You move the Comment list to the Subsite, the Title Post Column becomes Null, this is the column which actually conencts both the post & the comment list. 
    Solution : Open the comment list in Edit Datasheet view Change the Post Title Column for all the comments. It will be a drop down populated based on the Post title Just Select and Save the sheet and now check the Bog all the comments will be linked to the
    post.
    SKA

  • Add Columns to Sharepoint 2013 blog post comment form

    Hello, I'm trying to customize my blog site and to add two more fields Name and Country when users are posting a new comments. Is there a way to do this in Sharepoint 2013 foundation?
    Thank you.

    Wendy, Please go through this video from
    channel 9 (http://channel9.msdn.com/Blogs/NickDallett/InfoPath-2010-Customize-a-SharePoint-List-Form)  which will uilding froom explain similar form building from scratch.
    As per Peter's replay yes you can update form even after add columns in list and you can add extar control like button to your infopath form.
    Workflows are usually started when creating or updating an item inside a SharePoint document library. 
    Open the workflow in SharePoint Designer and under "Start Options' on the workflow's home page, remove the check from "Start workflow manually...". Be sure the check either "Start on create..." or "Start on change...". In
    your case I think you would use "Start on create...".
    Hope these inputs will help
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Anchor causing formatting errors

    Yea Oracle strikes again. I would love to meet the design team that put together the developer tools because they are a bunch of stupid monkeys. No wonder Microsoft OWNS Oracle, its because Oracle sucks in just about every facet imaginable. I'm going back to Access as soon as they abandon VBA.
    So, why the hell would an anchor all of a sudden cause a completely unrelated frame to raise a 'object cannot horizontally fit' error?? This is SO STUPID and has wasted my entire morning. Thanks Oracle!! I spend all of my time circumventing your idiotic logic! Fantastic!

    The prior statement was made out of frustration. I realize the power that Oracle provides, but it seems that as a developer, I spend 90% of my time circumventing poor logic that shouldn't exist in the first place. The difference between myself and Oracle is that Oracle put their product on the shelf and sold it with these problems and are making a decent buck at doing it.
    Laugh all you want, I have no choice but to use these half-assed developer tools to try and make my departments happy. If I was to put together a "Corey Reports" as you stated, I sure as hell would make sure it was as kind to the developer as I could make it. Oracle, using the miriam of "help" sites abound as an indicator, failed to accomplish this and continues to produce the same thing with every version adding a sleeker interface without focusing on developer logic and core fundamentals that should have been incorporated from version D2K forward.

  • Blog post : "Bug in Create/Edit View Criteria Wizard (JDeveloper 11g)"

    hi
    Using steps 1 to 13 from the blog post "Bug in Create/Edit View Criteria Wizard (JDeveloper 11g)" by Andrejus Baranovskis, I have been able to reproduce the issue he describes.
    see http://andrejusb.blogspot.com/2008/12/bug-in-createedit-view-criteria-wizard.html
    I the blog post comments he writes "... there was no time for me to fill bug in Metalink ...".
    Maybe someone from Oracle can pick it up from this forum post and file it as a bug if it is one (and if possible post the bug number here).
    many thanks
    Jan Vervecken

    The mechanism is to create a reproduceable test case, create a Service Request in metalink.oracle.com, post the test case, and convince the analyst to file it as a bug.
    It may be not efficient at some time, but this the way it is handled.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Any way to turn off errors when updating pages from the template?

    I'm using Dreamweaver MX. My site is huge. It's an intranet
    spanning dozens of departments. Some of those departments have
    subsites that don't fall under the intranet's control, although
    they are embedded within our site's folder structure. When I make a
    change to the template and update pages, every time I hit one of
    those subsites I get tons of errors, from "template not found" to
    "unmatched body tag". The errors that pop up each have to be
    clicked on before the updating can continue. I get hundreds of
    these.
    Is there any way to make errors not pop up while updating
    pages from the template? Or even to exclude certain folders from
    being checked? (Cloaking doesn't do it.)

    > I'm using Dreamweaver MX. My site is huge.
    Both of these are problems, I'm afraid. Combining that with
    templates is
    really trouble.
    > "unmatched body tag".
    Errors such as this are definitely caused by errors in your
    page itself.
    Can you show me a page where you would get this?
    > Is there any way to make errors not pop up while
    updating pages from the
    > template? Or even to exclude certain folders from being
    checked? (Cloaking
    > doesn't do it.)
    Valid code will not produce these errors. Unfortunately, the
    only way to
    avoid them is to remove any validation hiccups from your
    pages.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "abna" <[email protected]> wrote in message
    news:f14ue2$pk5$[email protected]..
    > I'm using Dreamweaver MX. My site is huge. It's an
    intranet spanning
    > dozens of
    > departments. Some of those departments have subsites
    that don't fall under
    > the
    > intranet's control, although they are embedded within
    our site's folder
    > structure. When I make a change to the template and
    update pages, every
    > time I
    > hit one of those subsites I get tons of errors, from
    "template not found"
    > to
    > "unmatched body tag". The errors that pop up each have
    to be clicked on
    > before
    > the updating can continue. I get hundreds of these.
    >
    > Is there any way to make errors not pop up while
    updating pages from the
    > template? Or even to exclude certain folders from being
    checked? (Cloaking
    > doesn't do it.)
    >

  • Suddenly unable to post comments on iWeb blog - image verification error

    People suddenly can't post comments to my blog page (web.me.com/stannerory). I've tried this myself, and posting continuously fails at the image verification process, one receives an error message that says the letters entered don't match the image, yet they do. Someone suggested that cutting the comment, closing, reopening, and pasting, and doing the process a second time would work, but I haven't found this to be successful either. Is there some kind of a workaround? Anyone else having this issue?

    OT -
    Thanks for your efforts.
    It seems to be intermittent now, which is an improvement. I still can't add or remove a comment without fail. It's some consolation that it might be a server issue, but if it were, wouldn't there be all kinds of unhappy Apple users complaining about the issue, AND wouldn't the mobileMe website have some kind of problem indicator light flashing? Of course it would.

  • Can't post comments to Blog after MobileMe push

    My blog will not allow anyone to post comments now, since the MobileMe migration. When you click "add comment" it brings up the MobileMe migration page with info on MobileMe. I believe that I have set up everything necessary on my computer for MobileMe, so how do I get the blog to quit directing to this page? I have two autistic children, and I use this blog for their therapists to post comments about their daily therapy sessions - I really need to get this fixed QUICK! Also, when publishing the blog, I get an error message at the very end - "error publishing" - but everything is visible like it published successfully. Thanks for any help.

    It is not just the Blogs, my Photos pages won't allow comments either. I just started with iWeb a couple of weeks ago and it took me a while to discover that the comments feature was not working. Made me feel kind of foolish, I had asked some friends to check out my site and then was a little perturbed that they hadn't posted any comments.
    I would hate to try setting up on another site as I like the basic simplicity of iWeb.
    Does anybody know of anything else as easy to use? I'm in the trial period and if this doesn't get fixed I definitely will not be continuing.

  • Can't post comments to Blog site

    Since .Mac switched to Me.com, I cannot see comments on my blog site.
    I can post/publish to the site from iWeb and others have said they can post comments (using Firefox, but not Safari). But when I go to view the comments, I get an error message:
    # Exception: TypeError
    # Message : Value undefined (result of expression postLinks.forEach) is not object.
    # File : Comments.js, Line:138
    I have not done anything differently in how I'm publishing the page.
    I am using Safari 3.1.2 to view the site.
    I am using iWeb '08 2.0.4 to publish the site.
    I have also tried to use Firefox (3.0.1) to see the comments, and get this error message:
    # Exception: TypeError
    # Message : postLinks.forEach is not a function
    I can see the comments if I open iWeb and read down the page. I cannot post comments using iWeb though.
    Any ideas?
    Message was edited by: Danielle Lum1

    Danielle ~ See this old thread:

  • I am having problems posting comments and writing blogs on Yahoo Pulse. Their tech support says that the problem is with my Firefox server. How do I resolve this issue?

    I get error messages when posting comments to my friends pages, cannot edit blogs without getting errors and cannot add new friends to my page.

    http://en.wikipedia.org/wiki/Internet_service_provider
    Firefox isn't your "server" or your ISP. Contact whoever you pay for internet access - Comcast, AT&T, Net-Zero, etc.

  • "Submission status" error while posting comments using evcom

    Hi friends,
    I am  getting "Submission status" error while posting comments using evcom. This error comes up even when we use "post comments" option in Action Pane.
    The error text goes like this :
    Error Message -
    This cell can not be updated.  Submission status must be modified to allow changes.
         010_000|2009.TOTAL|INTERCO|NOPC
    How can we get rid of this error?

    That's means the status for that specific category, time entity is approved and you can not do any changes including
    comments chnages.
    You have to change first the work status for that entity and after that you will be able to submit your comments.
    Regards
    Sorin radulescu

  • Page layout skewed after comment added to blog post

    I am having an issue where my page layout is all out of whack after a reader posts a comment. The body text of the blog post drops down the page to cover over the top comment. Also noticed that the weblink that the reader has entered doesn't work - It's supposed to load their site when clicking on their name, but no link is active. Also having problem where the body text is OK, but the comment is cut off - the page doesn't automatically extend to allow the comment to fit at the bottom.
    Very frustrating for me and my readers.
    BTW, using iWeb09 and Mobile Me account. Annoying to pay this money and not have results.

    Seems I can answer this one myself.
    The problem occurs when the code from Google Analytics is not on the furthest back layer. Right click on html box containing the code and select 'Move to back'. Problem solved

  • Why can't I post comments on (blogger) blogs that I follow?

    I am a blogger and I follow several blogs. A big part of the blogging community is commenting and sharing. Every time I try to comment on my Macbook Pro (or iPhone or iPad) the comments won't post. When I click publish or preview and it refreshes the text box is blank. Why?

    I believe I did an update and the problem is resolved. (I am honestly not sure what changed from this morning but I am able to post comments.) Sorry for the troubles.

  • Content Query Webpart show blog post with no of comments

    Hi to All,
    I want to show blog posts using content query webpart along with no of comments to that post
    but comment column in the Posts list is lookup column so how to show no of comments using content query webpart.
    Please help me.
    Thanks,
    Rohit Warghade...

    I am not sure why, but I am getting
    The site or list column "# Comments" does not exist or is not valid.
    What could I be doing wrong?
    Thanks!

Maybe you are looking for