TFS 2012 + Visual studio 2012: some settings optio

2019-02-22 12:27发布

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.

2条回答
走好不送
2楼-- · 2019-02-22 12:56

It sounds like the code is still using some values that are cached on the client after the upgrade. How long ago was it that you upgraded the server?

To test whether that is it, rename your cache folder (with VS 2012 closed) and launch VS 2012 again so it recreates the cache from scratch.

C:\Users\\AppData\Local\Microsoft\Team Foundation\4.0

查看更多
孤傲高冷的网名
3楼-- · 2019-02-22 13:12

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.

查看更多
登录 后发表回答