IIS 7 Windows Server 2008 / CSS file not loading within aspx

前端 未结 3 1089
误落风尘
误落风尘 2021-02-10 09:19

I\'ve found out several topics related to this issue yet I couldn\'t find an answer which worked for my problem, which is following: I moved my Asp.Net 4.0 site to a new server

3条回答
  •  南方客
    南方客 (楼主)
    2021-02-10 09:54

    The process of enabling Static Content on Windows 7 is different from that on Windows Server 2008.

    To install the Static Content feature on Windows Server 2008 and Windows Server 2008 R2, follow these steps:

    a. Open Server Manager, and then expand Roles. b. Right-click Web Server (IIS), and then click Add Role Services. c. Under Web Server, click to select the "Static Content" check box. d. Click Next to complete the installation.

    Here is the complete step by step guide for both situation for reference. http://support.microsoft.com/kb/2196177

提交回复
热议问题