This is a migrated thread and some comments may be shown as answers.

PageRequestManagerServerErrorException

1 Answer 182 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
msigman
Top achievements
Rank 2
msigman asked on 16 Dec 2010, 07:49 PM
For some reason any error that occurs within a request initiated by AJAX Manager, even if it's handled within a try..catch block is generating a javascript PageRequestManagerServerErrorException error and the try...catch code is not being executed.  This *only* happens after the site has been deployed to our web server.  It does not happen when running locally on our machines.  I've tried setting CustomErrors in the web.config to On and Off with no change.  Any ideas?

Exact error:

Message: Sys.WebForms.PageRequestManagerServerErrorException: Object reference not set to an instance of an object.
Line: 6
Char: 84093
Code: 0

and/or

Message: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500

Same issue as here: http://forums.asp.net/t/1044963.aspx?PageIndex=3

1 Answer, 1 is accepted

Sort by
0
msigman
Top achievements
Rank 2
answered on 18 Dec 2010, 09:30 PM
Okay.  Got it figured out.  There was actually an error happening within the Catch block - which of course was not being trapped, and so was being returned to the server untrapped, and thus AJAX was reporting Server Error 500.
Tags
Ajax
Asked by
msigman
Top achievements
Rank 2
Answers by
msigman
Top achievements
Rank 2
Share this question
or