TF30063: 您无权访问集合。 Nuget 和 Tfs 冲突

发布于 2024-11-23 20:27:00 字数 806 浏览 3 评论 0原文

最新评论

我相信我的问题是在使用 Nuget 时出现的,但是,如果您是因为 TF30063 错误而阅读的。看看我提供并接受的答案。

原始帖子

当我尝试结账时收到此错误消息。这种情况是随机发生的,即使几分钟前同一个 Visual Studio 实例允许我检查其他内容进行编辑,也可能会发生这种情况。 在此处输入图像描述

当前的解决方法是重新打开 VS2010。

在我的本地开发机器上使用 W7x64、vs2010 Ultimate 以及 TF2010 和 sql2008。我不是域的一部分。我是这台计算机的管理员。

附加2011-08-09

当问题发生时,我在文件下“关闭解决方案”。然后重新打开解决方案。然后我得到一个 uid/pwd 框。我将我的管理员 uid/pwd 放入其中,然后收到进一步的错误消息。再次,关闭 vs2010 并重新打开即可解决该问题。

在此处输入图像描述 在此处输入图像描述

附加:2011-08-30

我相信这与 nuget 有关。我已经提供了答案,到目前为止,几个月后我还没有遇到 TFS 错误。鉴于我一直在执行的操作类型与导致其失败的场景相同,我应该会出现错误。

Latest Comment

I believe my problem occurs when using Nuget, however, if you are reading because of the TF30063 error. Have a look at the answer I provided and accepted.

Original Post

I am getting this error message when I try to check out. This happens randomly and can occur even if minutes ago the same instance of visual studio allowed me to check something else out for edit.
enter image description here

The current workaround is to reopen VS2010.

Using W7x64, vs2010 ultimate with TF2010 and sql2008 on my local dev machine. I am not part of a domain. I am the administrator of this computer.

Additional 2011-08-09

When the problem occurrs, I "close solution" under file. And then reopen the solution. I then get a uid/pwd box. I put my admin uid/pwd into it and then get a further error message. Again, closing vs2010 and reopening solves the issue.

enter image description here
enter image description here

Additional: 2011-08-30

I believe this has to do with nuget. I have provided an answer and so far after many months I have not had a TFS error. Where I should have had an error given the types of operations I have been performing which were identical to the scenarios making it fail.

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

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

发布评论

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

评论(7

走过海棠暮 2024-11-30 20:27:00

我注意到这个问题主要发生在我安装了 nuget 包之后。添加nuget包后我发现我无法签出。重新启动 Visual Studio 会有所帮助。

基于此讨论:

http://nuget.codeplex.com/discussions/254328

我使用了这个似乎有效的解决方案:
(如果网页消失,我已将解决方案复制到此处)

Control Panel / Internet Options / Security Tab
Select "Local Intranet"
Click Sites button
Click Advanced Button
Add your TFS server http address to the list. e.g. http://tfs
Restart Visual Studio

来源:http://blog.rthand.com/post/2011/08/26/Fishing-combination-of-NuGet-and-Team-Foundation-in-workgroup-configuration-401-Unauthorized.aspx< /a> (直接转到解决方案 的一半)。

不要让“Internet 选项”部分欺骗了您。我不使用 Internet Explorer,这解决了我的问题。

I noticed that the problem occurred mostly after i installed a nuget package. After adding a nuget package i found that I could not check out. Restarting Visual Studio helped.

Based on this discussion:

http://nuget.codeplex.com/discussions/254328

i used this solution which appears to be working:
(I have copied the solution here if ever the webpage disappears)

Control Panel / Internet Options / Security Tab
Select "Local Intranet"
Click Sites button
Click Advanced Button
Add your TFS server http address to the list. e.g. http://tfs
Restart Visual Studio

Source: http://blog.rthand.com/post/2011/08/26/Fixing-combination-of-NuGet-and-Team-Foundation-in-workgroup-configuration-401-Unauthorized.aspx (Go straight down to The Solution half way down).

Don't let the Internet Options part fool you. I do not use Internet Explorer and this solved my issue.

哑剧 2024-11-30 20:27:00

我发现了这个问题,并且接受的解决方案对我来说不起作用。对我来说,尝试将 NuGet 包添加到我的项目(通过控制台或 GUI)时出现问题,它会显示登录提示,但不接受我的用户/密码。它会尝试大约 4 次,然后失败并回滚安装。

事实证明,对我来说,问题是我打开了 Fiddler,一旦我关闭它(以撤消代理设置),我就可以毫无问题地安装该软件包。我什至不必重新启动 Visual Studio 即可使其正常工作。

只是想我会与下一个遇到此问题的人分享此内容。

I found this issue and the accepted solution didn't work for me. For me the problem occurred when trying to add a NuGet package to my project (through either the console or the GUI) and it would show the login prompt but not accept my user/password. It would try around 4 times and then fail and roll back the installation.

It turns out for me the issue was that I had Fiddler open and as soon as I closed it (to undo the proxy settings) I was then able to install the package without any issue. I didn't even have to restart Visual Studio to get it working.

Just thought I'd share this for the next person who comes across this issue.

墨洒年华 2024-11-30 20:27:00

我想为在线使用 VisualStudio 的人们添加一个解决方案。我的问题是我使用错误的 Microsoft 帐户登录 VS2013。

I want to add a solution for people who are using VisualStudio online. My problem was that I was logged into VS2013 with the wrong Microsoft Account.

白日梦 2024-11-30 20:27:00

我想指出的是,接受的解决方案对我不起作用 - 可能它适用于 IE 用户。

我的解决办法是“清除包缓存”

  1. 打开VS
  2. 转到工具->选项
  3. 打开“NuGet Package Manager”并选择 General
  4. 单击按钮:“清除包缓存”

I would like to point that the accepted solution didn't work for me - probably it is for IE users.

My fix was to "clear the package cache"

  1. Open VS
  2. Go to Tools-> Options
  3. Open "NuGet Package Manager" and select General
  4. Click in the button: "clear the package cache"
凉城已无爱 2024-11-30 20:27:00

当我遇到这个问题时,我检查了 TFS 计算机上的事件查看器,它显示了一堆权限不足的 Windows Sharepoint 服务错误。我最终只是禁用了 TFS 的 Sharepoint 方面,因为我并没有使用它们。

When I had this problem I checked Event Viewer on my TFS machine and it showed a bunch of insufficient permissions Windows Sharepoint Service errors. I ended up just disabling the Sharepoint aspects of TFS since I wasn't using them anyways.

樱花细雨 2024-11-30 20:27:00

出现错误 TF30063:在 tfs 2012 中比较或合并解决方案时,您无权访问 Collection。
我发现在 IIS 中启用和禁用 Windows 身份验证确实随机修复了错误,但发现了磁盘空间问题,
一旦我清除了它,并在 IIS 中启用了 TFS 的 Windows 身份验证,这对我来说就是一个修复。
-帕夏

Got the error TF30063: You are not authorized to access Collection when comparing or merging the solutions in tfs 2012.
I found that enabling and disabling the windows authentication in IIS did randomly fix the error but found the disk space issue,
Once i cleared it, and enabled the windows authentication for TFS in IIS, it was a fix for me.!
-Pasha

挽手叙旧 2024-11-30 20:27:00

这个答案让我足够解决:

控制面板/Internet选项/安全选项卡选择“本地
Intranet” 单击站点按钮 单击高级按钮 添加您的 TFS 服务器
http 地址添加到列表中。例如 http://tfs 重新启动 Visual Studio

在我们的内部网络上,由于某种原因,我们的计算机并不总是将其他计算机识别为正在运行的计算机。域的一部分 - 导致连接零星/间歇性。我的用户有一个由域策略设置的限制列表,所以我无法编辑它。但是,我可以将连接从仅计算机名称更改为计算机的完全限定域名,这似乎已经解决了问题。

This answer got me far enough to solve:

Control Panel / Internet Options / Security Tab Select "Local
Intranet" Click Sites button Click Advanced Button Add your TFS server
http address to the list. e.g. http://tfs Restart Visual Studio

On our internal network, for some reason, our computers don't always recognize other computers as being part of the domain - resulting in connections being sporadic/intermittent. My user had a restricted list set by domain policy, so I couldn't edit it. However, I could change the connection from just the computer name to the computer's fully qualified domain name and that appears to have solved the problem.

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