We get
"""The communication object, System.ServiceModel.Channels.ServiceChanne, cannot be used for communication because it is in the Faulted state."""
message when we close the application. Can anyone tell me how to fix it? We know it is communication channel trying to close but it is not able to close due to service not available or in faulted state.
All I can say is, when the service is not available, but the Garbage collector trying to destroy the object, the communication objects is calling its service Close function. There we get exception.