摘要:
错误内容:The server has rejected the client credentials.问题:WCF客户端存在域时,客户端通过TCP调用服务器端会报告此问题。解决:设置前台和后台的NetTcpBinding:NetTcpBinding binding = new NetTcpBinding();binding.Security.Mode = SecurityMode.None;binding.Security.Transport.ClientCredentialType = TcpClientCredentialType.None; 阅读全文