I have a WCF service and client, which worked fine, when I debug it on my local machine.
However when I deployed the service to test server on the different domain.
I’ve started to receive error
System.ServiceModel.Security.SecurityNegotiationException: The caller was not authenticated by the service. —> System.ServiceModel.FaultException: The request for security token could not be satisfied because authentication failed.
I’ve found a few similar recommendations, e.g.
<wsHttpBinding>
<binding name=”CustomBinding”>
<security mode=”None”>
<message establishSecurityContext=”false”/>
<transport clientCredentialType=”None”/>
</security>
</binding>
</wsHttpBinding>
Unfortunately, it didn’t work for me.
Fortunately, after I’ve replaced wsHttpBinding to basicHttpBinding , my client is able to access the server.