Visual studio SharePoint 中的团队基础服务器 Web 部件无法连接到 TFS 2015 更新 3

Visual studio team foundation server web parts in SharePoint cannot connect to TFS 2015 Update 3

我的 SharePoint 网站无法连接到 TFS Web 部件,例如:已完成的构建等。错误类似于

TF400324:服务器 https://MyServer/tfs 不提供 Team Foundation 服务。技术信息(针对管理员):基础连接已关闭:发送时发生意外错误。

我相信原因是一样的,这也是 TLS 1.0 禁用导致的。但无法弄清楚 SharePoint 如何连接到 TFS 以及我应该将哪个服务器放入注册表中。

我已尝试在 SharePoint 服务器中添加 .Net 框架注册表,但未能解决问题。

  1. 转到 TFS 管理控制台并检查 SharePoint Web 应用程序的连接,查看连接是否仍在工作。

  2. 尝试转到TFS AT机器并访问SharePoint站点,看看是否有同样的问题。

  3. 配置 SharePoint 站点以使用 HTTPS 和证书通常需要额外的步骤,例如 configuring alternate access mappings and configuring authentication infrastructure. You may check detailed steps of setting up HTTPS with SSL for TFS at website below: https://www.visualstudio.com/en-us/docs/setup-admin/tfs/admin/setup-secure-sockets-layer#obtaining-a-certificate