IIS 8.5 is not serving JS, CSS, and Image files (static content)

前端 未结 5 1128
我寻月下人不归
我寻月下人不归 2021-01-07 23:13

The problem

We\'re running IIS on Windows 8.1 with Update. We\'re at the Orchard CMS first time setup screen, and IIS is giving 401s for all static content. We hav

5条回答
  •  萌比男神i
    2021-01-07 23:43

    I had a similar problem. Under authentication, I right clicked "Anonymous Authentication" and clicked "Edit". That shows a dialog giving you the ability to set the identity of the anonymous user. I set it to "Application pool identity" and that fixed the problem for me.

    IIS Anonymous Authentication Credentials Dialog.

    This may not be the most secure configuration though, but I'm on a dev server so I don't care.

提交回复
热议问题