加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

asp.net – 在IIS7上设置虚拟目录

发布时间:2020-12-16 06:48:08 所属栏目:asp.Net 来源:网络整理
导读:我正在设置我们的服务器,以便我们可以在其上安装ASP.Net Web应用程序. 我右键单击IIS7管理器中的站点并选择添加虚拟目录,然后单击“测试设置”按钮,显示以下消息: The server is configured to use pass-through authentication with a built-in account to
我正在设置我们的服务器,以便我们可以在其上安装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(不是真实姓名).没有域名设置.

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

解决方法

1)转到IIS,单击包含虚拟目录的IIS条目.在右键单击“基本设置”以查看它正在使用的appliatino池.

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

3)转到IIS条目映射到的文件夹,确保将用户添加到此目录.如果你想给它写权限,请给它写.否则,请给它读取&执行很好.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读