I am trying to consume a remote svc web service. I created the proxy class using svcutil.exe
, and after that I\'ve added that class to my console application, b
Mostly this exception happens when there is some errors in the server, the most common one is a wrong configuration of the authentication database, or authentication. In my case there was different clock synchronization make sure both client and server have same settings
Click on Time at your Right-Bottom side -> "Change date time settings..." -> "Internet Time" tab -> Change Settings... -> check the "Synchronise with an internet time server" option if it is unchecked -> from server dropdown select "times.windows.com" -> Update Now -> OK
In my case, I was getting this error on the same machine, in my test client-server application. But this problem was resolved by "Update Service Reference".
In my case, when I changed the wshttpbinding
protocol from https
to http
it started working.