Azure TFS部署错误 "Invalid enum value ' FailedStartingRole'无法反序列化为类型”

标签 azure tfs azure-devops azure-deployment

我尝试从 TFS 进行部署,但收到错误:

Exception Message: Invalid enum value 'FailedStartingRole' cannot be deserialized into type 'Microsoft.TeamFoundation.Deployment.Workflow.AzureManagement.v1_7.InstanceStatus'. Ensure that the necessary enum values are present and are marked with EnumMemberAttribute attribute if the type has DataContractAttribute attribute. (type SerializationException)
Exception Stack Trace:    
   at System.Activities.Statements.Throw.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)

之前有什么想法或类似的经历吗?

最佳答案

当我遇到类似问题时,我之前在 Azure 中进行了失败的部署。因此,要修复 TFService 错误,只需从 Azure 管理门户中删除错误的部署即可。

关于Azure TFS部署错误 "Invalid enum value ' FailedStartingRole'无法反序列化为类型”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17688386/

相关文章:

visual-studio - 如何使用 TFS 离线工作

azure - 授予函数跨租户 Azure RM 访问权限

azure - 如何通过 Azure DevOps REST API 上传 'secret file'?

Azure CLI - az 部署组创建 - SubscriptionNotAuthorizedForImage 错误

azure - 如何强制 Azure WebApp 在每次部署后重新启动?

TFS 绝对初学者 : TF249051: No URL can be found that corresponds to the following server

powershell - VSTS 组变量无法通过 Powershell 任务使用

azure - 无权在 Azure 门户中创建新项目

c# - Azure WebJobs 3.0 上的 IQueueProcessorFactory?

2010 年至 2012 年 TFS 集合迁移