Sys.Webforms. PageRequestManagerServerErrorException Status Code 500
Just thought I’d share this gem… I was getting this…
Sys.Webforms. PageRequestManagerServerErrorException: An uknown error occurred while processing the request on the server. The status code returned from the server was: 500
On my ASP.Net 2.0 I had an Update Panel with a Timer, each time it fired I was getting the error.
Totally beat me, so I took out bits and pieces until I found the answer and I was amazed when I found it. Within the form but not in the Update Panel, there was this innocuous piece of HTML code…
and it didnt like the fact that the value had HTML code inside it. Luckily this was only needed as a field for Javascipt, so I could remove the runat=“server” which solved the problem.
Hope this helps… coz it took me ages to find it.