Installing ELMAH with Sitefinity

ELMAH: Error Logging Modules and Handlers for ASP.NET is a pretty awesome error logger. I've installed it on a couple sitefinity instances so I figured I'd blog about it to help some others with it.

If you've never seen it, here are a couple resources:

  1. Scott Hanselman
  2. Detailed Setup Document

It's an HttpModule which intercepts all crashes and logs them to a single table in your database, then provides a nice simple interface (and rss feed) to see the log items.

STEP 1

Web.Config Updates

STEP 2

SQL Script to create the table (included in the download file in the db folder)

STEP 3

Copy the Assemblies to your bin folder (ignore the SqlLite and VistaDB dlls)

Now you can visit https://www.yoursite.com/Sitefinity/elmah.axd, log in, and hopefully see no errors ;)

Ready to Start?

Let's Build Something Amazing Together

Ready to bring your vision to life? We specialize in creating stunning websites, mobile apps, and digital experiences that make an impact.

Accepting new clients
Free consultation
15+ years experience