ELMAH still a great error logger for ASP.NET
Monday, January 28, 2008

For those of you ASP.NET developers who haven't tried (or, somehow, haven't heard of) Elmah as a solution for error logging: version 2, which has been around since last year, is still great.

Implemented as an HTTP Handler, it provides a clean way to log and review any unhandled errors thrown by your ASP.NET application. I prefer the SQL Server storage method (a single table and some stored procedures), but XML is an option. Run the script in your database, add some entries to the web.config file, drop the DLL in your bin directory, and you're good to go. The handler provides access to an error review page, which shows the detailed error information, as if you had been running the application and the error was thrown in front of you (i.e. it mimics the standard ASP.NET detailed error page).

It even provides an RSS feed to the error log. Highly useful! Again, if you haven't tried it, I highly recommend it. It's easy and quick to setup, and may save you a ton of headache in the future. You can find the binaries and the source code here: http://code.google.com/p/elmah/



Tags: asp.net, elmah, error logging, error handling, http handler  |  Category: Coding  |  Permalink  |   0 Comments »

  AddThis Feed Button

 leave a comment

  Name   

  Email (never shown, just to prevent spam) 

  Website (optional)

  Comment 

  

 

 comments

widget things

Coming Soon! Widgets for your office intranet or group website...

blog things

find blog posts in the following categories...

»Tech
»Coding
»Web
»Music
»Movies/TV
»Books
»Games

recent posts

»GooPinion - Yahoo BOSS running on Google App Engine  

»Microsoft Acquisition of Yahoo  

»Iron Man TV Spot  

»ELMAH still a great error logger for ASP.NET  

»Star Trek XI - Trailer and Viral Site  

tag cloud

asp.net   Bluray   books   boss   browser   C#   daily show   development   elmah   enterprise   error handling   error logging   games   google   goopinion   Hancock   HD DVD   html   http handler   Hulu   incredible hulk   iron man   jj abrams   software   yahoo  

search blog