Michele

Michele

  • NA
  • 1
  • 0

The I/O operation has been aborted because of either a thread exit or an application request

Sep 7 2011 3:50 PM
I'm running some WCF net.tcp services on a high-traffic website. In my local environment everything worked as expect. In the production environment, the website works for few minutes then the service throw an exception. When I stop and start again the service website it works again for few minutes.
Here's the details:
A TCP error (995: The I/O operation has been aborted because of either a thread exit or an application request) occurred while transmitting data.
System.ServiceModel.Channels.SocketConnection.EndRead() System.ServiceModel.Channels.TracingConnection.EndRead() System.ServiceModel.Channels.ConnectionStream.ReadAsyncResult.OnAsyncReadComplete(Object state) System.ServiceModel.Channels.TracingConnection.TracingConnectionState.ExecuteCallback() System.ServiceModel.Channels.SocketConnection.AsyncReadCallback(Boolean haveResult, Int32 error, Int32 bytesRead) System.Runtime.Fx.IOCompletionThunk.UnhandledExceptionFrame(UInt32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped) System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
The I/O operation has been aborted because of either a thread exit or an application request