asp.net - Tracking Down Mysterious Errors -
i have rather complex legacy asp.net application under continuous development, , 1 client has started erroring recently.
the application uses asp.net 3.5 , c# on server side, backed sql server 2005 , iis6.
the application utilises microsoft asp.net ajax libraries , devexpress components.
we have comprehensive logging platform in place, via page_error handler in custom page base, logs unhandled exceptions , displays nice error page.
the problem is, 1 client has started getting errors cannot trace - nothing logged, despite nice error page being displayed. no exceptions caught , handled page_error handler, method redirects users error page - , no redirection happens without error being handled.
i have added client side javascript asp.net ajax pagescriptmanager endrequesthandler javascript handler logs clientside errors wide open ashx logging script.
the errors client side catches follows:
sys.webforms.pagerequestmanagerservererrorexception: unknown error occurred while processing request on server. status code returned server was: 0 sys.webforms.pagerequestmanagerparsererrorexception: message received server not parsed. common causes error when response modified calls response.write(), response filters, httpmodules, or server trace enabled. details: error parsing near ' <!doctype html p'.
these errors have no corresponding server side error.
unfortunately, there no scope set unit tests project, large , wouldn't know begin client-server interaction part.
my question is, can recommend method of seeing erroring, why erroring , why isn't being caught page_error handler?
you try using elmah catch exceptions aren't handled inside application.
Comments
Post a Comment