1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Error parsing near '<!DOCTYPE html PUBLI'

Error parsing near '&lt;!DOCTYPE html PUBLI'

4 posts, 0 answered
  1. Andrei
    Andrei avatar
    553 posts
    Registered:
    27 Nov 2008
    23 Sep 2011
    Link to this post
    Hi,

    I have an AJAX page on which I have one UpdatePanel and for some reason, I am getting the below error message.
    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322; .NET4.0C; .NET4.0E)
    Timestamp: Fri, 23 Sep 2011 15:08:35 UTC


    Message: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
    Details: Error parsing near '<!DOCTYPE html PUBLI'.
    Line: 5
    Char: 84093
    Code: 0
    URI: http://andrei-PC/ScriptResource.axd?d=Na4QPWnxa3bHv8ZstGL0sTnZje2vw8sZInX3HujY6pd98xNwohvrl0NcZqp1DYMfZYwwi77pqaLZC90TrO5mNO5NrcXU92hNCK-rtYoRUk5ibWxGndPiz-M0DVH-CV_FhYP8LjhCgL-q4Q-yYXVI7xT7hCu2jmVNW6rVxRm33_xendLB0&t=4edbeeee


    Wondering if anyone can help.

    Many thanks,
    Andrei
  2. Veronica
    Veronica avatar
    125 posts
    Registered:
    30 Jan 2015
    28 Sep 2011
    Link to this post
    Hi Andrei,

    Unfortunately the information that you provided is not enough to be able to help you.
    However you can try validating your page in this W3C Markup Validation Service as you will see what is causing the error in the details.

    All the best,
    Veronica Milcheva
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Mohammad
    Mohammad avatar
    1 posts
    Registered:
    03 Dec 2011
    03 Dec 2011
    Link to this post
    Andrei i have solution for your error. :)
  4. Andrei
    Andrei avatar
    553 posts
    Registered:
    27 Nov 2008
    05 Dec 2011
    Link to this post
    Mohammad,

    That was a while ago. I think (if i remember correctly) I fixed the issue by adding this to the <pages> in Web.config.
    <pages enableViewStateMac="false" enableEventValidation="false">

    I think it was on  an AJAX page which keeps refreshing every 3 seconds. Would be interested in your solution though.
    Many thanks,
    Andrei

4 posts, 0 answered