仅使用匿名访问时出现401.2错误

时间:2012-03-13 13:20:55

标签: web-services iis authentication iis-5

我有一个Web服务,如果我打开集成Windows身份验证,则会显示并运行主页。现在,如果我关闭它并且匿名访问打开,我甚至无法进入wsdl页面。我收到了错误

Access is denied.

Description: An error occurred while accessing the resources required to serve 
this request. The server may not be configured for access to the requested URL. 

Error message 401.2.: Unauthorized: Logon failed due to server configuration.
Verify that you have permission to view this directory or page based on the 
credentials you supplied and the authentication methods enabled on the Web server.        
Contact the Web server's administrator for additional assistance.

Version Information: Microsoft .NET Framework Version:2.0.50727.3625; ASP.NET    
Version:2.0.50727.3634

我正在使用的IIS是5.1

我现在让IUSER访问目录,完全控制。

我没有想法。谢谢你的帮助

1 个答案:

答案 0 :(得分:1)

此问题的根本原因与需要Windows身份验证的网站有关,但未选中IIS管理器中的HTTP保持活动状态。