7/14/2015 6:27:15 PM

If you try to upload large files in a default .NET website, you may get an error like the one below. To fix this, you must update the web.config to allow for large file uploads.

HTTP Error 404.13 - Not Found

The request filtering module is configured to deny a request that exceeds the request content length.

<system.web> <httpRuntime maxRequestLength="2097152" /> </system.web> <system.webServer> <security> <requestFiltering> <requestLimits maxAllowedContentLength="2147483648" /> </requestFiltering> </security> </system.webServer>