WCF
An error occurred when verifying security for the message
If you are running Client and Service on one machine successfully and when you are running service on one machine and client one machine there is a possibility of receiveing the above message. For this we need to have the following stuff in the code:
proxy.ClientCredentials.Windows.ClientCredential.UserName = "user";
proxy.ClientCredentials.Windows.ClientCredential.Password = "password";
proxy.ClientCredentials.Windows.ClientCredential.Domain = "domain";
If you are running Client and Service on one machine successfully and when you are running service on one machine and client one machine there is a possibility of receiveing the above message. For this we need to have the following stuff in the code:
proxy.ClientCredentials.Windows.ClientCredential.UserName = "user";
proxy.ClientCredentials.Windows.ClientCredential.Password = "password";
proxy.ClientCredentials.Windows.ClientCredential.Domain = "domain";
Comments
Post a Comment