Wednesday, October 26, 2011

Change Upload limit web.config

To change the upload limit in web.config


<!-- maxRequestLength is in KB -->
<system.web>
<httpRuntime maxRequestLength="204800" executionTimeout="99999"/>
</system.web>

If the server is iis 7 or above, also put this:
<!-- maxAllowedContentLength is in Bytes! -->
<system.webServer>
    <security>
<requestFiltering>
<requestLimits maxAllowedContentLength="524288000"/>
</requestFiltering>
</security>
</system.webServer>


No comments:

Post a Comment