Error occurred while using TFS with Visual Studio 2010 Ultimate

Asked By 20 points N/A Posted on -
qa-featured

I am currently using TFS with Visual Studio 2010 Ultimate this error keeps appearing when I try to open up my solution. And it is only on my computer that it doesn’t work. What could the problem be?

The associated source control database could not be accessed.

Source control – Unable to access database

The associated source control database could not be accessed.

Temporarily work offline in disconnected mode

Microsoft Visual Studio will attempt to reconnect the solution or project to

source control after closing and reopening the solution

Work offline in disconnected mode

You will need to use the Change Source Control dialog at a later time to

reconnect the solution or project to source control

Permanently remove source control association bindings

Manually change bindings and connections (advanced)

OK HELP

SHARE
Answered By 5 points N/A #131328

Error occurred while using TFS with Visual Studio 2010 Ultimate

qa-featured
Greetings,
 
In most cases, the issue occurs after disconnecting from your network and working while disconnected to your TFS, then reconnecting. Simply update the bindings and you should be good. Choose the last option (Manually chase bindings and connections), click browse, the default is your server, hit enter.
 
There is a workaround, though it requires fiddling with Windows registry. Any incorrect alterations in the entry can prevent the normal function of Windows, so do it at your own risk. Should you choose to continue, look for this entry using the Windows registry editor
 
HKEY_CURRENT_USERSoftwareMicrosoftVisualStudio10.0TeamFoundationInstances<server>Collections<name>
 
Look for "Offline" and change the value to 0 instead of 1.

Related Questions