I am trying to upload a file using C# and ASP.NET MVC, and I am getting this error:
HTTP Error 413.1 - Request Entity Too Large
The request filtering module is configured to deny a request that exceeds the request content length.
This is how I configure my web.config:
<system.web>
<authentication mode="None"/>
<compilation debug="true" targetFramework="4.7.2"/>
<httpRuntime targetFramework="4.7.2" executionTimeout="3600" maxRequestLength="104857600" enable="true"/>
</system.web>