title: Getting HTTP Error remotely instead of 'Connection was reset message'
body: <p>On an ASP.NET Web Application I have an upload file functionality. I'm restricting the file size up to 10 MB by configuring the inside web.config the <strong>maxAllowedContentLength</strong> attribute. (I'm using IIs 7.0 BTW).</p>
  
  <p>It get the desired HTTP Error when I access the application from the local machine:</p>
  
  <p>HTTP Error 404.13 - Not Found
  The request filtering module is configured to deny a request that exceeds the request content length.</p>
  
  <p>When I access the application from another machine I get</p>
  
  <p>The connection was reset
  The connection to the server was reset while the page was loading.</p>
  
  <p>How can I get a more descriptive error when my application is accessed remotely?</p>
  
  <p>Thanks,</p>
  
  <p>Maria.</p>