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

前端 未结 9 1801
暖寄归人
暖寄归人 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:31

    I was able to eliminate the error by performing File | Source Control | Open from Source Control. You will be asked whether to overwrite existing files; answer "yes".
    (You should, of course, back up your source code first.)

    Note, this was on VS2008; I have not tried it on VS2010.

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

    I had to reset my Visual Studio configuration and cache by following the below steps:

    Delete the contents from the following folders

    C:\Users\<>\AppData\Local\Microsoft\Team Foundation
    C:\Users\<>\AppData\Local\Microsoft\VisualStudio
    C:\Users\<>\AppData\Local\Microsoft\VSCommon

    Go to the Visual Studio IDE folder in command prompt and Run the following command "devenv /resetuserdata" from the Visual Studio IDE folder.

    Typical location for 62 bit: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
    Typical location for 32 bit: C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE

    I found these steps in the article below:

    If you have problems with TFS or Visual Studio flush the user cache … or not?

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

    Thank you guys for the suggestions. I tried all of those and neither of them worked. What I ended up having to do was create a new User Account on my machine, delete the original folder to where I had my mappings and Redo the Get Process for my project and everything worked fine. I guess something must have been corrupt on my User Account.

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