Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

how to upload big file #9241


User avatar
0
Simonlum created

This error occurs when files are too large, but not when small file,i upload 40M file ,the error will occur


2 Answer(s)
  • User Avatar
    0
    musa.demir created

    It is not about zero. You can handle it in many way. For example you can add web config file. web.config

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
      <system.web>
        <!-- ~ 2GB -->
        <httpRuntime maxRequestLength="2147483647" />
      </system.web>
      <system.webServer>
        <security>
          <requestFiltering>
            <!-- ~ 4GB -->
            <requestLimits maxAllowedContentLength="4294967295" />
          </requestFiltering>
        </security>
      </system.webServer>
    </configuration>
    

    Or you can go to iss server settings and change it manually.

  • User Avatar
    0
    Simonlum created

    It worked. Thank you