Asp.net Unhandled Exception (Elmah)

My client asked to handle all unhandled exception and log then in sql database. Beside that they want to log handled exception too. So after some googling  i found an open source project for exception handling, ELMAH (Error Logging Modules and Handlers). I found it very easy to configure Elmah to the project, i forgot to say that the project is a Running project. There is no need to write and single code line, all about web.config configuration. I wrote some lines to log the handled exception and log them.

I do recommend you to try ELMAH.

 

No Comments