Posts

Showing posts from March, 2011

CSS and Javascript not loading in Asp.Net WebSite and WebApplication

Image
Today we came across a very strange and unique issue. The Asp.Net WebApplication has everything perfect and virtual directory and other configrations is perfect, but when we run the application, CSS and Javascript files were not included. The refrences and inlcude scripts were perfect and we cross checked everything. But in vain. Finally, we found the following solution from this Blog http://weblogs.asp.net/anasghanem/archive/2008/05/23/don-t-forget-to-check-quot-static-content-service-quot-in-iis7-installation.aspx?CommentPosted=true#commentmessage The contents of this Blog are as follows Don't forget to check "Static content service" in IIS7 installation Before a couple of days ,I started to work on Vista and IIS 7, and since the default installation for Vista doesn't includes IIS7, I started by trying to install IIS 7.So I went to control panel, Programs and features, then to " turns windows features on or off", After the dialog displayed , I nav