TF400324 Team Foundation 服务不可用 [英] TF400324 Team Foundation services are not available
问题描述
当我想用 VS 连接到 tfs 服务器时,我在团队基础上遇到了问题.
连接时出错:
TF400324:无法从服务器 获得 Team Foundation 服务.技术信息(供管理员使用):服务器违反了协议.Section=ResponseHeader Detail=标题名称无效
但是我用浏览器连接到 tfs 服务器并且无法连接到 VS.
tnx 给所有人 :)
尝试清除本地 TFS 缓存和 Visual Studio 缓存,然后重试.
- 关闭所有 Visual Studio 实例.
清除下面的visual studio缓存
%APPDATA%\Microsoft\VisualStudio
清除下面的 TFS 缓存
%LocalAppData%\Microsoft\Team Foundation\{version}\Cache
- 转到控制面板 -> 用户帐户 -> 管理您的凭据 ->Windows 凭据,选择 TFS 网址将其删除.
- 重新启动 Visual Studio 以重新连接到 TFS 服务器.
如果仍然不起作用,请尝试将以下代码添加到您的 TFS web.config
文件 (C:\Program Files\Microsoft Team Foundation Server 14.0\Application Tier\Web Services\web.config
):
<小时>
更新:
尝试以下事情:
运行以下命令重置用户数据,然后重试.
cd C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE
,devenv.exe/resetuserdata
- 尝试以其他用户身份运行命令:
runas/netonly/user:
devenv.exe - 重置 IIS 和应用程序池
如果还是不行,建议先卸载VS(干净卸载),然后重新安装..
i have a problem in team foundation when i want connect to tfs server with VS.
error at connect time :
TF400324: Team Foundation services are not available from server <URL>.
Technical information (for administrator):
The server committed a protocol violation. Section=ResponseHeader Detail=Header name is invalid
but i connect with browser to tfs server and can't connect with VS.
tnx to all :)
Try clear both local TFS cache and Visual Studio Cache, then try it again.
- Close all Visual Studio instances.
clear visual studio cache under
%APPDATA%\Microsoft\VisualStudio
clear TFS cache under
%LocalAppData%\Microsoft\Team Foundation\{version}\Cache
- Go to Control Panel -> User Accounts -> Manage your Credential -> Windows Credential, select the TFS url to remove it.
- Restart your Visual Studio to re-connect to your TFS Server.
If that still not work, just try adding following code to your TFS web.config
file (C:\Program Files\Microsoft Team Foundation Server 14.0\Application Tier\Web Services\web.config
):
<configuration>
<system.net>
<settings>
<httpWebRequest useUnsafeHeaderParsing="true"/>
</settings>
</system.net>
</configuration>
UPDATE:
Try below things :
Run below command to reset the user data, then try it again.
cd C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE
,devenv.exe /resetuserdata
- Try run as another user with command:
runas /netonly /user:<account> devenv.exe
- Reset IIS and application pool
If that still not work, I suggest removing the VS first (clean uninstall), then reinstall it again..
这篇关于TF400324 Team Foundation 服务不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!