Error Message:
System.ServiceModel.CommunicationException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.
Client: Windows .NET 4.0 framework Server: UNIX
Issue : The webservice connection was working fine with out any issues. But sometimes it was throwing the connection was closed error. I am new to .Net frame work and i know the basis. Please guide me how to fix this issue.
Work Around: After recycling the application pool the issue was fixed. (Actually we are closing the old connection and re-establishing).
Any information to fix this issue will be greatly appreciated.