Error parsing near '<!DOCTYPE html PUBLI'

Posted by Community Admin on 03-Aug-2018 16:13

Error parsing near '<!DOCTYPE html PUBLI'

All Replies

Posted by Community Admin on 23-Sep-2011 00:00

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: andrei-PC/ScriptResource.axd


Wondering if anyone can help.

Many thanks,
Andrei

Posted by Community Admin on 28-Sep-2011 00:00

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

Posted by Community Admin on 03-Dec-2011 00:00

Andrei i have solution for your error. :)

Posted by Community Admin on 05-Dec-2011 00:00

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

This thread is closed