简体   繁体   English

尝试连接到Team Foundation Server时出现的问题

[英]Issue when trying to connect to team foundation server

I am quite new to Visual Studio and are trying to connect to a team foundation server. 我是Visual Studio的新手,正在尝试连接到团队基础服务器。 First I want to point out that if I go to the URL of the TFS in my browser and enter my credentials there I get access to the code etc, so there is no problem with the credentials itself. 首先,我想指出的是,如果我在浏览器中转到TFS的URL并输入我的凭据,则可以访问代码等,因此凭据本身没有问题。

Basically what I have done in Visual Studio 2012 is go to: Team Explorer -> Connect to Team Foundation Server -> Servers -> Add -> Enter my credentials. 基本上,我在Visual Studio 2012中所做的操作是:Team Explorer->连接到Team Foundation Server->服务器-> Add->输入我的凭据。

So after that a login screen appears which prompts for username/password ( which is very logic ), however here when I enter the same credentials I don't get access. 因此,此后出现一个登录屏幕,提示您输入用户名/密码(这是很逻辑的),但是在这里,当我输入相同的凭据时,我没有访问权限。 In that login screen I can also see a "Domain" which seem to be something random that I have just entered when I installed windows and that domain has nothing to do with the TFS. 在该登录屏幕上,我还可以看到一个“域”,该域似乎是我在安装Windows时刚输入的,而该域与TFS无关。

As you probably noticed I don't really know what that domain thingy does? 您可能已经注意到,我真的不知道该域的功能是什么? Can that be the problem why I can't connect to the TFS server through Visual Studio but it works through the browser? 那是为什么我无法通过Visual Studio连接到TFS服务器但可以通过浏览器工作的问题? Also if that matters I am connected via VPN to the place where the TFS server is located. 另外,如果这很重要,我可以通过VPN连接到TFS服务器所在的位置。

I just had the exact same problem connecting to TFS over VPN. 我只是在通过VPN连接到TFS时遇到了完全相同的问题。 I've been connecting with no problems for months, but I changed my Windows password while in the office yesterday, and couldn't log on from my laptop today. 我已经连续好几个月没有问题,但是昨天我在办公室时更改了Windows密码,但今天无法从笔记本电脑登录。

Turns out that in the credentials box I was omitting my domain name. 原来,在凭据框中,我省略了域名。 So instead of MY-WORK-DOMAIN\\Itar I was just entering Itar. 因此,我不是进入MY-WORK-DOMAIN \\ Itar,而是进入Itar。

(There was a domain name underneath - uneditable - that referred to my wireless router. That doesn't seem to be relevant when signing in.) (下面有一个域名-不可编辑-指的是我的无线路由器。登录时似乎并不相关。)

Once I entered my username as MY-WORK-DOMAIN\\Itar and entered the new password it all worked. 输入我的用户名MY-WORK-DOMAIN \\ Itar并输入新密码后,所有密码都可以使用。

I'm sure the OP has been sorted out by now, but maybe my answer will be useful to someone else. 我敢肯定OP已经被整理好了,但是也许我的回答对其他人很有用。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 通过程序调用Team Foundation Server的Get方法的批处理脚本会引发错误 - Batch Script for Team Foundation Server's Get method throws error when called via a program 尝试连接到 microsoft SQL 服务器时出现“Unicode 错误” 19 - “Unicode error ”when trying to connect to microsoft SQL server 19 是否有任何用于 Team Foundation Server (TFS) windows 的 Intelij 插件,但我可以在 CI\CD 中运行项目? - Is there any Intelij plugin for Team Foundation Server (TFS) windows that I can but it in CI\CD and run the project? 尝试等待“(等待)Windows.Foundation.IAsyncOperation”时出现语法错误 - Syntax error when trying to await “(awaitable) Windows.Foundation.IAsyncOperation” 尝试在 Windows 上通过 SSH 连接到 Bitbucket 时出现“服务器拒绝分配 pty”错误 - Getting "Server refused to allocate pty" error when trying to connect to Bitbucket via SSH on Windows 在Jenkins中执行后,Single Team Foundation命令退出构建步骤 - Single Team Foundation command exits build step after execution in Jenkins 试图通过php执行fop - '无法连接到窗口服务器' - trying to exec fop via php - 'Can't connect to window server' 权限被拒绝-尝试建立Web连接时使用connect(2) - Permission denied - connect(2) when trying to establish a web connection 尝试设置Ruby on Rails并连接到localhost:3000时出错 - Errors when trying to set up Ruby on Rails and connect to localhost:3000 如何在Team Foundation(2008)Project Portal网站上进行摘要身份验证 - How to get digest-authentication working on Team Foundation (2008) Project Portal sites
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM