I am going crazy with this one. I have an ASP .NET web service that calls another service and sends document information to it. For some reason, and it happens randomly, I get the error:
An existing connection was forcibly closed by the remote host.
Inner exception details:
at System.Net.Sockets.Socket.Receive(Byte buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte buffer, Int32 offset, Int32 size)
It should be noted that the faster I make calls to the service...the more likly it is to close. This particular situation attempts to make 62 such calls to the service. Each with about 125kb of data. Services are hosted in IIS and both reside on the same box.