The caller was not authenticated by the service
2009-03-16 17:58
477 查看
调用WCF时,出现下面的错误:
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.
解决方法:
将 binding="wsHttpBinding" 改为:binding="basicHttpBinding"
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.
解决方法:
将 binding="wsHttpBinding" 改为:binding="basicHttpBinding"
相关文章推荐
- wcf访问出现的安全问题:the caller was not authenticated by the service.
- WCF:The caller was not authenticated by the service. ---> System.ServiceModel.FaultException: The request for security token could not be satisfied because authentication failed.
- wcf访问出现的安全问题:the caller was not authenticated by the service.
- WCF,The caller was not authenticated by the service
- WCF分布式开发常见错误(22):The caller was not authenticated...如何在XP系统为WCF设置可信任的证书
- WCF分布式开发常见错误(22):The caller was not authenticated...如何在XP系统为WCF设置可信任的证书
- [转]The Citrix MetaFrame servers cannot process your request at this time. The Citrix XML Service object was not found.
- A rowset based on the SQL command was not returned by the OLE DB provider
- ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
- ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
- [转]The Citrix MetaFrame servers cannot process your request at this time. The Citrix XML Service object was not found.
- 连接数据库时的异常:TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: localhost:1521:orc
- The SMTP server requires a secure connection or the client was not authenticated
- 解决Azure publish “the remote desktop configuration was not generated by windows azure Tools”问题
- robot framework连接Oracle错误:ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
- The request was denied by service delegate (SBMainWorkspace) for reason: Security ("Entitlement "com.apple.frontboard.debugapplications" required to launch applications for debugging").
- no appropriate service handler found The Connection descriptor used by the client was: localhost:1521:myorcl
- Error : The specified component was not reported by the VSS writer (Error 517) in Windows Server 2012 Backup
- MyEclipse的Service视图框报错:Could not create the view: An unexpected exception was thrown z
- The request was denied by service delegate (SBMainWorkspace) for reason: Security ("Entitlement "com