by XDK
23. June 2012 13:05
Explanation
VS cache the login credentials for workspace. When we try login with current credentials still it take old credentials from cache
Solution
clear the cache and reload it. Follow below steps to do that:
Step 1: Open VS command prompt.
Step 2: Run below command to clear the local cache.
tf workspaces /remove:*
Step 3: Run below command to set the Owner for respective TFS server
tf workspaces /s:TFS_ServerName
For Windows XP, delete all the contents under:
C:\Documents and Settings\[USER]\Local Settings\Application Data\Microsoft\Team Foundation\
For Windows 7, delete all content under:
C:\Users\[User]\AppData\Local\Microsoft\Team Foundation\