Users get an error which says "Request Entity Too Large" when trying to upload a file.
The file being upload is bigger than the IIS and ASP.Net request size limits, which are quite small by default.
Edit the ALIM website's web.config file and make the following two changes.
(1) ASP.Net limit:Alter the maxRequestLength field to be large enough in bytes to handle your request, as highlighted below.
<httpRuntime executionTimeout="900" maxRequestLength="1073741824" requestValidationMode="2.0" targetFramework="4.5"/>
(2) IIS limit:Alter the maxAllowedContentLength attribute to be large enough (in bytes) to handle your request. Add the highlighted below within the <requestFiltering> element.
<system.webServer> <security> <requestFiltering> <requestLimits maxAllowedContentLength="1073741824" /> </requestFiltering> </security> </system.webServer>
For more information please see the following links.