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?