连接到 TFS 服务器时出错 (TF31001)

发布于 2024-11-16 10:15:12 字数 435 浏览 1 评论 0原文

我无法连接到位于远程且需要连接到 OpenVPN 的服务器。 我会得出结论,这是某种身份验证问题,但似乎我的团队伙伴使用与我类似的工作环境能够建立连接。我可以使用我的凭据从他们的电脑登录。看起来这可能是由于我的本地设置造成的。

我已按照 MSDN 站点中的建议清除了缓存。另外,防火墙和防病毒软件也已关闭。

当我单击 Visual Studio 上的“团队资源管理器”图标时,还会收到输入用户/名称密码的提示。无效的凭据按预期显示错误消息,在输入正确的凭据信息时,我收到以下消息:

TFS31001:Team Foundation 无法 检索团队项目列表 来自 Team Foundation Server。团队 基础服务器返回了 以下错误:Team Foundation 无法从 服务器。

这可能是什么原因?

I am unable to connect to the server which is located remotely and required connection to OpenVPN.
I would have concluded that its some sort of Authentication issue, but it seems that my teams mates using similar Working Environment to mine are able to establish connection. I am able to log in from their PC using my Credentials. Looks like this could be due to my local settings.

I have cleared the Cache as suggested in MSDN sites. Also, Firewall and Antivirus are off.

I also get prompted for the User/Name password when I click Team Explorer Icon on Visual Studio. Invalid credentials show error messages as expected, on entering proper credential information, I get the following message:

TFS31001: Team Foundation cannot
retrieve the list of team projects
from Team Foundation Server. The Team
Foundation Server returned the
following error: Team Foundation
services are not available from the
server.

What could be the reason for this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

沧笙踏歌 2024-11-23 10:15:12

该错误消息始终是由于安全问题引起的,但并没有告诉您“为什么”存在安全问题。您可以查看事件日志以获取更多详细信息吗?不确定其中还包含哪些内容,但这可能是一个很好的起点。

很久以前,我在远程工作时遇到了这个问题,这是一个反复试验的过程,但就我而言,清除缓存然后删除 TFS 团队项目并重新添加它解决了该问题。你可以尝试一下。我看到您确实清除了缓存,但通过阅读本文我不确定您是否删除并重新添加。如果设置已缓存,而您不这样做,我怀疑您会看到更改。

另一个更积极的解决方案是卸载并重新安装 Team Explorer。另外,请确保您的 SP 是最新的。 TFS 安装时权限可能会出现某种混乱,这可能会解决该问题。

无论如何,我知道这不是一个固定的答案,但我希望它有所帮助。我刚刚花了三天时间升级了我们公司从 2008 年到 2010 年的所有团队项目,所以我能感受到你的痛苦:)

That error message is always due to a security issue but that doesn't tell you "why" there is a security issue. Can you take a look at the event log for more details- not sure what else might be in there but it might be a good starting point.

I had this issue a long time ago when working remotely and it was a trial and error thing but in my case clearing cache then removing the TFS Team Project and re-adding it fixed the issue. You can try that. I see you did clear cache but I am not sure from reading this if you removed and re-added. If settings are cached and you dont do that I doubt you will see a change.

Another more aggressive solution would be to uninstall and reinstall Team Explorer. Also, make sure your up to date on SPs. Permissions could have been messed up somehow with TFS installation and this could potentially resolve the issue.

Anyway, I know this isn't a cut and dry answer but I hope it helps. I just spent the last three days upgrading all our company Team Projects from 2008 to 2010 so I feel your pain :)

习惯成性 2024-11-23 10:15:12

这是我最后的问题。使用不同的网关就可以了。

It was problem at my end. Using a Different Gateway did the trick.

や莫失莫忘 2024-11-23 10:15:12

一旦我的 TFS 数据库服务器磁盘空间不足,我就会收到此错误。

I've got this error once my TFS database server ran out of diskspace.

穿越时光隧道 2024-11-23 10:15:12

我遇到了同样的错误。

我发现这看起来是一个可行的解决方案。 :

http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/f681a2d6-eca9-4488-96a3-ed979a545a9b

我最终只是将我的代理设置在 IE 中,它立即开始工作。

I encountered same error.

I found this which looked like a viable solution. :

http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/f681a2d6-eca9-4488-96a3-ed979a545a9b

I ended up just turning my proxy settings of in IE and it started working instantly.

洛阳烟雨空心柳 2024-11-23 10:15:12

tfs 2012 也发生了同样的情况 - 它已正确安装和配置,本地网络具有域,并且域中的所有用户都正确连接并使用 tfs 项目。

但是,一旦连接拒绝所有连接尝试,所有凭据都是正确的,但连接已被拒绝。尝试配置 tfs 客户端访问、重新启动客户端计算机...但毫无价值。

只有服务器服务/机器重新启动有帮助。祝你好运!

The same story occured with tfs 2012 - it was installed and configured properly, local network has domain and all users in domain correctly connected and worked with tfs projects.

But once the connection denied all tries for connection, all credentials were correct, but connections has been refused. Tried to configure tfs clients access, to reboot client machines... but worthless.

Only server service/machine rebooting helped. Good luck!

初心 2024-11-23 10:15:12

我通过清除缓存来修复:
C:\users{您的用户名}\Appdata\Local\Microsoft\Team Foundation{版本eg3.0}\Cache

首先退出任何打开的 Visual Studio 实例。

I fixed by clearing the cache at:
C:\users{yourusername}\Appdata\Local\Microsoft\Team Foundation{version e.g.3.0}\Cache

Quit any open instance of visual studio first.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文