TFS Error: “Source Control - Unable to Access Database”

前端 未结 9 1799
暖寄归人
暖寄归人 2021-01-04 01:56

I am currently using TFS with Visual Studio 2010 Ultimate and getting this error when I try to open up my solution:

The associated source control plug-in is no

相关标签:
9条回答
  • 2021-01-04 02:18

    When in doubt, I've just reintalled the TFS client (my experience was with TFS 2008) when things went wonky and that usually fixed the issue.

    0 讨论(0)
  • 2021-01-04 02:19

    I opened a solution in VS2010 (not my project), and got the same message. It gave me the options to either temporarily work with the solution uncontrolled, or to permanently remove source control association bindings. I went with the option to permanently remove source control association bindings.

    Now open your project/solution. Goto File -> Source Control -> Change source control Select your projects and click bind.

    Now bindings are correctly working online. This is how i was able to fix this issue. Hope it helps.

    0 讨论(0)
  • 2021-01-04 02:21

    For anyone (like me) who was looking for an answer to this . . .

    I had the same issue, and I came across a couple of things that might be helpful.

    First, I found this link on MSDN.

    Second, I opened a solution in VS2010 (not my project), and got the same message. It gave me the options to either temporarily work with the solution uncontrolled, or to permanently remove source control association bindings. I went with the latter (again, this was a project I inherited, not one I built), and it seems to be okay.

    To anyone who finds this, I hope this helps!

    0 讨论(0)
  • 2021-01-04 02:28

    For anyone still having this problem. I tried everything in this thread and nothing seemed to work. Then I found this solution by Patrick B Cahill on MSDN:

    "As soon as I installed both TFS 2010 Service Pack 1 and Visual Studio 2010 SP1 Team Foundation Server Compatibility GDR respectively and rebooted, the builds started working."

    This solution fixed all of my problems.

    0 讨论(0)
  • 2021-01-04 02:29

    It sounds like your bindings to the TFS server are messed up in your solution file. You should try removing the bindings manually in there by editing the solution file using a text editor.

    There should be a Global section in the file, which is where all of the settings for this are located. look for GlobalSection(TeamFoundationVersionControl) and remove that entire section down to EndGlobalSection.

    Once you do that, reload the solution and tell it to go back online and your bindings should be working again.

    0 讨论(0)
  • 2021-01-04 02:31

    Is this a new Solution? This error is often caused when a solution has been bound to another source control system (VSS for example). It could be that the other machine you tried had VSS installed and your machine doesn't.

    Try unbinding the solution, then go to tools, Options, source control and make sure TFS is selected. finally rebind the solution.

    0 讨论(0)
提交回复
热议问题