Error Handling techniques in ASP.NET

In ASP.NET there are three places you can set for handling these unhandled error.

1. Web.config files2. In the global.asax file's Application_Error 3. On the aspx or associated codebehind page in the Page_Error.

The actual order of error handling events is as follows:

1. On the Page itself, in the Page_Error event handler2. The global.asax Application_Error event handler3. The web.config file


 


Comments