HTTP Error 401.3 - Unauthorized(HTTP 错误 401.3 - 未经授权)
问题描述
我在 Windows 7 和 IIS 7.5 中新创建的网站中遇到此错误.我创建了一个 SSL 证书并绑定了新网站.
I am getting this errror in my newly created website in Windows 7 and IIS 7.5. I created an SSL certificate and done binding new website.
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.
在创建网站之前,我在添加网站"对话框中选择了应用程序用户(通过身份验证)".当我单击测试设置..."按钮时,我收到以下错误消息:
Earlier when I created the website, I selected 'application user(pass through authentication)' in 'Add Website' dialogue. and when I click "Test Settings ..." button, I get this error message:
服务器配置为使用带有内置帐户的直通身份验证来访问指定的物理路径.但是,IIS 管理器无法验证内置帐户是否具有访问权限.确保应用程序池标识对物理路径具有读取权限.如果此服务器已加入域,并且应用程序池标识为 NetworkService 或 LocalSystem,请验证 $ 是否具有对物理路径的读取访问权限.然后再次测试这些设置.
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.
请提出解决方案.
谢谢.
推荐答案
确保您的网站和网站的应用程序池都在相同的身份下运行.然后确保此身份对虚拟目录具有所需的权限.我有完全相同的问题,以上两项检查修复了它.
Make sure that application pool of your website and website both are running under the same identity. Then make sure that this identity has required permissions on the virtual directory. I had exact same issue and above two checks fixed it.
这篇关于HTTP 错误 401.3 - 未经授权的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:HTTP 错误 401.3 - 未经授权


- 如何用自己压缩一个 IEnumerable 2022-01-01
- MoreLinq maxBy vs LINQ max + where 2022-01-01
- C# 中多线程网络服务器的模式 2022-01-01
- Web Api 中的 Swagger .netcore 3.1,使用 swagger UI 设置日期时间格式 2022-01-01
- C#MongoDB使用Builders查找派生对象 2022-09-04
- 输入按键事件处理程序 2022-01-01
- 良好实践:如何重用 .csproj 和 .sln 文件来为 CI 创建 2022-01-01
- WebMatrix WebSecurity PasswordSalt 2022-01-01
- 在哪里可以找到使用中的C#/XML文档注释的好例子? 2022-01-01
- 带有服务/守护程序应用程序的 Microsoft Graph CSharp SDK 和 OneDrive for Business - 配额方面返回 null 2022-01-01