IIS 中的 ASP 页面使用 Localhost 401.3 错误没有权限 [英] ASP pages in IIS using Localhost 401.3 Error do not have permission

查看:14
本文介绍了IIS 中的 ASP 页面使用 Localhost 401.3 错误没有权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装了 IIS,所以我可以在浏览器中查看 asp 文件,但是当我将地址放入浏览器时:http://localhost/index.asp 我收到一个错误.

I have just installed the IIS so I can view asp files in a browser but when I put the address in a browser as : http://localhost/index.asp I get an error.

错误显示:

HTTP 错误 401.3 - 未经授权由于 Web 服务器上此资源的访问控制列表 (ACL) 配置或加密设置,您无权查看此目录或页面.

HTTP Error 401.3 - Unauthorized 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.

我真的需要解决这个问题,我非常感谢您对此提出任何建议.

I really need to get this sorted out, I would highly appreciate any advice on this.

推荐答案

好的,在这里凭记忆工作,因为我不在 Windows 机器前.

OK, working from memory here as I am not in front of a Windows machine.

如果您右键单击您的 webroot 文件夹/inetpub/wwwroot/或您正在处理的网站目录,打开属性并选择安全性,我认为是这样,您将看到具有该文件夹权限的用户列表.有一个用于添加新用户的部分,您可以在其中添加 IIS_IUSRS 帐户(如果需要,请从用户列表中搜索),这将是启用匿名身份验证时使用的默认用户.为该帐户授予相关权限(读取、写入、执行),确保您适用于文件和子文件夹.在 IIS 中刷新网站,您应该会顺利进行.

If you right click on your webroot folder /inetpub/wwwroot/ or the website directory you are working on open properties and select security, I think it is, you will see the list of users with their permissions for that folder. There is a section to add new users where you can add the IIS_IUSRS account (search from the list of users if you need to) which will be the default user used when anonymous authentication is enabled. Give this account the relevant permissions (read, write, execute) ensuring you apply to file and subfolders. Refresh the website in IIS and you should hopefully be good to go.

这篇关于IIS 中的 ASP 页面使用 Localhost 401.3 错误没有权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆