max File size can upload to ASp.net servers

- default upload file size if 4MB
- To increase it, please use this below section in your web.config
- Max value to upload : 2,147,483,647 = 2GB

<configuration>
    <system.web>
        <httpRuntime maxRequestLength="2147483647" />
    </system.web>
</configuration>

- Max value to upload: 4,294,967,295 = 4GB
- you can upload Files more than 2GB use below code :

<system.webServer>
   <security>
      <requestFiltering>
         <requestLimits maxAllowedContentLength="4294967295" />
      </requestFiltering>
   </security>
 </system.webServer>

Comments

Popular posts from this blog

C# Crop white space from around the image

Could not load file or assembly 'Microsoft.ReportViewer.Common, Version=xx.0.0.0, Culture=neutral, PublicKeyToken='xxx' or one of its dependencies.

The specified version string contains wildcards, which are not compatible with determinism.