通过VS 2012连接到TFS 2012 [英] Connecting to TFS 2012 via VS 2012

查看:157
本文介绍了通过VS 2012连接到TFS 2012的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前环境:运行Windows Server 2012 R2 Datacenter的Azure VM。 TFS 2012与SQL 2012安装在同一个VM上。我们遇到了一个问题,我们不得不从备份中重新部署VM。一切正常,除了
not 能够通过VS 2012连接VM本身到TFS。在外部,我们已将其设置为能够通过tfs.domain.com进行连接。外部用户
可以在VS中连接到TFS并查看集合。仅在VM本身上存在问题。使用相同的地址(tfs.domain.com)会发生什么,它提供了一个连接的凭据框。我们输入一次,它循环返回并再次输入,然后是错误
,它在下面。我也做了reg键来禁用环回。由于我是管理员,因此帐户具有必要的权限。  

Current Environment : Azure VM running Windows Server 2012 R2 Datacenter. TFS 2012 is installed on the same VM with SQL 2012. We had an issue where we had to re-deploy the VM from a backup. Everything is working as it should except for not being able to connect on the VM itself via VS 2012 to TFS. Externally, we have it set to be able to connect via tfs.domain.com. External users can connect in VS to TFS and see the collections. Only on the VM itself, there is the issue. What happens is using that same address (tfs.domain.com), it gives a credential box to connect. We enter once, it loops back and enter again, then there is the error which is below. I also did the reg key to disable loopback. Account has necessary privileges since I am an admin.  

推荐答案

您好Karamdeo,

Hi Karamdeo,

您可以前往Credential Manager查看是否有商店连接到TFS的凭证,如果是,则将其删除。

You may go to the Credential Manager to see whether there stores credential to connect to your TFS, if yes, remove it.

然后,尝试清理VM上的缓存文件
。文件夹路径为: C:\Users\username \ AppData \ Local \ Microsrosoft \Team Foundation \ 4.0 \ CA
C:\ProgramData \ Microsoft &\\Team Foundation \ Web Access \ Cache_v11.0。
清理后,点击开始并选择运行...
打开对话框,然后输入 iisreset.exe 并单击"确定",等待它完全运行。

Then, try to clean the cache files on the VM . The folder path is: C:\Users\username\AppData\Local\Microsoft\Team Foundation\4.0\Cacheand C:\ProgramData\Microsoft\Team Foundation\Web Access\Cache_v11.0. After cleaned, click Start and select Run… to open the dialog box, then input iisreset.exe and click OK, wait it run completely.

最后,尝试以安全模式启动Visual Studio Devenv.exe / SafeMode ,看看问题是否可以修复。

At last, try to start Visual Studio in safe mode Devenv.exe /SafeMode, to see whether the issue can be fixed.

祝你好运,


这篇关于通过VS 2012连接到TFS 2012的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆