maxRequestLenght is setting for IIS 6.0. The IIS 7.0 uses setting maxAllowedContentLength to set max request length.
You should add more config to root level like this:
<system.web> <httpRuntime maxRequestLength="2097152" /> </system.web> <system.webServer> <security> <requestFiltering> <requestLimits maxAllowedContentLength="2147483648" /> </requestFiltering> </security> </system.webServer>
To add to Binhs answer, just a small clarification: maxRequestLength value is in kilobytes AND maxAllowedContentLength is in bytes.
Links to MS documentation:
So for example if you want to limit uploads to 500MB then:
I am trying to export Media assets from my local environment to dev environment in my DXC.when I am trying to import the zip file which i have exported from the local environment in DXC I am getting failure message.It is almost 400 MB.I tried to increase maxRequestLength parameter in Web.config but no luck.As maxRequestLength is int32 my request size is beyond that limit.Can any one help me with this?