ASP.NET File Upload Maximum request length exceeded

You can hit the error "Maximum request length exceeded" if you are attempting to upload large files with ASP.NET

The web.config setting below changes the max size to 100MB

<httpRuntime requestValidationMode="2.0" executionTimeout="240" maxRequestLength="102400"/>

Comments are closed