Pessoal,
Quando ocorrem acessos de duas máquinas dintintas ao mesmo serviço WCF ocorre o erro abaixo:
Exception throw:
=+=+ BASE EXCEPTION:
APLICAÇÃO: mscorlib
ERRO: A conexão de soquete foi anulada. Isso pode ter
sido causado por um erro de processamento de sua mensagem, por um tempo limite
de recepção ultrapassado pelo host remoto ou por um problema de recurso de rede
subjacente. O tempo limite de soquete local era de '00:30:00'.
CAMINHO DA PILHA:
Server stack trace:
em
System.ServiceModel.Channels.SocketConnection.ReadCore(Byte[] buffer, Int32
offset, Int32 size, TimeSpan timeout, Boolean closing)
em
System.ServiceModel.Channels.SocketConnection.Read(Byte[] buffer, Int32 offset,
Int32 size, TimeSpan timeout)
em
System.ServiceModel.Channels.DelegatingConnection.Read(Byte[] buffer, Int32
offset, Int32 size, TimeSpan timeout)
em
System.ServiceModel.Channels.SessionConnectionReader.Receive(TimeSpan timeout)
em
System.ServiceModel.Channels.SynchronizedMessageSource.Receive(TimeSpan
timeout)
em
System.ServiceModel.Channels.FramingDuplexSessionChannel.Receive(TimeSpan
timeout)
em
System.ServiceModel.Channels.FramingDuplexSessionChannel.TryReceive(TimeSpan
timeout, Message& message)
em
System.ServiceModel.Dispatcher.DuplexChannelBinder.Request(Message message,
TimeSpan timeout)
em
System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway,
ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
em
System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage
methodCall, ProxyOperationRuntime operation)
em
System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
em
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg,
IMessage retMsg)
em
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
em
Evolution.WCF.Contract.IMenuService.GetFullMenu(Int32 userId, Int32 softwareId)
em
Evolution.CompanyPage.MenuVertical.btn_Menu_Click(Object sender,
RoutedEventArgs e) =+=+ INNER EXCEPTION:
APLICAÇÃO: System
ERRO: Foi forçado o cancelamento de uma conexão existente
pelo host remoto
CAMINHO DA PILHA:
em System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32
size, SocketFlags socketFlags)
em
System.ServiceModel.Channels.SocketConnection.ReadCore(Byte[] buffer, Int32
offset, Int32 size, TimeSpan timeout, Boolean closing) END INNER EXCEPTION =+=+
END BASE EXCEPTION =+=+ =+=+=+=+=+=+=+=+=+=+=+=+ END EXCEPTION
=+=+=+=+=+=+=+=+=+=+=+=+