带有现有解决方案补丁的MSCRM 2016 OnPrem解决方案升级死锁

时间:2019-09-05 09:05:24

标签: dynamics-crm upgrade deadlock dynamics-crm-2016

这是我的情况:

在我的MSCRM 2016本地版本中,我有3种类型的解决方案,我将其称为基本解决方案。

这些是:

  • IWO_CRM(V2.3.0.0)->基本解决方案
  • IWO_CRM_Patch _...(V2.3.1.0)->包含急需的工作流程
  • IWO_CRM_Upgrade(V2.4.0.2)->新导入的升级基本解决方案

这些都是托管解决方案。

通常,我只是升级即可获得漂亮的 IWO_CRM(V2.4.0.2) 但是墨菲phy了我一眼,却拒绝了!

我的问题现在是:

我无法运行升级,因为它无法找到基本解决方案中包含的所有实体。

错误日志指出,缺少修补程序解决方案的工作流。

但是如果不使用Upgrade-Solution,我无法将Base-Solution与Patch-Solution合并。

当我尝试获取找不到实体的错误时,我无法卸载补丁或升级解决方案。

虽然一切都乱七八糟,但我不确定应该做什么或可以做什么。

以下是各种错误的概述:

尝试升级解决方案

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: workflow With Id = db73b25c-c714-46d0-9d05-d3d19a33e82a Does Not ExistDetail: 
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
  <ActivityId>3d3042f4-a52b-47d4-a93f-871e1904526e</ActivityId>
  <ErrorCode>-2147220969</ErrorCode>
  <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
  <Message>workflow With Id = db73b25c-c714-46d0-9d05-d3d19a33e82a Does Not Exist</Message>
  <Timestamp>2019-09-05T08:24:15.968578Z</Timestamp>
  <ExceptionRetriable>false</ExceptionRetriable>
  <ExceptionSource i:nil="true" />
  <InnerFault i:nil="true" />
  <OriginalException i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>

尝试删除升级解决方案

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: All entities must be found.Detail: 
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
  <ActivityId>ef3e6030-5d3f-43b7-a202-c82584b7f15a</ActivityId>
  <ErrorCode>-2147220970</ErrorCode>
  <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
  <Message>All entities must be found.</Message>
  <Timestamp>2019-09-05T08:48:57.9558391Z</Timestamp>
  <ExceptionRetriable>false</ExceptionRetriable>
  <ExceptionSource i:nil="true" />
  <InnerFault i:nil="true" />
  <OriginalException i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>

尝试删除补丁解决方案(看上去确实像第一个错误)

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: workflow With Id = db73b25c-c714-46d0-9d05-d3d19a33e82a Does Not ExistDetail: 
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
  <ActivityId>7b9f6465-df4d-44af-8497-c706bd9fee5b</ActivityId>
  <ErrorCode>-2147220969</ErrorCode>
  <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
  <Message>workflow With Id = db73b25c-c714-46d0-9d05-d3d19a33e82a Does Not Exist</Message>
  <Timestamp>2019-09-05T08:50:25.7216539Z</Timestamp>
  <ExceptionRetriable>false</ExceptionRetriable>
  <ExceptionSource i:nil="true" />
  <InnerFault i:nil="true" />
  <OriginalException i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>

我真的希望这是足够的信息来描述我的问题。 任何帮助表示赞赏。

谢谢大家

0 个答案:

没有答案