The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'Negotiate,NTLM'
In the course of enabling WCF services using Windows authentication, you may have hit this error. A Bing search will show that there are a myriad of reasons as to why this might occur.
However, before you get bogged down in the complexities of WCF bindings and IIS metadata, there ‘may’ be a simple fix. If the client and service are on the same machine and you experience the aforementioned error, check out this article:
This was infuriatingly difficult to track down but once found, I couldn’t understand why it wasn’t top of the search engine results.
Hopefully this will give the matter a little more press.
Later.
Brad
Comments
- Anonymous
September 13, 2012
How extremely irritating... Now I have to take down a production server in order to do this :-S - Anonymous
May 16, 2013
I even know this is a thing, and typically configure this on all of my web service boxes. This reminded me to check, and lo and behold, it wasn't configured.Thank you...the headdesk was getting painful.