4

我正在设置我们的服务器,以便我们可以在其上安装一个 ASP.Net Web 应用程序。

我右键单击 IIS7 管理器中的站点并选择添加虚拟目录,然后单击测试设置按钮,显示以下消息:

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 <domain>\<computer_name>$ has Read access to the physical path. 
Then test these settings again.

该消息没有告诉我们如何做这些事情。

我正在设置的服务器上安装了 Windows7 Home Premium。计算机设置为所有默认设置,并具有计算机名称,例如 MyComputer-PC(不是真实名称)。没有设置域。

你能告诉我们如何做消息中描述的事情吗?

4

3 回答 3

5

1) 转到 IIS,单击包含您的虚拟目录的 IIS 条目。右键单击基本设置以查看它正在使用哪个应用程序池。

2) 转到 IIS,转到应用程序池。右键单击您的应用程序池并检查高级设置 -> 身份属性以找出它正在使用的用户。

3) Go to the folder that your IIS Entry maps to, make sure that user is added to this directory. If you want to give it write permission, give it write. Otherwise, make give it read & execute is fine.

于 2012-10-30T15:18:16.590 回答
1

该信息非常清楚需要做什么。转到 IIS 的应用程序池部分并打开默认应用程序池的高级设置。检查 Identity 属性中指定的用户名。

转到您物理存储虚拟目录的位置,然后转到文件夹属性 -> 安全性。确保用户具有适当的访问权限。

于 2012-10-30T15:12:21.903 回答
0

基本上,如果您不打算将文件写入站点目录,则可以忽略此消息。

此消息意味着 IIS 无法检查它的系统 Windows 帐户是否对您的站点文件夹具有足够的权限。

于 2012-10-30T15:09:51.577 回答