1

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.

Morpheus
  • 8,829
  • 13
  • 51
  • 77

1 Answers1

0

okay as it is really unclear about why iis does not load style sheets. I would recommend you to install fiddler (a web debugging tool ) and do a debug to see if your css file actually gets requested or not or are you receiving a 404 error .