PageRequestManagerParserErrorException on response change during AJAX request

I am getting an exception after clicking a button or doing somekind ajax operation inside the AjaxPanel.

SCRIPT5022: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are response changes to calls to Response.Write (), response filters, HttpModules, or server tracing. Details: Parsing error near '

<! DOCTYPE html>. Telerik.Web.UI.WebResource.axd line 15 characters 16238

In ASP.NET 4.0 with Telerik

. This only happens in IE10. Meaning - Works fine on chrome, Mozilla, previous IE.

I applied the KB2600088 and KB2783767 fixes on the server, but still nothing. This is the 32-bit version of Windows Server 2003 Standard Edition.

What can I do?

+3


source to share


3 answers


pressing the button or

What can I do?

If you change the state of the HttpResponse , you need to move this "button" out of the Telerik AjaxPanel / MS UpdatePanel.



See Sys.WebForms.PageRequestManagerParserErrorException for details - what it is and how to avoid it .

+2


source


This issue is related to the ajax request loop, and the solution to the problem is in the webresources cache object being handled by the browser as a raw request.

to resolve the issue, the call trace should be captured using any web resource monitor and it is always recommended to have a request with a timestamp or unique identifier.



unmannaged ajax requests in the browser show this type of error, sometimes it also shows a 500 error.

thank

+2


source


I ran into this error a few months ago when I migrate from IE 9 to IE 10.

There seems to be (some) incompatibility issues between ASP.NET AJAX Client Library 4.x and IE 10.

I found myself changing IE compatibility settings would solve my problem. I added the following line:

<meta http-equiv="X-UA-Compatible" content="IE=9" />

      

at the top of my page as the first line of the html head section, before any other tags (as shown below),

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=9" />
    ...

      

The PageRequestManagerParserErrorException never happened again, but some of the CSS3 rules defined by IE10 did not affect the change in compatibility settings.

I recently posted this Microsoft Connect situation and they said they were investigating.

0


source







All Articles