Solution: CSS File cannot be loaded in IIS

198 views 1 comments posted at about 5 years ago Raymond Tang Fahao

本文介绍如何解决当.NET Web应用程序从IIS Express 迁移到IIS 7.0/7.5/8.0 以后页面的CSS文件无法被加载。

During development period, we can show our Web pages normally in IIS Express; but sometimes the CSS file cannot be loaded even you have already setup Static file handler in IIS.

Solution one: Install IIS Recomendation Configuration

Use Web Platform to install it. Refer to below link:

Solution 2: change StaticFile Hanlder Mappings in IIS

Change the Hanlder to:



Add comment

Comments (0)

No comments yet.
In this Page