Wayne Barron
asked on
IIS - Request filtering is configured on the Web server to deny the request because the content length exceeds the configured value.
I am getting the following error when I upload multiple files to the server.
I am uploading MP3 files.
If I do 1 to 4, it is fine.
But anything from 5 and up, it gives the error.
The files are less than 5mb in size each.
web.config (In all WebCore servers)
But still, the same error.
Does anyone have any advice they can share with me on this issue?
I have done and tried everything I could find online and nothing works.
I've had this running flawlessly before, I'm talking a few months ago before we lost everything and had to rebuild the Server Farm from scratch again.
And since then, different things have stopped working that used to work.
Components that use to work on the old 2016 DC (The DC was about 3 yrs old)
With the new 2016 DC, stuff has just not been working properly.
I don't THINK the DC would have anything to do with this issue here, at least, I don't think it would.
I am uploading MP3 files.
If I do 1 to 4, it is fine.
But anything from 5 and up, it gives the error.
The files are less than 5mb in size each.
HTTP Error 404.13 - Not Found The request filtering module is configured to deny a request that exceeds the request content length.
Most likely causes: Request filtering is configured on the Web server to deny the request because the content length exceeds the configured value.
Things you can try: Verify the configuration/system.webServer/secur ity/reques tFiltering /requestLi mits@maxAl lowedConte ntLength setting in the applicationhost.config or web.config file.
web.config (In all WebCore servers)
<httpRuntime executionTimeout="180" maxRequestLength="1048576" shutdownTimeout="90" />
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="1073741824" />
</requestFiltering>
</security>
In the ARR and Web Servers ApplicationHost.config<security>
<requestFiltering>
<requestLimits maxAllowedContentLength ="1073741824" />
</requestFiltering>
</security>
I found an article on this issue, and I tried what was mentioned which is this.appcmd.exe unlock config -section:system.webServer/security/requestFiltering
I then found this and applied it to all the servers as well.appcmd set config -section:requestFiltering -requestLimits.maxAllowedContentLength:1000000
Restarted IISnet stop wmsvc
net start wmsvc
But still, the same error.
Does anyone have any advice they can share with me on this issue?
I have done and tried everything I could find online and nothing works.
I've had this running flawlessly before, I'm talking a few months ago before we lost everything and had to rebuild the Server Farm from scratch again.
And since then, different things have stopped working that used to work.
Components that use to work on the old 2016 DC (The DC was about 3 yrs old)
With the new 2016 DC, stuff has just not been working properly.
I don't THINK the DC would have anything to do with this issue here, at least, I don't think it would.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.