Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2012 keeps losing connection with TFS 2010

I'm working with Visual Studio 2012 and when I wanted to check in my pending changes (on TFS 2010), all of sudden VS loses its connection with TFS and says (on the Team Explorer window): "HTTP Code 404: not found". The option to check in (or to shelve) is disabled. When I try to refresh the source control explorer window, it briefly shows my folders, but then closes it again (saying it was disconnected with TFS). The funny thing is that I still can get the latest version from TFS and even see my pending changes, but when I try to check these in or shelve my pending changes, it loses the connection.

I tried looking for an answer on Google, but the only answer I found was clearing the TFS cache at C:\Users\\Local Settings\Application Data\Microsoft\Team Foundation\4.0\Cache or starting up VS with the VS command prompt with the command "devenv /ResetSkipPkgs".

I'm clueless. Thanks in advance!

like image 252
thomasking Avatar asked Apr 10 '13 08:04

thomasking


1 Answers

On a Windows 7 client running against TFS 2010, clear the contents of the following folder:

%LOCALAPPDATA%\Microsoft\Team Foundation\3.0\Cache

On a Windows 7 client running against TFS 2012, clear the contents of the following folder:

%LOCALAPPDATA%\Microsoft\Team Foundation\4.0\Cache

On a Windows 7 client running against TFS 2013, clear the contents of the following folder:

%LOCALAPPDATA%\Microsoft\Team Foundation\5.0\Cache
like image 182
Ryan Shripat Avatar answered Oct 27 '22 01:10

Ryan Shripat