This project is read-only.

MessageSecurityException : Hosting a Client Application in Agentdesktop


I am getting the below error when I host a client application in Agentdesktop.
The error comes up before launching the Agentdesktop and application crashes.The issue is frequent but not consistent.After restarting sometimes the agentdesktop launches with Client application perfectly and then again the same issue comes up on launching Agentdesktop.

"An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. ---> System.ServiceModel.FaultException: An error occurred when verifying security for the message. --- End of inner exception stack trace ---Server stack trace:"

Few more clarifications :
 The error is not consistent and it disappears sometimes if we restart the machine, but comes back at some other time
 The CRM is on-premise with UR 10 – nothing to do with O365. CCA Authentication mode is “Windows”
 The workstation is XP SP3 and WIF cannot be installed from the installer. Instead WIF is registered with the GAC using command prompt

Any help is highly appreciated!

Thanks & Regards,

file attachments