Skip to content

Error handling in

March 27, 2008

There are three error modes in which an ASP.Net application can work:

  1. Off Mode
  2. On Mode
  3. RemoteOnly Mode

After the Page_Error is called, the Application_Error func called. Here you can also log the error and redirect to another page.

Order of error handling events is as follows:

  1. On the Page itself, in the Page_Error sub (this is default, you can name it anything because it specificed Handles MyBase.Error)
  2. The global.asax Application_Error sub
  3. The web.config file
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: