I have a vended product that is occasionally throwing the following error:
An unhandled exception occurred and the process was terminated.
Application ID: 297b8e51
Process ID: 4524
Exception: System.Net.Sockets.SocketException
Message: An existing connection was forcibly closed by the remote host
StackTrace: at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.Socket.Send(Byte[] buffer)
at Cassini.Connection.WriteEntireResponseFromString(Int32 statusCode, String extraHeaders, String body, Boolean keepAlive)
at Cassini.Connection.WriteErrorAndClose(Int32 statusCode, String message)
at Cassini.Connection.ProcessOneRequest()
at Cassini.Host.OnSocketAccept(Object acceptedSocket)
at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
and I am trying to find a cause for this. It is a server running IIS, but the vended software does some odd things from time to time. Anyone have any thoughts?
Thanks,
Don