IIS7 server can't load CSS style file how to solve

  
                  I just installed window7 on the company's computer and configured iis7. I found the structure of the website to be confusing, but the content display showed no problem at all, and there was no error. It is obvious that the css style file does not work. At first I thought it was the same as IIS6's MIME, and I didn't add it to the corresponding project, but I couldn't find IIS7 with MIME add option.

After a headache, I finally found a solution. It turned out that there was a project that was not installed when I installed IIS7.

The web service in the Internet Information Service in the window function is turned on or off => Common HTTP function => Static content, select it, as shown below:



Copyright © Windows knowledge All Rights Reserved