Unauthorized access error to html pages in IIS 7.0

后端 未结 5 792
广开言路
广开言路 2021-02-06 03:02

I am using VSTS 2008 + C# + .Net 3.5 + IIS 7.0. I have created a new web site and put an html file into the directory. And when I use browse function in IIS manager to browse th

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-06 03:29

    I had the same problem, but neither of the suggested fixes solved my problem. I was trying to deploy an ASP.Net 4.0 web application with Forms Authentication on IIS7 on Windows Server 2008. What solved the problem was providing read and script permissions to the handlers, which can be accomplished by opening Handler Mappings and then selecting "Edit Feature Permissions" from the right menu.

提交回复
热议问题