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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s