问题描述
最新评论
我相信我在使用 Nuget 时会出现问题,但是,如果您因为 TF30063 错误而正在阅读.看看我提供并接受的答案.
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.
原帖
我在尝试结帐时收到此错误消息.这种情况是随机发生的,即使几分钟前同一个 Visual Studio 实例允许我检查其他内容以进行编辑,也可能发生这种情况.
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.
目前的解决方法是重新打开 VS2010.
The current workaround is to reopen VS2010.
在我的本地开发机器上使用 W7x64、vs2010 Ultimate 和 TF2010 和 sql2008.我不是域的一部分.我是这台电脑的管理员.
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.
补充 2011-08-09
当问题发生时,我在文件下关闭解决方案".然后重新打开解决方案.然后我得到一个 uid/pwd 框.我将我的管理员 uid/pwd 放入其中,然后收到进一步的错误消息.同样,关闭 vs2010 并重新打开可以解决问题.
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.
补充:2011-08-30
我相信这与 nuget 有关.我已经提供了一个答案,到目前为止,几个月后我还没有出现 TFS 错误.考虑到我一直在执行的操作类型与导致它失败的场景相同,我应该在哪里出错.
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.
推荐答案
我注意到这个问题主要发生在我安装了一个 nuget 包之后.添加一个 nuget 包后,我发现我无法签出.重新启动 Visual Studio 有帮助.
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.
基于此讨论:
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
来源:http://blog.rthand.com/post/2011/08/26/Fixing-combination-of-NuGet-and-Team-Foundation-in-workgroup-configuration-401-Unauthorized.aspx(直接下到The Solution
中途).
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).
不要让 Internet 选项部分欺骗了您.我不使用 Internet Explorer,这解决了我的问题.
Don't let the Internet Options part fool you. I do not use Internet Explorer and this solved my issue.
这篇关于TF30063: 您无权访问 Collection.Nuget 和 Tfs 冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!