Saturday, August 28, 2010

The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'NTLM

0 comments
While accessing the Service (.svc ) ," If we recieve the error The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'NTLM "


In the web.config file change the Security mode to TransportCredentialOnly and client credential type as ntlm as shown below :

<security mode="TransportCredentialOnly">
   <transport clientCredentialType="Ntlm" proxyCredentialType="Ntlm"
      realm="" />
    <message clientCredentialType="UserName" algorithmSuite="Default" />
  </security>

0 comments:

Post a Comment