title: WCF The HTTP request is unauthorized with client authentication scheme 'Negotiate'
body: <p>I have a WCF service hosted on IIS with Windows Aut, I am able to connect to the service from my client application (WPF) on my local machine, but when I try to access the service from some other machine I get the following error</p>
  
  <p>The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'Negotiate,NTLM'. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.</p>
  
  <p>I checked the providers in my IIS and there "Negotiate" is the first one and then the "NTLM". I also tried removing "NTLM" but that also did not help.</p>
  
  <p>I have following configuration in my App.config</p>
  
  <pre><code> &lt;bindings&gt;
   &lt;basicHttpBinding&gt;
          &lt;binding name="BasicHttpBinding" maxReceivedMessageSize="2147483647"
            receiveTimeout="00:30:00" sendTimeout="00:30:00"
            openTimeout="00:10:00" closeTimeout="00:10:00"&gt;
            &lt;readerQuotas maxStringContentLength="2147483647" maxArrayLength="20971520" /&gt;
              &lt;security mode="TransportCredentialOnly"&gt;
                &lt;transport clientCredentialType="Windows" /&gt;
              &lt;/security&gt;
          &lt;/binding&gt;
    &lt;/basicHttpBinding&gt;    
  </code></pre>
  
  <p></p>