The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the serv

来源:互联网 发布:dns cache 域名劫持 编辑:程序博客网 时间:2024/05/17 23:16

The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate,NTLM'.

 

解决方案

 

1 配置IIS

网站->属性->目录安全性->身份验证方法: 同时选中”匿名访问”和”集成Windows身份验证”

 

2 配置WCF客户端的Config文件: 有3处地方: 1)security mode, 2)end point的behaviorConfiguration, 3)behaviors

 

原创粉丝点击