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 - 未经授权
基础教程推荐
- rabbitmq 的 REST API 2022-01-01
- 将 XML 转换为通用列表 2022-01-01
- MS Visual Studio .NET 的替代品 2022-01-01
- 将 Office 安装到 Windows 容器 (servercore:ltsc2019) 失败,错误代码为 17002 2022-01-01
- 有没有办法忽略 2GB 文件上传的 maxRequestLength 限制? 2022-01-01
- 如何在 IDE 中获取 Xamarin Studio C# 输出? 2022-01-01
- 为什么Flurl.Http DownloadFileAsync/Http客户端GetAsync需要 2022-09-30
- c# Math.Sqrt 实现 2022-01-01
- 如何激活MC67中的红灯 2022-01-01
- SSE 浮点算术是否可重现? 2022-01-01