Last post May 27, 2015 05:45 PM by mgebhard
Feb 08, 2013 07:33 AM|mrrogers|LINK
I have a set of WCF services locked down with x.509 certs. These services have worked great on my local box and the dev box for months. I migrated the services to their new production box and now I am having a real time getting them going. I am almost positive
that it is the certs. I have migrated these same certs on numerous dev boxes with no problems but now when I move to this box I cannot get even the simplest method to execute. I create a simple test method that takes a string as input, modifies it and returns
a string as output.
Also, if I run those services with my harness in VS on the same box it works if I point my harness to the same services running on IIS on this same box it doesn't.
The trace has this message: The security protocol cannot verify the incoming message.
The event log has this message:
Exception type: CommunicationObjectFaultedException
Exception message: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.
Any help is appreciated.
May 27, 2015 11:57 AM|PatriceSc|LINK
More likely it is the outer Exception? Don't you have an inner exception that would give more détails about what happened?
May 27, 2015 05:45 PM|mgebhard|LINK
This error is generally due to a lack of exception handling on the service and client. The channel is faulted and the client did not abort the connection.