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

查看:40
本文介绍了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.

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

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 解决了我们的问题.我们使用虚拟机进行开发,所以我们不直接登录域.要运行 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.0Common7IDEdevenv.exe"

runas /netonly /user: username "C:Program Files (x86)Microsoft Visual Studio 11.0Common7IDEdevenv.exe"

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

where username is your domain credential.

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

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