Error: The authentication schemes configured on the host ('Ntlm, Anonymous') do not allow those configured on the binding 'BasicHttpBinding' ('Negotiate'). Please ensure that the SecurityMode is set to Transport or TransportCredentialOnly. Additionally, this may be resolved by changing the authentication schemes for this application through the IIS management tool, through the ServiceHost.Authentication.AuthenticationSchemes property, in the application configuration file at the element, by updating the ClientCredentialType property on the binding, or by adjusting the AuthenticationScheme property on the HttpTransportBindingElement.
Solution:
I have done following two things in IIS setting to resolve following error
1) Make sure for Hosted WebSite/App two Authentication option is set to Enabled
Anonymous Authentication = Enabled and Window Authentication = Enabled
2) Right click on Window Authentication >> Providers
make sure you have NTLM and Negotiate is added as Enabled Providers, If not just add it.
1) Make sure for Hosted WebSite/App two Authentication option is set to Enabled
Anonymous Authentication = Enabled and Window Authentication = Enabled
2) Right click on Window Authentication >> Providers
make sure you have NTLM and Negotiate is added as Enabled Providers, If not just add it.
No comments:
Post a Comment