Monthly Archives: May 2012

IIS7: Page runs fine but cannot access (or zero byte) CSS nor JS files.

Symptom:
IIS7: Page runs fine but cannot access (or zero byte) CSS nor JS files.

Solution:
Enable “Static Content” feature.

Solution details:
1.) Control panel
2.) Search “Turn Windows features on or off”
3.) Enable the following:
– Internet Information Services -> Web Management Tools -> IIS Management Console
– Internet Information Services -> World Wide Web Services -> Application Development Features -> ASP.NET
– Internet Information Services -> World Wide Web Services -> Common HTTP Features -> Static Content

Notes:
This solution has been tested in Windows 7 SP1 64bit Ultimate

Advertisements