且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

得到错误“远程服务器返回错误:(407)需要代理身份验证."在更新共享点列表项时

更新时间:2023-09-20 16:45:34

使用SharePoint客户端对象模型时会收到407错误吗?

Did you get 407 error when using SharePoint Client Object Model ?

在这种情况下,请尝试在app.config中将默认代理凭据设置为true:

If that is the case, please try to set default proxy credential to true in app.config:

 <system.net>
    <defaultProxy useDefaultCredentials="true" >
    </defaultProxy>
  </system.net>

这里有一个类似的线程供您参考:

Here is a similiar thread for your reference:

https://***.com/questions/4151714/how-do-i-pass-my-proxy-credentials-to-a-sharepoint-client-context-object-sh

谢谢

***的问候