Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TFS 2012 + Visual studio 2012: some settings options return "The user name or password is incorrect"

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: Source Control

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

tfs error

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.

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

EDIT

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.

Looks like a VS2012 issue of some sort.

like image 704
Xorandor Avatar asked Sep 08 '12 05:09

Xorandor


1 Answers

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: username "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe"

where username is your domain credential.

like image 145
Jonathan Nixon Avatar answered Sep 28 '22 01:09

Jonathan Nixon