title: Why are uploaded files to ASP.NET web Application greater than 12MB being shown as 0MB?
body: <p>Our ASP.NET C# web application is used in the following environment
  - .NET Framework 4
  - IIS 7
  - Windows 2008 
  - Visual Studio 2010 .NET IDE
  - C#
  - HTTPS ( SSL )
  Our ASP.NET C# web application uploads various files like jpgs, mp4, mp3, pngs, docx, txt, etc to a folder called ClientBin.
  However, if we deploy the application to an IIS7 server, we have to give the web user of our application permission to upload file.
  We give the \IIS_IUSRS group permission to execute, read, write and execute on our ClientBin upload folder.</p>
  
  <p>A web user can upload files that have size less than approximately 12MB.</p>
  
  <p>However, when a web user uploads any more than approximately 12MB, the file that gets uploaded will be 0 bytes on the server's ClientBin upload folder.</p>
  
  <p>In our Web.config, we have the following configurations for httpRuntime tag:</p>
  
  <pre><code>&lt;system.web&gt;
    ...
    .....
    ........
    ..............
    &lt;httpRuntime maxRequestLength="1048576" executionTimeout="50000"
         useFullyQualifiedRedirectUrl="false" requestLengthDiskThreshold="15360"
         minFreeThreads="8" minLocalRequestFreeThreads="4"
         appRequestQueueLimit="100" /&gt;
  &lt;/system.web&gt;
  </code></pre>
  
  <p>In our Web.config, we have the following configurations for <code>requestLimits</code> tag:</p>
  
  <pre><code>&lt;system.webServer&gt;
    ..............
    .........................
    &lt;security&gt;
      &lt;requestFiltering&gt;
        &lt;requestLimits maxAllowedContentLength="2000000000" /&gt;
        &lt;fileExtensions&gt;
          &lt;add fileExtension=".aspx" allowed="true" /&gt;
        &lt;/fileExtensions&gt;
      &lt;/requestFiltering&gt;
    &lt;/security&gt;
  &lt;/system.webServer&gt;
  </code></pre>
  
  <p>I also took the undesired approach of modifying the machine.config file by creating the following settings:</p>
  
  <pre><code>&lt;system.web&gt;
    &lt;processModel responseDeadlockInterval="0:09:00"
                                    responseRestartDeadlockInterval="0:09:00" /&gt;
    .....................
    ..........................................
    .............................................................
  &lt;/system.web&gt;
  </code></pre>
  
  <p>I also took the following steps:
  I checked Event Viewer and IIS Logs but it failed to show strange.</p>
  
  <p>Files that have a size of anything less than approximately 12 MB gets uploaded properly.</p>
  
  <p>It is important to note that the files do get uploaded, but it all ends up 0Kb.  The file name and type that gets uploaded is the same as the one on my desktop but the size is 0Kb.  The one on my desktop is approximately 75MB.</p>
  
  <p>ASP.NET and IIS don't throw any error pages.</p>
  
  <p>Why are uploaded files to ASP.NET web Application greater than 12MB being shown as 0MB ?</p>