Click here to Skip to main content
15,867,141 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900