TF400324 Team Foundation 服务不可用 [英] TF400324 Team Foundation services are not available

查看:25
本文介绍了TF400324 Team Foundation 服务不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我想用 VS 连接到 tfs 服务器时,我在团队基础上遇到了问题.

连接时出错:

TF400324:无法从服务器  获得 Team Foundation 服务.技术信息(供管理员使用):服务器违反了协议.Section=ResponseHeader Detail=标题名称无效

但是我用浏览器连接到 tfs 服务器并且无法连接到 VS.

tnx 给所有人 :)

解决方案

尝试清除本地 TFS 缓存和 Visual Studio 缓存,然后重试.

  1. 关闭所有 Visual Studio 实例.
  2. 清除下面的visual studio缓存

    %APPDATA%\Microsoft\VisualStudio

  3. 清除下面的 TFS 缓存

    %LocalAppData%\Microsoft\Team Foundation\{version}\Cache

  4. 转到控制面板 -> 用户帐户 -> 管理您的凭据 ->Windows 凭据,选择 TFS 网址将其删除.
  5. 重新启动 Visual Studio 以重新连接到 TFS 服务器.

如果仍然不起作用,请尝试将以下代码添加到您的 TFS web.config 文件 (C:\Program Files\Microsoft Team Foundation Server 14.0\Application Tier\Web Services\web.config):

<预><代码><配置><system.net><设置><httpWebRequest useUnsafeHeaderParsing="true"/></设置></system.net></配置>

<小时>

更新:

尝试以下事情:

  • 运行以下命令重置用户数据,然后重试.

    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.

  1. ​Close all Visual Studio instances.
  2. clear visual studio cache under

    %APPDATA%\Microsoft\VisualStudio
    

  3. clear TFS cache under

    %LocalAppData%\Microsoft\Team Foundation\{version}\Cache
    

  4. Go to Control Panel -> User Accounts -> Manage your Credential -> Windows Credential, select the TFS url to remove it.
  5. 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屋!

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