Page Request Manager Server Error Exception 500
Yes, it’s a long word, but sometimes I got the following error message:
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occured while processing the request on the server. The status code returned from the server was: 500.
On my own I’ve already found the cause: In my subject field I enter a text including words which are recognized as HTML Tags, e.g. ‘Check whether amount <the previous amount”. Then I switched to another tab page and selected a new value from a dropdown list. This is in an Ajax UpdatePanel with Autopostback = True. After selecting a value the error appeared, the script did not reach the SelectedIndexChanged event. The error does not appear when I add a blank after the < less-than, e.g. “Check whether amount < the previous amount”.
Of course I searched the internet and found several reports. Finally I reached a WhitePaper from Microsoft which exactly explains the cause and the fix: http://www.asp.net/learn/whitepapers/request-validation/ It’s not a bug, it’s a feature, a quite useful! But unfortunately the error Message (Status 500) is not very good…. So you could disable the validation and do it on your own, or leave it as it is and live with Error Code 500. In my case it appeared in very rare cases only and therefore I kept the default validation instead of doing it on my own, as this would also effect some other systems accessing the values I stored HTML-encoded then.
Hi,i have the same bug in my appliaction.acording to you i disable validateRequest=”false” in my wepage and also in webconfig file but the its still showing me error.
Thanks
Manendra singh
I am getting the following exception.
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occured while processing the request on the server. The status code returned from the server was: 12029
Can anyone tell me why it is happening?
This Feature is anoying
, you fix one problem and 60 more Come up. Why does firefox return Status code 0 and IE brings up 12029 for lost connection though
Hi,
This is different in my case.
I’m not getting this error in developer environment, instead application throws this in client environment that too randomly.
Can anyone please help me out in resolving this issue?
About this Internal Server Error 500, you all must read this ….
http://weblogs.asp.net/leftslipper/archive/2007/02/26/sys-webforms-pagerequestmanagerparsererrorexception-what-it-is-and-how-to-avoid-it.aspx
Please check your all control names are unique. this is also another factor for this error. usually occurs when we replicating the same control structures.
Senthil
Bangalore
Thanks for this post… I had this problem and couldn’t figure it out until after reading this. I am returning data that has XML-style tags so I just changed the tag style when loading the page and problem solved