[英]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.