Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Apply Solution Upgrade issue

Posted on by 115

Hi,

I am currently facing an issue while Upgrading a solution. The scenario is, I have created  a solution "ABC" in my dev environment and imported the same at client system as Managed Solution. Now i have created few  patches of Solution ABC and deployed at client system as well. 

Once all the patches are stable, i merged all the patches(i.e by cloning a solution) and tried to Import the latest merged solution at client system. The Merged solution got installed sucessfully but on click of Apply upgrade Solution,  i am getting an error as below

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: This solution cannot be uninstalled because the 'Attribute' with id '3ff4d8b9-0c63-4824-93e8-cc171e8f40ce(pro_ABCconfiguration)' is required by the 'ABC_Upgrade' solution. Uninstall the ABC_Upgrade solution and try again.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>d3223b27-d1d4-488a-8e7d-fa32ae2502d2</ActivityId>
<ErrorCode>-2147160032</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic">
<KeyValuePairOfstringanyType>
<d2p1:key>ApiExceptionSourceKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">Plugin/Microsoft.Crm.ObjectModel.SolutionService</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiOriginalExceptionKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">Microsoft.Crm.CrmException: This solution cannot be uninstalled because the 'Attribute' with id '3ff4d8b9-0c63-4824-93e8-cc171e8f40ce(pro_ABCconfiguration)' is required by the 'ABC_Upgrade' solution. Uninstall the ABC_Upgrade solution and try again. ---> Microsoft.Crm.CrmException: This solution cannot be uninstalled because the 'Attribute' with id '3ff4d8b9-0c63-4824-93e8-cc171e8f40ce(pro_ABCconfiguration)' is required by the 'ABC_Upgrade' solution. Uninstall the ABC_Upgrade solution and try again.

However the field 'pro_ABCconfiguration' already exist at client system still its giving us the above error.

Any help is greatly appreciated.

*This post is locked for comments

  • samwillm Profile Picture
    samwillm 142 on at
    RE: Apply Solution Upgrade issue

    If you have issues of Dynamics 365 upgrading, implementation and any kind of issues, you can visit one of the leading Microsoft gold partner - www.dynamicssquare.co.uk/.../

    You can chat directly , contact and email also, The consultant are ready to help you 24 hours.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Apply Solution Upgrade issue

    I am facing below issue while upgrading the solution. I have checked for missing references and everything seems to be in its place.

    I checked in ProcessTrigger and AttributeMap tables there is no process or attribute associated with solution id.

    Please assist.

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: solution With Id = 930c9201-a08f-427d-baef-6253d8b10cbd Does Not ExistDetail:
    <OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
    <ActivityId>26a8e4ec-82bc-40f0-801c-77a099081634</ActivityId>
    <ErrorCode>-2147220969</ErrorCode>
    <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic">
    <KeyValuePairOfstringanyType>
    <d2p1:key>ApiExceptionSourceKey</d2p1:key>
    <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">Plugin/Microsoft.Crm.ObjectModel.SolutionService</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
    <d2p1:key>ApiOriginalExceptionKey</d2p1:key>
    <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">Microsoft.Crm.BusinessEntities.CrmObjectNotFoundException: solution With Id = 930c9201-a08f-427d-baef-6253d8b10cbd Does Not Exist ---&gt; Microsoft.Crm.BusinessEntities.CrmObjectNotFoundException: solution With Id = 930c9201-a08f-427d-baef-6253d8b10cbd Does Not Exist
    at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context)
    at Microsoft.Crm.Caching.SolutionDataCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
    at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheDataInternal(TKey key, Object existingDataContainer, IOrganizationContext context)
    at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)
    at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context)
    at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.&lt;&gt;c__DisplayClass19_0.&lt;LookupEntry&gt;b__0()
    at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
    at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
    at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)
    at Microsoft.Crm.Platform.SolutionAwareComponents.ComponentStateTransition.DeleteAllComponentRows(BusinessComponentState currentState, ExecutionContext context, Boolean skipValidation)
    at Microsoft.Crm.Platform.SolutionAwareComponents.UninstallDeleteProtectedTransition.ConstructActionSet(Int32 componentType, Guid objectId, Object operationParameter, BusinessComponentState currentState, ExecutionContext context)
    at Microsoft.Crm.Platform.SolutionAwareComponents.ComponentStateTransition.Execute(Int32 componentType, Guid objectId, Object operationParameter, BusinessComponentState currentState, ExecutionContext context)
    at Microsoft.Crm.BusinessEntities.BusinessProcessObject.DoDeleteComponent(BusinessEntityMoniker moniker, Boolean isZombieComponent, ExecutionContext context)
    at Microsoft.Crm.BusinessEntities.BusinessProcessObject.DoDelete(BusinessEntityMoniker moniker, ExecutionContext context)
    at Microsoft.Crm.BusinessEntities.BusinessProcessObject.InternalDelete(BusinessEntityMoniker moniker, ExecutionContext context)
    at Microsoft.Crm.BusinessEntities.InternalDeleteStrategy.Delete(BusinessProcessObject proc, CascadeRecord record)
    at Microsoft.Crm.BusinessEntities.CascadeDeletionHandler.Delete(BusinessProcessObject proc, CascadeRecord record, ExecutionContext context)
    at Microsoft.Crm.BusinessEntities.CascadeEngine.&lt;&gt;c__DisplayClass16_0.&lt;CascadeDeleteBulkOM&gt;b__0()
    at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
    at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
    at Microsoft.Crm.BusinessEntities.CascadeEngine.&lt;&gt;c__DisplayClass8_0.&lt;CascadeDeleteDB&gt;b__0()
    at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
    at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
    at Microsoft.Crm.BusinessEntities.CascadeEngine.&lt;&gt;c__DisplayClass41_0.&lt;Delete&gt;b__0()
    at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func`1 func, IEnumerable`1 additionalCustomProperties)
    at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func`1 func)
    at Microsoft.Crm.BusinessEntities.BusinessProcessObject.&lt;&gt;c__DisplayClass194_0.&lt;Delete&gt;b__0()
    at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
    at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
    at Microsoft.Crm.ObjectModel.FieldPermissionServiceInternal`1.&lt;&gt;c__DisplayClass12_0.&lt;RemoveAttributeFromAllProfiles&gt;b__0()
    at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func`1 func, IEnumerable`1 additionalCustomProperties)
    at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func`1 func)
    at Microsoft.Crm.Metadata.AttributeService.DeleteSecuredAttributeFromProfiles(Int32 parentEntityTypeCode, MetadataHelper helper, ExecutionContext context, Boolean deletePOAAEntries, Boolean resetSubscriptions, AttributeDescription[] attributesToDelete)
    at Microsoft.Crm.Metadata.AttributeService.Delete(Guid attributeId, Int32 parentEntityTypeCode, MetadataHelper metadataHelper, ExecutionContext context)
    at Microsoft.Crm.Metadata.AttributeService.DeleteHelper(Guid attributeId, MetadataHelper metadataHelper, ExecutionContext context)
    at Microsoft.Crm.Metadata.AttributeService.&lt;&gt;c__DisplayClass25_0.&lt;Delete&gt;b__0()
    at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
    at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
    at Microsoft.Crm.Metadata.AttributeUninstallHandler.DeleteComponent(ComponentTypeMapData componentTypeData, Guid componentObjectId, SolutionUninstallContext solutionUninstallContext)
    at Microsoft.Crm.ObjectModel.SolutionComponentUninstaller.Uninstall(ComponentTypeMapData componentTypeData, Guid componentObjectId, SolutionUninstallContext solutionUninstallContext)
    at Microsoft.Crm.Metadata.EntityUninstallHandler.UninstallAttributeWithDependencyCheck(SolutionComponentUninstaller uninstaller, ComponentTypeMapData attributeTypeMapData, EntityMetadata entity, AttributeMetadata attribute, List`1 deletedAttributes, Guid originalAttributeId, SolutionUninstallContext solutionUninstallContext, Int32 recursionDepth)
    at Microsoft.Crm.Metadata.EntityUninstallHandler.CascadeUninstallToAttribute(Guid entityId, SolutionUninstallContext solutionUninstallContext)
    at Microsoft.Crm.Metadata.EntityUninstallHandler.CascadeUninstall(ComponentTypeMapData componentTypeData, Guid componentObjectId, SolutionUninstallContext solutionUninstallContext)
    at Microsoft.Crm.ObjectModel.SolutionComponentUninstaller.Uninstall(ComponentTypeMapData componentTypeData, Guid componentObjectId, SolutionUninstallContext solutionUninstallContext)
    at Microsoft.Crm.ObjectModel.TypeUninstallHandler.&lt;&gt;c__DisplayClass7_0.&lt;UninstallComponent&gt;b__0()
    at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
    at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
    at Microsoft.Crm.ObjectModel.TypeUninstallHandler.Uninstall(SolutionUninstallContext solutionUninstallContext)
    at Microsoft.Crm.ObjectModel.SolutionUninstallService.Uninstall(ISolution solution, DynamicMetadataCache cache, ExecutionContext context)
    at Microsoft.Crm.ObjectModel.SolutionServiceInternal`1.DeleteInternal(ISolution solution, ExecutionContext context)
    at Microsoft.Crm.ObjectModel.SolutionServiceInternal`1.&lt;&gt;c__DisplayClass10_2.&lt;DeleteAndUpdate&gt;b__0()
    at Microsoft.Crm.ObjectModel.CustomizationSqlLockManager.ExecuteInLock(String operationName, Int32 errorCode, Action action)
    at Microsoft.Crm.ObjectModel.SolutionServiceInternal`1.DeleteAndUpdate(BusinessEntityMoniker moniker, ExecutionContext context, IBusinessEntity upgradingSolution)
    at Microsoft.Crm.ObjectModel.SolutionServiceInternal`1.DeleteAndPromote(String parentUniqueName, ExecutionContext context)
    --- End of inner exception stack trace ---
    at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
    at Microsoft.Crm.Extensibility.PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action, PipelineExecutionContext context)
    at Microsoft.Crm.Extensibility.Pipeline.&lt;&gt;c__DisplayClass2_1.&lt;Execute&gt;b__0()</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
    <d2p1:key>ApiStepKey</d2p1:key>
    <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">1c3c9276-67b9-4512-8ee2-8fc7c90e4833</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
    <d2p1:key>ApiDepthKey</d2p1:key>
    <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">1</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
    <d2p1:key>ApiActivityIdKey</d2p1:key>
    <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">26a8e4ec-82bc-40f0-801c-77a099081634</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
    <d2p1:key>ApiPluginSolutionNameKey</d2p1:key>
    <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">System</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
    <d2p1:key>ApiStepSolutionNameKey</d2p1:key>
    <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">System</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
    <d2p1:key>HasRetried</d2p1:key>
    <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">True</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
    <d2p1:key>RetryExecutionStatus</d2p1:key>
    <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">Microsoft.Crm.Core.Extensions.Retry.RetryExecutionStatus</d2p1:value>
    </KeyValuePairOfstringanyType>
    </ErrorDetails>
    <Message>solution With Id = 930c9201-a08f-427d-baef-6253d8b10cbd Does Not Exist</Message>
    <Timestamp>2018-11-20T21:44:10.8872707Z</Timestamp>
    <ExceptionRetriable>false</ExceptionRetriable>
    <ExceptionSource i:nil="true" />
    <InnerFault i:nil="true" />
    <OriginalException i:nil="true" />
    <TraceText i:nil="true" />
    </OrganizationServiceFault>

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Apply Solution Upgrade issue

    I am facing the same issue. I am working MS Dynamics CRM 365 v9.x Online.

    Any new ideas or suggestions?

  • Saif Ehsan Profile Picture
    Saif Ehsan 360 on at
    RE: Apply Solution Upgrade issue

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: solution With Id = 8298caa3-dd9f-4ff0-8af6-66d2359ec4d9 Does Not ExistDetail:

    <OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance&quot; xmlns="schemas.microsoft.com/.../Contracts&quot;>

     <ActivityId>bf9ad79f-cfe0-45b0-bf4e-95e0f4639ff1</ActivityId>

     <ErrorCode>-2147220969</ErrorCode>

     <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic&quot;>

       <KeyValuePairOfstringanyType>

         <d2p1:key>ApiExceptionSourceKey</d2p1:key>

         <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema&quot; i:type="d4p1:string">Plugin/Microsoft.Crm.ObjectModel.SolutionService</d2p1:value>

       </KeyValuePairOfstringanyType>

       <KeyValuePairOfstringanyType>

         <d2p1:key>ApiOriginalExceptionKey</d2p1:key>

         <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema&quot; i:type="d4p1:string">Microsoft.Crm.BusinessEntities.CrmObjectNotFoundException: solution With Id = 8298caa3-dd9f-4ff0-8af6-66d2359ec4d9 Does Not Exist ---> Microsoft.Crm.BusinessEntities.CrmObjectNotFoundException: solution With Id = 8298caa3-dd9f-4ff0-8af6-66d2359ec4d9 Does Not Exist

      at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32 languageCode, DatabaseQueryTarget queryTarget)

      at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32 languageCode)

      at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context)

      at Microsoft.Crm.Caching.SolutionDataCacheLoader.LoadCacheData(Guid key, ExecutionContext context)

      at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheDataInternal(TKey key, Object existingDataContainer, IOrganizationContext context)

      at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)

      at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context)

      at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)

      at Microsoft.Crm.Platform.SolutionAwareComponents.ComponentStateTransition.DeleteAllComponentRows(BusinessComponentState currentState, ExecutionContext context, Boolean skipValidation)

      at Microsoft.Crm.Platform.SolutionAwareComponents.UninstallDeleteProtectedTransition.ConstructActionSet(Int32 componentType, Guid objectId, Object operationParameter, BusinessComponentState currentState, ExecutionContext context)

      at Microsoft.Crm.Platform.SolutionAwareComponents.ComponentStateTransition.Execute(Int32 componentType, Guid objectId, Object operationParameter, BusinessComponentState currentState, ExecutionContext context)

      at Microsoft.Crm.BusinessEntities.BusinessProcessObject.DoDeleteComponent(BusinessEntityMoniker moniker, Boolean isZombieComponent, ExecutionContext context)

      at Microsoft.Crm.BusinessEntities.BusinessProcessObject.DoDelete(BusinessEntityMoniker moniker, ExecutionContext context)

      at Microsoft.Crm.BusinessEntities.BusinessProcessObject.InternalDelete(BusinessEntityMoniker moniker, ExecutionContext context)

      at Microsoft.Crm.BusinessEntities.InternalDeleteStrategy.Delete(BusinessProcessObject proc, CascadeRecord record)

      at Microsoft.Crm.BusinessEntities.CascadeDeletionHandler.Delete(BusinessProcessObject proc, CascadeRecord record, ExecutionContext context)

      at Microsoft.Crm.BusinessEntities.CascadeEngine.CascadeDeleteBulkOM(CascadeRecordSet collection, Int32 parentEntityObjectTypeCode, ExecutionContext context, Boolean cascadeDeleteChildEntityRecords, IEnumerable`1 parentEntityIds)

      at Microsoft.Crm.BusinessEntities.CascadeEngine.CascadeDeleteDB(IEnumerable`1 parentEntityIds, Int32 parentEntityObjectTypeCode, ExecutionContext context)

      at Microsoft.Crm.BusinessEntities.CascadeEngine.Delete(IEnumerable`1 entityIds, Int32 entityObjectTypeCode, ExecutionContext context)

      at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Delete(BusinessEntityMoniker moniker, ExecutionContext context)

      at Microsoft.Crm.ObjectModel.Solution.Uninstall.AppModuleUninstallHandler.DeleteAppModuleRoles(Guid appModuleId, SolutionUninstallContext solutionUninstallContext)

      at Microsoft.Crm.ObjectModel.Solution.Uninstall.AppModuleUninstallHandler.DeleteComponent(ComponentTypeMapData componentTypeData, Guid componentObjectId, SolutionUninstallContext solutionUninstallContext)

      at Microsoft.Crm.ObjectModel.SolutionComponentUninstaller.Uninstall(ComponentTypeMapData componentTypeData, Guid componentObjectId, SolutionUninstallContext solutionUninstallContext)

      at Microsoft.Crm.ObjectModel.TypeUninstallHandler.UninstallComponent(SolutionComponentUninstaller uninstaller, BusinessEntity entity, SolutionUninstallContext solutionUninstallContext)

      at Microsoft.Crm.ObjectModel.TypeUninstallHandler.Uninstall(SolutionUninstallContext solutionUninstallContext)

      at Microsoft.Crm.ObjectModel.SolutionUninstallService.UninstallComponentTypeFromSolution(Int32 componentType, SolutionUninstallContext solutionUninstallContext)

      at Microsoft.Crm.ObjectModel.SolutionUninstallService.Uninstall(ISolution solution, DynamicMetadataCache cache, ExecutionContext context)

      at Microsoft.Crm.ObjectModel.SolutionServiceInternal`1.DeleteInternal(List`1 solutions, ExecutionContext context)

      at Microsoft.Crm.ObjectModel.SolutionServiceInternal`1.<>c__DisplayClass7_0.<Delete>b__0()

      at Microsoft.Crm.ObjectModel.CustomizationSqlLockManager.ExecuteInLock(Action action)

      at Microsoft.Crm.ObjectModel.SolutionServiceInternal`1.Delete(BusinessEntityMoniker moniker, ExecutionContext context)

      at Microsoft.Crm.ObjectModel.SolutionServiceInternal`1.DeleteAndPromote(String parentUniqueName, ExecutionContext context)

      --- End of inner exception stack trace ---

      at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)

      at Microsoft.Crm.Extensibility.PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action, PipelineExecutionContext context)

      at Microsoft.Crm.Extensibility.Pipeline.<>c__DisplayClass1_0.<Execute>b__0()</d2p1:value>

       </KeyValuePairOfstringanyType>

       <KeyValuePairOfstringanyType>

         <d2p1:key>ApiStepKey</d2p1:key>

         <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema&quot; i:type="d4p1:string">1c3c9276-67b9-4512-8ee2-8fc7c90e4833</d2p1:value>

       </KeyValuePairOfstringanyType>

       <KeyValuePairOfstringanyType>

         <d2p1:key>ApiDepthKey</d2p1:key>

         <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema&quot; i:type="d4p1:string">1</d2p1:value>

       </KeyValuePairOfstringanyType>

       <KeyValuePairOfstringanyType>

         <d2p1:key>ApiActivityIdKey</d2p1:key>

         <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema&quot; i:type="d4p1:string">bf9ad79f-cfe0-45b0-bf4e-95e0f4639ff1</d2p1:value>

       </KeyValuePairOfstringanyType>

       <KeyValuePairOfstringanyType>

         <d2p1:key>ApiPluginSolutionNameKey</d2p1:key>

         <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema&quot; i:type="d4p1:string">System</d2p1:value>

       </KeyValuePairOfstringanyType>

     </ErrorDetails>

     <Message>solution With Id = 8298caa3-dd9f-4ff0-8af6-66d2359ec4d9 Does Not Exist</Message>

     <Timestamp>2018-02-19T10:50:21.8717328Z</Timestamp>

     <ExceptionRetriable>false</ExceptionRetriable>

     <ExceptionSource i:nil="true" />

     <InnerFault i:nil="true" />

     <OriginalException i:nil="true" />

     <TraceText i:nil="true" />

    </OrganizationServiceFault>

  • Saif Ehsan Profile Picture
    Saif Ehsan 360 on at
    RE: Apply Solution Upgrade issue

    How would you check for missing references? added almost every entity and resource in the system, and sill getting this apply solution upgrade error!!

  • Verified answer
    RE: Apply Solution Upgrade issue

    Hi Sourav,

    Can you please check that your cloned solution(merged solution) do not have any missing reference.

    If Yes, then do add then and export. And try to import at destination CRM

  • Sourav0147 Profile Picture
    Sourav0147 115 on at
    RE: Apply Solution Upgrade issue

    There are no other Solution apart from Base Solution and Patches.  I have just Merged all the patches at Dev enviroment and imported it in client system. Now getting error while upgrading the solution

  • Suggested answer
    Rawish Kumar Profile Picture
    Rawish Kumar 13,756 on at
    RE: Apply Solution Upgrade issue

    if yes, you have already figured out the name of the field , which is great- now you have to first deal with this field and get it removed from the other solution , there are couple of option on how you can do this.

  • Suggested answer
    Rawish Kumar Profile Picture
    Rawish Kumar 13,756 on at
    RE: Apply Solution Upgrade issue

    Hi Sourav,

    What it means is when you click on stage for upgrade - it will literally delete all the patches - now in one of your patch you have this field which is also there in some other solution which i am suspecting is a managed solution.

  • Sourav0147 Profile Picture
    Sourav0147 115 on at
    RE: Apply Solution Upgrade issue

    I am Just clicking on Apply Upgrade Solution. Internally CRM must be deleting patches which were installed.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans