简体   繁体   English

TFS 2013版本管理客户端无法与服务器通信

[英]TFS 2013 Release Management Client not communicating with Server

I am trying to configure Release Management Client to work with a Release Management Server for Microsoft TFS 2013 on a Windows Server 2008 R2 Standard. 我正在尝试配置发行版管理客户端以与Windows Server 2008 R2 Standard上的Microsoft TFS 2013发行版管理服务器一起使用。

I installed (without any errors) the following two from our subscription downloads: 我从订阅下载中安装了以下两个程序(没有任何错误):

  • en_release_management_server_for_team_foundation_server_2013_with_update_4_x64_web_installer_5920525 en_release_management_server_for_team_foundation_server_2013_with_update_4_x64_web_installer_5920525
  • en_release_management_client_for_visual_studio_2013_with_update_4_x86_x64_web_installer_5920526 en_release_management_client_for_visual_studio_2013_with_update_4_x86_x64_web_installer_5920526

I have not installed any Microsoft Deployment Agents. 尚未安装任何Microsoft部署代理。

I have installed and configured the RM server for a SQLExpress db (different from the TFS db in our case) and for now I used my own network credentials (being a member of Administrators group on the server and a member of Default Collection Administrators on TFS, with "Make requests on behalf of others" set to "Allow" on TFS). 我已经为SQLExpress数据库(与我们的情况下的TFS数据库不同)安装并配置了RM服务器,现在我使用了自己的网络凭据(成为服务器上Administrators组的成员和TFS Default Set Administrators的成员) ,并且在TFS上将“代表他人发出请求”设置为“允许”。

When I copy the RM Server URL from "Configure Release Management Server" screen ( http://xxx:1000/ReleaseManagement ) and paste it into a browser, the page loads without any errors. 当我从“配置发布管理服务器”屏幕( http:// xxx:1000 / ReleaseManagement )复制RM Server URL并将其粘贴到浏览器中时,页面加载没有任何错误。

However, when the same URL is used in RM Client Configuration, I get an error: "The server specified could not be reached": 但是,在RM客户端配置中使用相同的URL时,出现错误:“无法访问指定的服务器”:

无法到达指定的服务器

We have VS2012 on the server and VS2013 Ultimate on my own dev machine. 服务器上有VS2012,我自己的开发机上有VS2013 Ultimate。 I tried installing and configuring the client on both the server (Win Server 2008 R2 Standard) and my dev machine (Win 8.1 Pro), and I still get the same error (so I assume the version of VS is not an issue). 我尝试在服务器(Win Server 2008 R2 Standard)和开发机(Win 8.1 Pro)上都安装和配置客户端,但是仍然遇到相同的错误(因此我认为VS的版本不是问题)。

Looking at the event log, I get two errors. 查看事件日志,我得到两个错误。

ERROR ONE: 错误一:

The remote server returned an error: (404) Not Found .: \\r\\n\\r\\n at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at Microsoft.TeamFoundation.Release.Data.WebRequest.PlatformHttpClient.EndGetResponse(IAsyncResult asyncResult) at Microsoft.TeamFoundation.Release.Data.WebRequest.RestClientResponseRetriever.EndGetAsyncMemoryStreamFromResponse(IAsyncResult asyncResult, IPlatformHttpClient platformHttpClient) 远程服务器返回错误:(404)找不到 。:\\ r \\ n \\ r \\ n位于Microsoft.TeamFoundation.Release.Data.WebRequest.PlatformHttpClient.EndGetResponse(IAsyncResult)的System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) Microsoft.TeamFoundation.Release.Data.WebRequest.RestClientResponseRetriever.EndGetAsyncMemoryStreamFromResponse(IAsyncResult asyncResult,IPlatformHttpClient platformHttpClient)上的asyncResult)

.... [edited out for brevity] .... [为简洁起见,已编辑]

Process Name: C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\Release Management\\Client\\bin\\ReleaseManagementConsole.exe 进程名称:C:\\ Program Files(x86)\\ Microsoft Visual Studio 12.0 \\ Release Management \\ Client \\ bin \\ ReleaseManagementConsole.exe

ERROR TWO: 错误二:

Error communicating to the web server URL : http://xxx:1000/ReleaseManagement/account/releaseManagementService/_apis/releaseManagement/ 与Web服务器URL通讯时出错http:// xxx:1000 / ReleaseManagement / account / releaseManagementService / _apis / releaseManagement /

Indeed, when I enter that URL in a browser, I get " 404 - File or directory not found ". 确实,当我在浏览器中输入该URL时,我得到“ 404-文件或目录未找到 ”。 Here is what the site structure is: 网站结构如下:

RM_Site_Structure

What I should do to be able to configure our Release Management Client without errors, please? 为了能够正确配置我们的发布管理客户端,我应该怎么做?

Additional observations: 其他观察:

  1. I cannot see "Release Management" role on our server, but have seen in mentioned in relation to RM installs. 我在服务器上看不到“发布管理”角色,但提到了与RM安装有关的内容。

  2. The client installer reads "Release Management Client for Visual Studio 2013 Update 4", whereas instructions here indicate it should be "Release Management Client for Team Foundation Server 2013 Update 4". 客户端安装程序读取“ Visual Studio 2013 Update 4的发行管理客户端”,而此处的说明指示它应为“ Team Foundation Server 2013 Update 4的发行管理客户端”。 Surprisingly, when I ran the installer recommended by that article, the title again read "...for Visual Studio" as opposed to "...for Team Foundation Server". 令人惊讶的是,当我运行该文章推荐的安装程序时,标题再次显示为“ ... for Visual Studio”,而不是“ ... for Team Foundation Server”。

Many thanks in advance! 提前谢谢了!

You're entering the wrong URL. 您输入的网址错误。 The URL should be http://<RM Server Name>:<Port> . URL应为http://<RM Server Name>:<Port> No /ReleaseManagement/ . /ReleaseManagement/

The /ReleaseManagement / folder is not for the desktop client, but rather for the approval dashboard. /ReleaseManagement /文件夹不适用于桌面客户端,而是用于批准仪表板。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM