title: System.Web.HttpException File does not exist - Page loads just fine (ASP.NET)
body: <p>I'm using Log4Net and logging everytime my ASP.NET-Application throws an error:</p>
  
  <pre><code>    protected void Application_Error(object sender, EventArgs e)
      {
          Exception ex = Server.GetLastError();
          Log.Error("An error occurred", ex);
      }
  </code></pre>
  
  <p>Alas, everytime I visit a page on my application, a <code>System.Web.HttpException</code> is caught, "File does not exist".</p>
  
  <p>Here's the Stack Trace:</p>
  
  <pre><code>bei System.Web.StaticFileHandler.GetFileInfo(String virtualPathWithPathInfo, String physicalPath, HttpResponse response)
  bei System.Web.StaticFileHandler.ProcessRequestInternal(HttpContext context, String overrideVirtualPath)
  bei System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state)
  bei System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
  bei System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)
  </code></pre>
  
  <p>I don't have any clue how to debug this, this happens on my ASP.NET Development Server and on an IIS 7.5 I deploy it on.</p>