TF30063: 您无权访问集合.Nuget 和 Tfs 冲突 [英] TF30063: You are not authorized to access Collection. Nuget and Tfs conflicting

查看:47
本文介绍了TF30063: 您无权访问集合.Nuget 和 Tfs 冲突的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最新评论

我相信我的问题发生在使用 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(直接进入解决方案一半).

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: 您无权访问集合.Nuget 和 Tfs 冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆