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

查看:318
本文介绍了TF30063:您无权访问Collection. 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框.我将我的admin 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

来源:

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 Options部分欺骗您.我没有使用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冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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