IIS 7.5 MVC requires authentication to get static files

后端 未结 3 1382
广开言路
广开言路 2021-02-20 09:47

I have just installed windows 7 and I\'m trying to get my MVC application that was working in IIS 7 working in IIS 7.5.

The problem I have is that when it tries to load

3条回答
  •  北荒
    北荒 (楼主)
    2021-02-20 10:03

    For me it ended up being specific static content files that required authentication, while other static content files did not require it. Turns out that those files were green in Windows Explorer. I went to properties, Advanced, on the files and turned off "Encrypt contents to secure data" and my problem was solved.

提交回复
热议问题