【问题标题】:Web Role Deployment ErrorWeb 角色部署错误
【发布时间】:2017-02-28 15:29:22
【问题描述】:

使用 TFS 2015 更新 3 - 发布管理器。我为 QA 和 Live 设置了完全相同的设置,两者都工作得很好。我尝试使用相同的源版本创建一个新版本,同样的错误。我能够毫无问题地通过 Azure 门户上传 cscfg 和 cspkg。有什么想法吗?

2016-10-18T21:53:06.3839794Z Get-AzureDeployment -ServiceName BeethovenUAT -Slot Staging -ErrorAction SilentlyContinue -ErrorVariable azureDeploymentError
2016-10-18T21:53:08.6183599Z Set-AzureDeployment -Upgrade -ServiceName BeethovenUAT -Package \\storage\tfs builds\8517\UAT\BeethovenMicrosoftAzureCloudService.cspkg -Configuration \\storage\tfs builds\8517\UAT\BeethovenMicrosoftAzureCloudService.cspkg -Slot Staging -Label 8517 10/18/2016 22:53:06 -ExtensionConfiguration <extensions>
2016-10-18T21:56:37.1813672Z ##[error]Request Entity Too Large

【问题讨论】:

  • 关于带有azure 标记的错误“请求实体太大”有很多问题(和答案)。您可能需要对这些问题进行一些搜索,因为这很可能与其中一个问题重复。
  • 昨晚我花了几个小时搜索。 “请求实体太大”错误往往与 WCF 调用有关,就它们而言,这是有道理的。我遇到的问题是,这是通过 Release Manager 中的 PowerShell 返回的,它连接到 Azure API,我无法访问或控制它。

标签: azure tfs azure-web-roles tfs-2015 ms-release-management


【解决方案1】:

所以终于有人注意到了我的问题,让我大吃一惊的是,没有人,包括我,看到了这个。

2016-10-18T21:53:08.6183599Z Set-AzureDeployment -Upgrade -ServiceName BeethovenUAT -Package \storage\tfs builds\8517\UAT\BeethovenMicrosoftAzureCloudService.cspkg -Configuration \storage\tfs builds\8517\UAT \BeethovenMicrosoftAzureCloudService.cspkg -Slot Staging -Label 8517 10/18/2016 22:53:06 -ExtensionConfiguration

应该是

2016-10-18T21:53:08.6183599Z Set-AzureDeployment -Upgrade -ServiceName BeethovenUAT -Package \storage\tfs builds\8517\UAT\BeethovenMicrosoftAzureCloudService.cspkg -Configuration \storage\tfs builds\8517\UAT \BeethovenMicrosoftAzureCloudService.cscfg -Slot Staging -Label 8517 10/18/2016 22:53:06 -ExtensionConfiguration

【讨论】:

  • 它们有什么区别,两个版本还是一样的。我错过了什么吗?
  • 我最初为包和配置参数设置了 cspkg。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2011-09-17
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多