I am trying to configure ELMAH to register errors for our application. I have successfully added the modules and I have no problem loading the ErrorLog page (elmah.axd). However, Elmah does not register any test exceptions that I generate.
My web.config looks like this:
<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"/>
</sectionGroup>
</configSections>
<elmah>
<errorLog type="Elmah.XmlFileErrorLog, Elmah" logPath="~/App_Data" />
</elmah>
<httpHandlers>
<add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah"/>
</httpHandlers>
<httpModules>
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah"/>
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah"/>
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah"/>
</httpModules>
Clicking on the check exclusions page http://localhost/elmah.axd/testcreates a yellow < DotNetSlackers screen . I see nothing wrong. Is there something I'm missing? I also tried to generate errors using Signaling , but this does not work either.
I run this against DotNetNuke, and therefore, when I now think that the problem lies.