We have a developed a WinForms application using WCF (service hosted in
IIS). The application polls every 45 seconds and fails intermittently.
Using WCF tracing we have discovered the following errors on the server
side:
The communication object, System.ServiceModel.Channels. ReliableReplySessionChannel, cannot be used for communication because it has been Aborted.
The communication object, System.ServiceModel.Channels. TransportReplyChannelAcceptor+ TransportReplyChannel, cannot be used for communication because it has been Aborted.
and on the client side:
The remote endpoint no longer recognizes this sequence. This is
most likely due to an abort on the remote endpoint. The value of
wsrm:Identifier is not a known Sequence identifier. The reliable
session was faulted.
In every occurrence, the service log trace shows application pool recycling immediately before the error.
I was wondering if someone could explain the meaning of these
messages (I am new to WCF) or where I can find more information. I have
read Learning WCF by Michele Leroux Bustamante numerous times and have
searched the web for best practice examples (on how to handle this
error condition/ channel fault). Unfortunately I can't find anything I
can specifically apply to our situation.
Thank you for any help you can provide.