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

后端 未结 10 2250
滥情空心
滥情空心 2020-12-01 00:21

I know there\'s a lot of questions on SO similar to this, but I couldn\'t find one for this particular issue.

A couple of points, first:

  • I have n
10条回答
  •  盖世英雄少女心
    2020-12-01 00:31

    I have the same setup that you do, and this works fine for me. I think that maybe the problem lies somewhere on your moss configuration or on your network.

    You said that moss resides on the same domain as your application. If you have access to the site with your user (that is logged into your machine)... have you tried:

    client.ClientCredentials.Windows.ClientCredential = System.Net.CredentialCache.DefaultNetworkCredentials;
    

提交回复
热议问题