title: resource not found instead of 413 request length exceeded
body: <p>My page, when I try to upload a large file (over 10MB) displays me:</p>
  <blockquote>
  <p>The resource you are looking for has been removed, had its name
  changed, or is temporarily unavailable.</p>
  </blockquote>
  <p>My web.config has this</p>
  <pre><code>&lt;httpRuntime requestValidationMode=&quot;2.0&quot; maxRequestLength=&quot;15000&quot; /&gt;
  </code></pre>
  <p>and</p>
  <pre><code>&lt;customErrors mode=&quot;RemoteOnly&quot; defaultRedirect=&quot;~/Errorhandling.aspx&quot;&gt;
        &lt;error statusCode=&quot;404&quot; redirect=&quot;~/NotFound.html&quot; /&gt;
         &lt;error statusCode=&quot;413&quot; redirect=&quot;~/TooBig.html&quot; /&gt;
  &lt;/customErrors&gt;
  </code></pre>
  <p>Why doesn't it redirect me to TooBig.html instead of displaying the afore-mentioned message?</p>
  <h3>Note</h3>
  <p>The default ASP.NET allows is 4MB, that's why I changed the <code>maxRequestLength</code> to 15000. (Changing it to 150000 does not make any difference at this point since I'm only testing with a maximum of 10MB)</p>