Error parsing near '<!DOCTYPE html PUBLI'
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
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
Andrei i have solution for your error. :)
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