So somehow I’ve now been bitten by this issue twice in the last few months… so it’s time to post about it (if only for myself) so I can resolve the issue faster next time.
In both cases this has occurred after disconnecting from the network and working without connectivity to TFS. After re-establishing connectivity I attempt to open the solution again, and get the error “Source Control – Unable to Access Database”. I’ve tried several things including deleting the workspace, and all local files, recreating the workspace and getting files locally again, but nothing works.
So the solution: Close Visual Studio and run regedit. Navigate to:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\TeamFoundation\Instances\<server>\Collections\<name>
You should see a value named Offline with a value of 1.
Modify this to be 0.
Restart Visual Studio 2010 and things should run!
No comments:
Post a Comment