Custom service communication error - cannot be used for communication because it is in the Faulted state.

Hello,

I have few custom services in production. Our version is DAX 2012 CU3. I have seen the error

‘The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.’ at times when the services are called from external .NET application.

Can I use Exception::CLRError handler exception to capture/handle the above exception type? or something else?Also, how do I abort the current connection call so the next connection in line doesn’t throw the same error? It is hard to reproduce the same error and it is very unexpected exception and not exactly sure what causes it throw. So, just have to put the correct exception handling and see when it is live.

Please advise.

Thanks,

Dave

Look at previous discussions about this error, such as WCF Cannot be used for communication because it is in the Faulted state. It should answer at least some of your questions.