unexpected error occurred on a service, An existing connection was forcibly closed be a remote host, attached error message for more details. Any help to resolve the issue would be appreciated.
Thanks,
Kumar
I was recently getting errors like this from a web service when I had not configured it correctly to handle enough data eg: maxBufferPoolSize, maxReceivedMessageSize and the like.
In the httpbinding section of the client side app.config and server web.config.
Also if you are sending a large array the service behaviour and endpoint behavior sections of these files may need:
<dataContractSerializer maxItemsInObjectGraph="array size here"/>
Maybe one of these links will help:
An existing connection was forcibly closed by the remote host
C# An existing connection was forcibly closed by the remote host: socket programming