Solution: CSS File cannot be loaded in IIS

208 views 1 comments last modified about 6 years ago Raymond Tang Fahao

In this page

本文介绍如何解决当.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

Please login first to add comments.  Log in New user?  Register

Comments (0)

No comments yet.