Microsoft JScript runtime error: 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 ‘omingo</td><td>’.

I was getting this error when calling a Webmethod and Databinding it in a WebUserControl that contains AJAX controls. Googling for it brings more questions than answers, some of which were telling me to edit my Machine.Config

OK, my whole control is placed inside an UpdatePanel. When i take it out of the UpdatePanel i don’t get the error anymore. (But thanks to IE, i really need that UpdatePanel to get rid of the flickering)

Well, as it turns out, i was Databinding too much data to a GridView inside the control.

I cut down my data into half, then…. TADA! It’s working now.

Advertisements