0
我们的一个msbuilds的启动失败的前几天,出现此错误:如何解决Azure部署中的“.cscfg文件中指定的操作系统版本不活动”?
The polling operation Create Deployment failed with the error: (400) BadRequest. Error Code: BadRequest Message: The OS version specified in the .cscfg file is inactive. This means that it cannot currently be used to create, update or upgrade a deployment.
The deployment failed. Check the logs for exceptions that may have caused this failure.
Exception Message: An attempted http request against URI returned an error: (400) BadRequest. Additional Exception Information: Error Code: BadRequest Message: The OS version specified in the .cscfg file is inactive. This means that it cannot currently be used to create, update or upgrade a deployment. (type AzureHttpRequestException) Exception Stack Trace: at Microsoft.TeamFoundation.Deployment.Workflow.AzureManagement.v1_7.OperationStatusInfo.EnsureSuccessStatus(Uri requestUri) at Microsoft.TeamFoundation.Deployment.Workflow.Activities.ReportFailedPollResultAndThrow.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
每此页面时,它看起来好像是我们的客人操作系统版本被认为是“已禁用”,由微软:https://azure.microsoft.com/en-us/documentation/articles/cloud-services-guestos-update-matrix/
所以我更新.cscfg XML中'ServiceConfiguration'行的'osVersion ='WA-GUEST-OS-4.26_201511-02''到'osVersion =“WA-GUEST-OS-4.29_201602-01'的.cscfg文件文件。但它没有帮助。
有谁知道别的东西我可以试试?谢谢。