Home > Net >  Asp.net (not the MVC framework) Application_Error couldn't capture ajax request the webMethod m
Asp.net (not the MVC framework) Application_Error couldn't capture ajax request the webMethod m

Time:05-12

Is what I want to in the global Application_Error catch exceptions, do some friendly page

Found is to use an ajax request now, if it is passed to ashx page, error will be Application_Error capture,

If the ajax request is to write the webMethod method in the corresponding page cs, cannot be captured with a Application_Error is a breakpoint after never into this method, (but the request will be Application_BeginRequest method)

This is the need to do any special operation it...
  • Related