日期:2014-05-17  浏览次数:20747 次

谁来给解决啊 WCF双工通信WinRT调用 证书错误?
报这个错A call to SSPI failed, see inner exception.
InstanceContext instanceContext = new InstanceContext(new PushManageCallBack());
            NetTcpBinding binding = new NetTcpBinding();
            EndpointAddress address = new EndpointAddress(new Uri("net.tcp://127.0.0.1:9999/PushManage"));
            using (DuplexChannelFactory<IPushManage> channelFactory = new DuplexChannelFactory<IPushManage>(instanceContext, binding, address))
            {
                var v = channelFactory.CreateChannel();
                v.Login("");
            }
            

弄了好久了 我本地调试 服务器端和客户端都在我本地
不知道咋回事 
对了 上面的代码是WinRT的

------解决方案--------------------
才开始学WCF 帮不上...