title: asp.net mvc 3 and elmah.axd - yet another 404
body: <p>Hi all I know that this has been posted as a prior question several times, but I've gone through each question and their proposed solutions and I'm still not able to surmount my 404 issue. I'm running Elmah 1.1 32-bit. I've referred to <a href="https://stackoverflow.com/questions/2118248/asp-net-mvc-elmah-not-working-and-returning-404-page-for-elmah-axd">ASP.NET MVC - Elmah not working and returning 404 page for elmah.axd</a> but I haven't had any luck after applying the suggestions.</p>
  
  <p>I'm running ASP.NET MVC 3. Here's my web.config:</p>
  
  <p>
  ...</p>
  
  <pre><code>&lt;httpHandlers&gt;
    &lt;add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" /&gt;
  &lt;/httpHandlers&gt;
  &lt;httpModules&gt;
    &lt;add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah"/&gt;
    &lt;add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" /&gt;
    &lt;add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" /&gt;
  &lt;/httpModules&gt;
  </code></pre>
  
  <p>...
  </p>
  
  <p>
      </p>
  
  <pre><code>&lt;errorLog type="Elmah.SqlErrorLog, Elmah"
      connectionStringName="dbconn" /&gt;
  
      &lt;errorFilter&gt;
          &lt;test&gt;
              &lt;jscript&gt;
                  &lt;expression&gt;
                  &lt;![CDATA[
                  // @assembly mscorlib
                  // @assembly System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
                  // @import System.IO
                  // @import System.Web
  
                  HttpStatusCode == 404
                  || BaseException instanceof FileNotFoundException 
                  || BaseException instanceof HttpRequestValidationException
                  /* Using RegExp below (see http://msdn.microsoft.com/en-us/library/h6e2eb7w.aspx) */
                  || Context.Request.UserAgent.match(/crawler/i)                      
                  || Context.Request.ServerVariables['REMOTE_ADDR'] == '127.0.0.1' // IPv4 only
                  ]]&gt;
                  &lt;/expression&gt;
              &lt;/jscript&gt;
          &lt;/test&gt;
      &lt;/errorFilter&gt;
  </code></pre>
  
  <p></p>
  
  <p>
      
      
        
        
        
        
        
        
      
      
        
      </p>
  
  <p>I have my .axd routes ignored using:
              routes.IgnoreRoute("{resource}.axd/{*pathInfo}");</p>
  
  <p>I'm running the site on IIS7, 32 bit mode enabled. I've tried many different configuration options but all to no avail. Any ideas?</p>
  
  <p>Thanks
  Shan</p>