Accessing Dynamics CRM 2011 Organization Service: it’s all about timing
While trying to access Dynamics CRM 2011 Organization Service from a client machine I received the following error:
“An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail”. The inner exception stated: “An error occurred when verifying security for the message”
This exception was received only by some clients while other were able to consume the service successfully.
This error is quite generic and gives no clue about the actual reason for the failure. Only after activating the CRM trace I found out the culprit, which turns out to be lack of synchronization between the server clock and the client clock as the server clock was set to support day light saving and the client wasn’t.
So, upon receiving this exception, check the following:
1. The client clock is synched with the server clock.
2. Both client and server are coordinated on the day time saving settings