none
wcf客户端报错--Insufficient winsock resources available to complete socket connection initiation RRS feed

  • 问题

  • 2013/4/2 9:31:57

    Insufficient winsock resources available to complete socket connection initiation.--

    Server stack trace: 
       at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
       at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at PLANCK.DbServices.IDbServices.DataReader(DataReaderRequest request)
       at PLANCK.DbServices.DbServicesClient.PLANCK.DbServices.IDbServices.DataReader(DataReaderRequest request)
       at PLANCK.DbServices.DbServicesClient.DataReader(PKDatainfo data)
       at PLANCK.WCF.DbServer.DBHelper.GetCmdPerson(String imsi)
       at PLANCK.GPRS.SentCmd.SentCmdInfo.GetPersonCmd(String imsi)
       at PLANCK.GPRS.Sockets.PkSockets.ReceiveSocktes(Object sockets)

    ---目前我还没找到好的解决办法,我只有重启wcf(windowsServices服务托管的wcf) 才能正常工作。

    请问我有什么好的解决办法呀?

    2013年4月2日 1:52

答案