A New Internet Library: Add Your Website/Blog or Suggest A Website/Blog to our Free Web Directory http://anil.myfunda.net.

Its very simple, free and SEO Friendly.
Submit Now....

Tuesday, July 22, 2008

Traping Exception

Hi,

I want traping exceptions. I use this code in the file Global.asax

  void Application_Error (object sender, EventArgs e)
     (
         / / Code that runs when an error occurs Unhandled

         HttpContext.Current.Server.Transfer ( "~ / error.aspx");

     )

The problem there are exceptions that are not managed (a reference not found)
I tried also with the web.config file a section customeError and it works not

Thankx



Read Full article Here.

No comments:

Post a Comment

Post your comments here:

Originals Enjoy