Application_Error event not firing on server

Discussion in 'ASP.NET / ASP.NET Core' started by Latshaw1, Nov 1, 2011.

  1. The Application_Error event is firing and working just fine locally, but once it's published to our server on DiscountASP.net, the event doesn't fire and the user is directed to the standard error page. Customer errors are turned off, and I'm baffled as to why this is. Anyone have a clue?
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    If the application encounter within the Application_error method, it will not throw it which make it look like the method is not being invoke.

    I would check to make sure you have adequate exception handling within the application_error method.
     

Share This Page