MS版本管理 - 远程服务器返回错误:(500)内部服务器错误

时间:2014-10-06 18:18:15

标签: release-management ms-release-management

当我从MS RM客户端触发发布时,我收到以下错误。此错误消息来自目标计算机的事件查看器。

Message: The remote server returned an error: (500) Internal Server Error.: \r\n\r\n   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at Microsoft.TeamFoundation.Release.Data.WebRequest.RestClientResponseRetriever.EndGetAsyncMemoryStreamFromResponse(IAsyncResult asyncResult, IPlatformHttpClient platformHttpClient)
   at Microsoft.TeamFoundation.Release.Data.WebRequest.RestClientResponseRetriever.EndDownloadString(IAsyncResult asyncResult, IPlatformHttpClient platformHttpClient)
   at Microsoft.TeamFoundation.Release.Data.WebRequest.RestClient.EndGet(IAsyncResult asyncResult)
   at Microsoft.TeamFoundation.Release.Data.Proxy.RestProxy.BaseDeploymentControllerServiceProxy.GetPackageFileInfos(String packageLocation)
   at Microsoft.TeamFoundation.Release.DeploymentAgent.Services.Deployer.HttpPackageDownloader.CopyPackageAndUnpackIt(String packageSourceLocation, String filesDestinationLocation)
   at Microsoft.TeamFoundation.Release.DeploymentAgent.Services.Deployer.ComponentProcessor.CopyComponentFiles()
   at Microsoft.TeamFoundation.Release.DeploymentAgent.Services.Deployer.ComponentProcessor.DeployComponent()

从部署日志中,我可以看到文件复制组件失败。

我能够将文件从RM服务器计算机手动复制到目标计算机中的共享位置。我与运行Deployment Agent和复制的同一用户共享的文件夹工作正常。

请参阅下面的部署日志屏幕。 Deployment Log screen 我期待着专家的一些积极回应。

1 个答案:

答案 0 :(得分:0)

此错误将在不同的方案中发生。在我的案例中,我已经做了两件事来解决它。

  1. 我已将放置位置更改为共享位置(UNC路径)。以前,在发布模板中选择了“将构建输出复制到服务器”选项。
  2. 在Azure中为TCP和UDP打开了端口445。
  3. 现在我的发布没有这样的错误,构建已成功发布......!

相关问题