I seem to be having an awful lot of trouble with error handling in ASP.NET when it should be pretty simple.
I have an Application_OnError Sub in the Global.asax file that sends the error message to me then redirects to the generic error page.
I also have the Custom Errors turned on in the web.config file which redirects to the same generic error page.
This works fine if I have a compilation error, but if I have a run time error the application_onError does not fire and it goes straight to the default error page.
Any help appreciated.
Cheers
Vicky....
"I used to have a handle on life...then it broke
I have an Application_OnError Sub in the Global.asax file that sends the error message to me then redirects to the generic error page.
I also have the Custom Errors turned on in the web.config file which redirects to the same generic error page.
This works fine if I have a compilation error, but if I have a run time error the application_onError does not fire and it goes straight to the default error page.
Any help appreciated.
Cheers
Vicky....
"I used to have a handle on life...then it broke