BareMessage=Unrecognized configuration section system.servicemodel. Edit system.servicemodel to system.serviceModel to solve this issue. This error can also cause if machine.config file doesn't have the system.serviceModel section.
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";
Unable to connect to the remote server Even after giving the correct service IP and port in the config file, if you face the above error then the probable problem may be that when the service is published as "localhost". Try to change it to the IP of the machine name and try. Note:The time on the machines where client and service are running should be in sync