I encountered this while uploading a large file to an ASP.NET handler, seems like there’s a default limit of ~30MB for a single request in IIS7 on Windows 7.After some researching, I found that there’s a setting inside <system.webServer> other than the regular limit in <httpRuntime maxRequestLength=".."/> (god and MS know why the duplication). To fix that do one of the following:Option 1: Add to your Web.config the following code, under the appropriate nodes:<system.webServer>
Read more: Devign
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="2147483648" />
</requestFiltering>
</security></system.webServer>
Read more: Devign
0 comments:
Post a Comment