WCF/WF - After 10 mins of opening my client application, it throws an exception
Asked By Ashwini on 02-Feb-11 01:42 AM
The communication object, System.ServiceModel.Channels.ClientFramingDuplexSessionChannel, cannot be used for communication because it is in the Faulted state.
please suggest me the solution.
Reena Jain replied to Ashwini on 02-Feb-11 01:47 AM
hi,
Service Model idles out connections using the ReceiveTimeout. What this means is that if there is no application activity within the ReceiveTimeout, Service Model will abort the session.
ReceiveTimeout defaults to 10 minutes which is probably why you saw the abort in 10 minutes.
Hope this will help you