Visual Studio 2008 SharePoint WebPart 部署问题 - “HTTP 请求未经授权...”协商,NTLM”

发布于 2024-08-04 20:10:29 字数 217 浏览 6 评论 0原文

我正在尝试使用“Visual Studio 2008 Extensions,版本 1.3”开发 SharePoint WebPart。 当我尝试部署或快速部署或打包或有关 WebPart 部署的任何内容时,我收到此消息:

HTTP 请求未经客户端身份验证方案“协商”授权。从服务器收到的身份验证标头是“协商,NTLM”。

有人可以解决此问题吗?谢谢!

I am trying develop a SharePoint WebPart with "Visual Studio 2008 Extensions, Version 1.3".
When I try deploy or quick deploy or package or anything about deployment for my WebPart I am getting this message:

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

Is there someone who has a solution for this problem? Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

颜漓半夏 2024-08-11 20:10:29

我自己不久前也遇到过这个问题。

这是因为 vsewss 1.3 想要连接到 SharePoint 来读取元数据(它很聪明......)

Google 是我的朋友,它也会是你的......;)

http://social.msdn.microsoft.com/Forums/en-US/ sharepointdevelopment/thread/992297a5-208e-429e-9488-2cd6725ed953

I had this issue myself a while ago.

It's because vsewss 1.3 wants to connect to SharePoint to read metadata (it's being smart....)

Google was my friend, it'll be yours too.... ;)

http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/992297a5-208e-429e-9488-2cd6725ed953

淡忘如思 2024-08-11 20:10:29

协商失败的一个常见原因是相关机器上的时钟不同步。 Negotiate 使用 Kerberos,这要求相关各方将系统时钟设置得相差不超过 5 分钟。

通常,这在 AD 林中不是问题,因为默认情况下,时间从根域中的 PDC 级联。然而,我在不同的客户身上看到过很多次这种情况。

A common cause fo Negotiate failure is unsynchronised clocks on the machines concerned. Negotiate uses Kerberos which requires the parties involved has system clocks set with-in 5 minutes of each other.

Ordinarily this isn't a problem in an AD forest since by default time cascades from the PDC in the root domain. However I've seen this broken quite a few times at various clients.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文