I added a File Upload Control to my website but when I add a large file, I got this error:
The request filtering module is configured to deny a request that exceeds the request content length.
I searched and found a suggested solution was to add this code in the web config
<httpRuntime targetFramework="4.5" maxRequestLength="512000000"/>
and to edit the IIS application host Config and add this code to it
<maxAllowedContentLength="512000000"/>
I made all of these steps and it did not work. I still cannot upload a file larger than the max size.