title: ASP.net HTTP 404 - File not found instead of MaxRequestLength exception
body: <p>I have a file upload control on my webpage. The maximum request length is set to 8 MB (<code>maxRequestLength = 8192</code>). I also have server validation that throws an error if the file is more than 4MB. The reason that its 8MB in the config is the leverage that's given to the user and also so that the application can be tested.</p>
  
  <p>If I upload a file that's 9MB, I get thrown an exception <em>Maximum request length exceeded.</em>, which is fine and working as expected. But when I try to upload a file that's 1GB, it shows me a <em>HTTP 404 - File not found</em>. Can someone please explain why this is happening and how can I get it to throw me a <em>maxRequestLength exception</em>?</p>
  
  <p>I'm using IIS6.</p>