IIS 7 and Above
IIS won't serve static files larger than 10KB
Last post Sep 02, 2020 06:28 AM by Jalpa Panchal
Jan 14, 2019 03:31 PM|never_again|LINK
I'm facing a strange issue with IIS on windows 10.
No static files larger than 10KB are served.
Even if I go and try to open the http://localhost/ to see the iisstart.htm page, the iisstart.png is not loaded.
Error in Chrome: Failed to load resource: net::ERR_CONNECTION_RESET (after ~40 seconds of "pending")
No failed requests logged (trying to catch all errors from 401 to 999).
Not a Chrome issue as same happens in FireFox and Edge too.
Tried to reinstall IIS to no avail.
Frustrated. Need help.
Thank you in advance.
Jan 15, 2019 06:25 AM|Jalpa Panchal|LINK
There are several places that control how much content you can send to the server.
So here are the two main places where the request length is set in IIS and ASP.NET:
IIS Request Filtering
IIS RequestFiltering requestLimits
Make sure you enable iis static content feature enable:
Jan 15, 2019 06:51 AM|never_again|LINK
Thank you for your reply.
Unfortunatelly it didn't help. Both of those "size" settings are set to default and look just like on your examples and of course static content is enabled.
Jan 25, 2019 07:50 AM|Jalpa Panchal|LINK
Could you tell us how you reinstall iis?
Feb 15, 2019 07:16 PM|sai_tejan|LINK
Hey hi did it work? what else did you try? If you possible trying enabling freb rules and post the logs here to check.
Jun 06, 2019 09:58 AM|idrisnacer|LINK
I have the same problem here.
It's not just about static files, I have an odata service.
It happened after I installed windows updates. before that it was working just fine.
If the response is bigger than 10kb, it’s not working.
Jun 06, 2019 04:06 PM|idrisnacer|LINK
I found that Windows Defender is causing the problem. try to disable it.
Problem solved for me.
Sep 02, 2020 06:20 AM|never_again|LINK
Hi, sorry it took me a while.
The IIS reinstall was performed via Windows Features - remove, clean all leftovers if any, restart, install again.
Sep 02, 2020 06:21 AM|never_again|LINK
sorry it took me a while.
Not my case unfortunatelly. Disabled antivirus (ESET in my case) to no avail. Can't get directly to the Windows Defender as it's overriden by ESET. Can't uninstall ESET for it's a company rule to have that thing installed.
Sep 02, 2020 06:28 AM|Jalpa Panchal|LINK
what is the current situation? what issue you are facing now and what you did?