HTTP 错误 401.3 - 未经授权

HTTP Error 401.3 - Unauthorized(HTTP 错误 401.3 - 未经授权)
本文介绍了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 - 未经授权的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

c# Generic Setlt;Tgt; implementation to access objects by type(按类型访问对象的C#泛型集实现)
InvalidOperationException When using Context Injection in ASP.Net Core(在ASP.NET核心中使用上下文注入时发生InvalidOperationException)
how do i pass parameters to aspnet reportviewer(如何将参数传递给aspnet report查看器)
Bind multiple parameters from route and body to a model in ASP.NET Core(在ASP.NET Core中将路由和主体中的多个参数绑定到一个模型)
Custom model binding in AspNet Core WebApi?(AspNet Core WebApi中的自定义模型绑定?)
How to minify in .net core mvc view?(如何在.Net核心MVC视图中缩小?)