IIS 7.5 under Win7 Prof. 64bit Returning Blank Page (No HTML at all) IIS 7.5 under Win7 Prof. 64bit Returning Blank Page (No HTML at all) windows windows

IIS 7.5 under Win7 Prof. 64bit Returning Blank Page (No HTML at all)


I solved it. For anybody else having the issue, here is what I did.

First to replicate the issue: I was installing IIS by choose "ASP.NET" in the Add/Remove Windows features menus. This was selecting everything needed for IIS to run .NET apps, but interestingly it couldn't serve static pages (.html, css, js etc.) My test page was just a hello world .html page, so that is why it wasn't being served.

To fix it: To enable serving of Static content you must specifically choose "Static Content" under Common HTTP Features in the same Add/Remove Windows Features list. Once you do this my test page worked fine.

In summary: I don't understand how a typical .NET would run without static content (CSS, Images, Javascript), so I don't know why MS wouldn't include Static Content by default when choosing ASP.NET. Perhaps my workflow in installing IIS was wrong.

I'm sure there was a way to trace the flow of the request to find static content requests were getting blocked, but I don't know how to do that.


Matt Cofer's resolution is correct: in order to view static content you must have installed the Static Content feature during your initial installation. However, I found that Add/Remove features did not work for me: it only showed a subset of features and nothing to do with IIS.

So... here's another way to install Static Content:

  1. Open Server Manager
    • Start Menu > type "server manager" in search field > click resulting link
  2. Expand the Roles node
  3. Right-click Web Server (IIS) node to view context menu
  4. Select Add Role Services from the context menu
  5. When the Add Role Services window opens, navigate to Web Server > Common HTTP Features
  6. Enable Static Content
  7. Click Next