尝试从另一台服务器调用我的服务时,我收到以下错误消息。
Service cannot be started.
System.ServiceModel.Security.SecurityNegotiationException:
The caller was not authenticated by the service. --->
System.ServiceModel.FaultException:
The request for security token could not be satisfied because authentication failed.
当我尝试将客户端连接到服务器时,在我的事件查看器中。
我在服务器中启用了跟踪,它看起来像
System.IdentityModel.Tokens.SecurityTokenValidationException
正在被抛出。消息显示“该服务不允许您匿名登录。”
我检查了 IIS -> WCF 网站,我确实启用了“启用匿名访问”。
我错过了什么?