TFS 2012 + Visual Studio 2012:某些设置选项返回“用户名或密码不正确" [英] TFS 2012 + Visual studio 2012: some settings options return "The user name or password is incorrect"

查看:182
本文介绍了TFS 2012 + Visual Studio 2012:某些设置选项返回“用户名或密码不正确"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经将TFS 2010升级到TFS 2012,没有任何问题.我可以连接到源代码管理,签到,以及我需要工作的所有内容.

I've upgraded our TFS 2010 to TFS 2012 without any issues. I can connect to the source control, checkin, everything I need to Work.

但是,如果我进入所连接的团队项目的设置页面,则以下选项将正常工作:

But if I go to the settings page for the team project I'm connected to, the following options work as expected:

团队项目:源代码控制

团队项目:门​​户设置

Team project: Portal settings

团队项目集合:源代码控制

Team Project Collection: Source Control

团队项目集合:流程模板管理器

Team Project Collection: Process Template Manager

但是设置页面上的其余选项只会给我这个错误

But the rest of the options on the settings page just gives me this error

我尝试查看Visual Studio使用Fiddler对TFS服务器的请求,对于那些起作用的请求,实际上没有对该服务器的请求.因此,似乎从未就这些特定选项与服务器联系.

I've tried looking at the requests Visual Studio makes to the TFS server using Fiddler, and with the ones that don't work, no requests are actually being made to the server. So it seems like the server is never being contacted for those specific options.

我已经在Windows 8上运行的Visual Studio 2012的两个独立安装上对此进行了测试.

I've tested this on two independent installations of Visual studio 2012, runnning on Windows 8.

编辑

我刚刚在其中一台计算机上安装了VS2010 SP1,并且可以很好地访问以下所有设置选项:安全性,组成员身份,区域和迭代,门户设置和源代码控制.

I just installed VS2010 SP1 on one of the machines, and I can just fine access all of the following settings options: Security, Group Membership, Areas and Iterations, Portal Settings and Source Control.

看起来像是VS2012问题.

Looks like a VS2012 issue of some sort.

推荐答案

我们通过使用域凭据运行VS 2012解决了此问题.我们使用VM进行开发,因此我们不直接登录域.要运行VS,我们使用以下内容(作为批处理文件):

We resolved our issue with this by running VS 2012 with our domain credentials. We use VMs for development, so we do not directly login into the domain. To run VS, we use the following (as a batch file):

runas/netonly/user:用户名"C:\ Program Files(x86)\ Microsoft Visual Studio 11.0 \ Common7 \ IDE \ devenv.exe"

runas /netonly /user: username "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe"

其中用户名是您的域凭据.

where username is your domain credential.

这篇关于TFS 2012 + Visual Studio 2012:某些设置选项返回“用户名或密码不正确"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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