我试图简单地运行一个本地网站,其中使用IIS sime基本的HTML文件。 通过IIS管理器,我创建了一个新网站,并使用HTML文件设置了目录的物理路径。 然而,当我输入的物理路径,我得到以下警告:IIS身份验证错误
The server is configured to use pass-through authentication with a built-in account to access the specified physical path. However, IIS Manager cannot verify whether the built-in account has access. Make sure that the application pool identity has Read access to the physical path. If this server is joined to a domain, and the application pool identity is NetworkService or LocalSystem, verify that \$ has Read access to the physical path. Then test these settings again.
现在,当我通过本地主机浏览到该网站,我得到下面的未经授权的错误:
You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server.
这是怎么回事?当我右键点击我的文件夹时,我似乎已经可以访问每个人。我没有做任何特定的IIS更改,因此可能是什么问题?编辑: 人我不能相信这一点。我的情况非常简单(我只想在本地主机上显示一些HTML文件),它应该需要ZERO配置。但是IIS无法满足需求。
编辑:我认为每个人都应该有权限到我的文件夹。以下是该文件夹的权限屏幕的图片:
您是否在给每个人授予读取文件夹访问权限后重置了应用程序池/ IIS? –
@PankajKapare我没有改变我的文件夹设置,因为它似乎每个人都有访问权限。我在我的问题中添加了我的文件夹权限屏幕的图片。它应该给每个人访问权利? – JensOlsen112
它会为文件共享,是的。但是这是一个服务器问题,你还需要为它配置IIS。 –