This post has been migrated from www.experimentsincode.com, we apologise if some of the images or content is missing

This most has been migrated, original date 14 Aug 2009 I am noting this here so I can quickly copy and paste the Elmah config. Add to configSections:
<sectionGroup name="elmah">
      <section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah"/>
      <section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah"/>
      <section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah"/>
      <section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah"/>
    </sectionGroup>
The ELMAH section:
<elmah>
    <errorLog type="Elmah.XmlFileErrorLog, Elmah" logPath="~/App_Data/errorLogs" />
    <security allowRemoteAccess="yes" />
</elmah>
The HTTPModule:
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah"/>
The HttpHandler
<add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah"/>