PageRequestManagerServerErrorException

2 posts, 0 answers
  1. msigman
    msigman avatar
    141 posts
    Member since:
    Apr 2008

    Posted 16 Dec 2010 Link to this post

    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

  2. msigman
    msigman avatar
    141 posts
    Member since:
    Apr 2008

    Posted 18 Dec 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top