我有域 A 和域 TEST。 我在域测试上有一个测试服务器。我在那台服务器上成功安装了 TFS。 我将来自域 TEST(我们的产品域)的用户添加到 tfs 服务器。 我将他们添加为本地管理员、广告管理员、tfs 管理员,您可以想象的一切。
我无法连接,出现此错误。
我确定密码是正确的。
微软 Visual Studio
TF31003: Either you have not entered the necessary credentials or your user account does not have permission to connect to the Team Foundation Server at http://10.0.0.152:8080/tfs. Click the Use different credentials link below, or ask your server administrator to add the appropriate permissions to your account.
最佳答案
在可信域上跳跃时强制使用凭据的一种简单方法是使用 cmdkey。我一直使用它从非域计算机连接到 TFS 服务器。只需执行以下操作:
打开 Cmd 提示符并运行:
cmdkey /add:<yourserver> /user:TEST\user /pass:ThatUsersPassword
然后下次您连接到该服务器时,它甚至不应该向您询问其他用户的信用。
关于c# - 无法连接到另一个域中的 TFS 2010,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7662693/