IIS File authorization failed for the request

前端 未结 4 1280
野趣味
野趣味 2021-01-20 01:04

I am trying to access a webpage on our local web server. When I browse to the page I get the windows auth challange. Even if i try to enter my credentials it keeps asking ag

相关标签:
4条回答
  • 2021-01-20 01:49

    For what it's worth, the comment from @J-man (to the "Add Everyone worked for me..." answer) suggesting to add "Users" local machine account ultimately worked for me after following the marked answer's adding of the other local machine accounts. Here's the link he provided as well.

    0 讨论(0)
  • 2021-01-20 01:54

    Be sure all IIS related users have access, heres some:

    • iisservice
    • IUSR
    • IIS_IUSRS
    • Network Service

    Also if your using websitepanel be sure to allow its users too.

    0 讨论(0)
  • 2021-01-20 02:05

    Give read access to

    IIS AppPool\YourAppPool

    on the root folder of the website.

    0 讨论(0)
  • 2021-01-20 02:05

    I couldn't get it to work until I gave Everyone access.

    1. Open Windows Explorer
    2. Select the website folder e.g. C:\inetpub\wwwroot\MyWebsite.
    3. Right click the file and select "Properties"
    4. Select the "Security" tab
    5. Click the "Edit" and then "Add" button
    6. Click the "Locations" button and make sure you select the local machine. (Not the Windows domain if the server belongs to one.)
    7. "Enter the object names to select:" text box enter Everyone.
    8. Click the "Check Names" button and click "OK".
    0 讨论(0)
提交回复
热议问题