IIS 7.5 no images css js showing

Communitydm80提出了一个问题:IIS 7.5 no images css js showing,或许与您遇到的问题类似。

回答者dm80给出了该问题的处理方式:

Okay here's what I did to resolve my issue.

  1. Since my app files are in a file share the Anonymous user account couldn't access them. This is because by default IUSR account is used for Anoymous user. In IIS->Site->Authentication set Anonymous Authentication to Application Pool Identity if you have created a custom app pool OR you can specify an account.

  2. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\caspol.exe -m -ag 1 -url "file:////\computername\sharename*" FullTrust -exclusive on

希望本文对你有帮助,欢迎支持JavaScript中文网