13 March 2012

Windows 7, IIS 7.5 Images, CSS not showing!

Web site having ASP.NET themes. Theme including a CSS file in it, the CSS file was linked in the generated HTML but clearly it was not applied. Putting the URL of the CSS file in the browser address bar would return an empty result in Firefox, and a crappy DOCTYPE,HTML,HEAD,BODY tags in IE. The same website works normally with other developers running Windows XP or Windows 7.
I tried change the website from custom Application Pool to default integrated pipeline one to default classic (IIS 6 like) one, but no use.
Here’s what the problem was:  
While installing IIS 7.5 for the first time, needed to choose  “Static Content” checked as well to display images in the website. 

No comments:

Post a Comment