Visual Studio 2008 SharePoint WebPart 部署问题 - “HTTP 请求未经授权...”协商,NTLM”
我正在尝试使用“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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我自己不久前也遇到过这个问题。
这是因为 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
协商失败的一个常见原因是相关机器上的时钟不同步。 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.