Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Team Foundation Server workspaces dissappear/missing

I have several projects mapped to a Workspace in TFS. I closed down my VS2010 window, did some other work, reopened it and all my workspaces were gone. I tried rebooting but they wouldn't come back. In my Windows Explorer the little green triangles next to the folders that my solutions were mapped to, were also gone.

Eventually I resigned myself to having somehow messed up the connection to the source control and tried to recreate the workspace I was using. It wouldn't however let me create the workspace as one of that name already existed.

like image 734
Mikey Mouse Avatar asked Feb 19 '23 16:02

Mikey Mouse


1 Answers

After a lot of googling, reboots and looking at silly things, I noticed Visual Studio seemed to think I was logged on as an alternate network account (one I had used earlier to access a shared network drive that the user I was logged onto my PC with didn't have access to)

I would have thought restarting the PC and logging on again would have resolved this, but it turned out I had clicked the "remember me" box. Even deleting the account from Control Panel -> User Accounts didn't help.

Eventually I came across This site for removing saved network passwords

You just click, Start -> Run -> "Control Keymanager.dll"

This displays all the accounts you clicked "Remember me" for on network drives. You delete the one that's causing trouble (or all of them in my case), restart VS2010 and all your workspaces and project bindings are there again!

like image 80
Mikey Mouse Avatar answered Feb 26 '23 10:02

Mikey Mouse