ASP.NET Ajax 1.0 error Sys.WebForms.PageRequestManagerParserErrorException
If you’ve seen this error, you’ve probably already spent some time trying to resolve it. We only encountered this error on our test server and it turned out the missing piece was a web.config setting. Also the following piece of code at the top of a page seems to alleviate some AJAX refresh bugs.
1) Make sure this in is your web.config
<httpModules>
<add name=”ScriptModule” type=”System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35″/>
</httpModules>
2) Add this to the to the Page declaration if you’re experiencing some page refresh bugs
enableEventValidation=”false”
If you’ve found alternatives to this problem or our suggested solution isn’t working for you, please feel free to comment below.

March 3rd, 2008 at 1:05 pm
hi. where I place this code: enableEventValidation=â€falseâ€
???
thanks!
March 3rd, 2008 at 1:29 pm
resolved
THANKS!!
March 4th, 2008 at 2:41 pm
I believe you place the enableEventValidation in the page declaration.
That line is at the top of the .aspx file and looks something like….
May 6th, 2008 at 11:54 am
Great! Thanks this fixed it for me, i already had the the module declared for IIS7 in the , duplicating it for the old style worked for me! Is any reason its bad to declare it twice?
May 13th, 2008 at 12:17 pm
setting EnablePartialRendering to false resolved my issue
May 26th, 2008 at 11:27 pm
I can access my web application from my computer(localhost). When i connect with external IP address I got the following errors?
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’
May 27th, 2008 at 11:06 pm
I am Newbie in .Net Framework. I can access my web application from my computer(localhost). When i connect with live server. I got the following errors?
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’
Can you resolve this problem?
Any helps would be appreciated.
Thanks in advance.
May 29th, 2008 at 12:05 am
Hi Anu,
I got same error and i changed the coding like this: EnablePartialRendering=”false”
But my web page automatically refresh it every few seconds.
Can anyone tell how to resolve it?
Thanks in advance
email hidden; JavaScript is required
June 18th, 2008 at 8:23 am
where to find the EnablePartialRendering.???
i have not sovled the issue using the above solution. reply me urgent.
October 16th, 2008 at 6:28 pm
Example of one of my pages (you can locate this on top of every page, ‘CCMAN_Tree’ is my page name you should have a different name):
After adding EnablePartialRendering=â€false†to all my web pages, my problem was solved. Very nice TIP, thanks a lot.
November 18th, 2008 at 12:51 am
iam using EnablePartialRendering=â€false†in my master page script manager my problem will be solved
Thank you for your suggestion
with regards,
prasanth
April 3rd, 2009 at 10:26 am
Excellent, thanks guy.
April 22nd, 2010 at 6:34 am
Im still getting the same error after following the above 2 steps..