There are many post on web with regards to this problem, but none of them are working in my case. Recently I had to re-install IIS due to the problem caused by windows update. Javascript files and images are working fine, but stylesheets give me 404 error. When I open the stylesheet itself in browser I can see only blank page.
Here is what I have checked:
- The
.css
MIME Type is set - IIS_IUSRS has correct permissions
- StaticFile Handler Mapping is enabled
- The stylesheet paths are definitely correct (existing project)
- Anonymous authentication is enabled and set to Application pool identity
- Removed staticContent section from
web.config
- Static Content is installed under Programs and Features
Note that I am trying to sort this problem on localhost, not the server.
Any hints appreciated.