Saturday, August 19

ASP.NET Custom Error Pages

I came across this article about ASP.NET custom error pages while trying to trap exceptions before the user sees them. I needed to implement a global exception handler plus a way to redirect the user to a generic error page in case of uncaught exceptions.

This helped in trapping uncaught application, Page exceptions

Point to Note

should be commented in
OnError event of base page

in case we want the user to be redirected to a custom error page as set in web.config

Comments: Post a Comment

Subscribe to Post Comments [Atom]

<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]