I have been using a module for Error Logging and Notification released on GotDotNet, called ELMAH. ELMAH is a great behind-the-scenes module for ASP.NET that is quickly added to your project’s /bin folder, add a handler in your web.config and run a script to create a table in your database.
ELMAH logs errors to my SQL Server Database and allows me to quickly know if an error has occurred. I can also configure the module to email me to get early notification. I have been using ELMAH for the past year or so and would be lost without it. The latest release is built for ASP.NET 2.0. I used the one built for ASP.NET 1.1 without any problems. The new version has some nice updates like using System.Net.Mail instead of the troublesome CDONTS.
Here you can see a sample of the error reporting:
Please give ELMAH a try, it’s well worth the few minutes to set it up.
Technorati Tags: ASP.NET