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

前端 未结 2 1267
面向向阳花
面向向阳花 2021-02-03 18:33

I am trying to setup my development environment in Windows7 and am having trouble getting IIS to work. I have set everything up like I have been doing since IIS6 so I have the

2条回答
  •  忘掉有多难
    2021-02-03 19:32

    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

提交回复
热议问题