title: Help with Elmah Configuration in ASP.NET
body: <p>I'm trying to setup <a href="http://code.google.com/p/elmah/" rel="noreferrer">ELMAH</a> to log errors for our application.  I have successfully added the modules and am having no problems loading the ErrorLog page (elmah.axd).  However, Elmah isn't logging any test exceptions that I'm generating.</p>
  
  <p>My web.config looks like this:</p>
  
  <pre><code>&lt;configSections&gt;
      &lt;!-- Other stuff --&gt;
      &lt;sectionGroup name="elmah"&gt;
          &lt;section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah"/&gt;
          &lt;section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah"/&gt;
          &lt;section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah"/&gt;
      &lt;/sectionGroup&gt;
  &lt;/configSections&gt;
  
  &lt;elmah&gt;
      &lt;errorLog type="Elmah.XmlFileErrorLog, Elmah" logPath="~/App_Data" /&gt; 
  &lt;/elmah&gt; 
  
  &lt;httpHandlers&gt; 
      &lt;!-- Other stuff --&gt;
      &lt;add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah"/&gt;
  &lt;/httpHandlers&gt;
  
  &lt;httpModules&gt;
      &lt;!-- Other stuff --&gt;
      &lt;add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah"/&gt;
      &lt;add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah"/&gt;
      &lt;add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah"/&gt;
  &lt;/httpModules&gt;
  </code></pre>
  
  <p>Hitting the test exception page <code>http://localhost/elmah.axd/test</code> generates a <a href="http://en.wikipedia.org/wiki/Yellow_Screen_of_Death#ASP.NET" rel="noreferrer">yellow screen</a>, but no log entry. </p>
  
  <p>Between the sample provided and the tutorial on <a href="http://dotnetslackers.com/articles/aspnet/ErrorLoggingModulesAndHandlers.aspx" rel="noreferrer">DotNetSlackers</a> I can't see anything wrong.  Is there something I'm missing?  I've also attempted to generate errors via <a href="http://code.google.com/p/elmah/wiki/DotNetSlackersArticle#Error_Signaling" rel="noreferrer">Signaling</a>, but that's not working either.</p>
  
  <p>I am running this against DotNetNuke, and so that's where I'm currently thinking the problem lies.</p>