迁移到 IIS7 后出现 401.2
我们有一个应该完全开放并可供所有人使用的网站。它托管多个 Web 服务。它被配置为匿名身份验证。我正在将其从 IIS 6 服务器迁移到 IIS7 服务器(使用新的 url,两个站点在过渡期间都应处于活动状态)。我尝试访问新服务器上的站点时收到 401.2 错误。这怎么可能,我该如何解决?
We have a website that is supposed to be fully open an available to everyone. It hosts several web services. It is configured for anonymous authentication. I am migrating it from an IIS 6 server to an IIS7 server (with a new url, both sites should be active during the transition). I am getting a 401.2 error trying to access the site on the new server. How is this possible, and how can I fix it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以设置匿名身份验证,并且必须检查 .net 授权部分中的拒绝规则,以确保您的应用程序可以访问所有用户。
如果您有任何其他身份验证,那么它也必须有效,您可以在日志文件夹中详细查看错误。
You can set anonymous authentication on and must check out the deny rule in .net authorization part to be sure your application has access to all user.
If you are having any other authentication then also it must work you can check out your error in details in the Log folder.