Handling IIS Error Codes gracefully with an httpModule

I have been pretty busy lately and the last week has flown by on me. I have been spending some of my time writing some interesting httpModules that I will share with you in the coming weeks. But as I was reading through the MSDN blogs this afternoon I stumbled upon this interesting little entry by Rahul Soni titled Customize errors which are not captured by customErrors in ASP.NET 2.0. In this entry Rahul explains a problem where the status Code 500, Internal Server Error does not redirect to the specified error page. He solves this problem with a simple httpModule. As he described the problem I was thinking that is exactly how I would have handled the situation too!

Share This Article With Your Friends!