visual-studio-2010 - TFS 错误 : "Source Control - Unable to Access Database"

标签 visual-studio-2010 tfs

我目前正在将 TFS 与 Visual Studio 2010 Ultimate 一起使用,当我尝试打开我的解决方案时出现此错误:
The associated source control plug-in is not installed or could not be initialized. Common causes for this error include server unavailability and/or incorrect workspace mappings.
我连接到 TFS 和我们必须使用的 VPN 工作,我已经在另一台机器上尝试过它们,没有问题。只有我的机器有问题。它也没有任何绑定(bind)。

问题可能是什么?我安装的 Visual Studio 有什么问题吗?

最佳答案

听起来您与 TFS 服务器的绑定(bind)在您的解决方案文件中搞砸了。您应该尝试通过使用文本编辑器编辑解决方案文件来手动删除绑定(bind)。

文件中应该有一个 Global 部分,这是所有设置所在的位置。查找 GlobalSection(TeamFoundationVersionControl) 并将整个部分删除到 EndGlobalSection。

一旦你这样做了,重新加载解决方案并告诉它重新上线,你的绑定(bind)应该再次工作。

关于visual-studio-2010 - TFS 错误 : "Source Control - Unable to Access Database",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5081405/

相关文章:

visual-studio-2010 - Visual Studio 2010 - CTRL-F - 意外删除了 "You' 已到达解决方案结尾”对话框

c++ - 通过 C++ 中的类传递二维数组

c# - 如何从 C# 客户端发送补丁请求?

tfs - 使用 TFS 2010 在一个用户/机器上的解决方案的多个副本

tfs - TFS 2010 API DLL Microsoft.TeamFoundation.Framework.Server.dll 在哪里?

TFS + 获取最新

version-control - 用于版本维护的 TFS

css - 修改css文件时VS2010 pdb锁错误

c# - 防止 VS C# 单元测试因异常而中断

visual-studio-2010 - 如何将 Google Closure Compiler 集成为 Visual Studio 2010 中的构建步骤