Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

This solution cannot be uninstalled because the 'LocalizedLabel' with id issue

(0) ShareShare
ReportReport
Posted on by 680

Hi,

We tried to apply for upgrade then we are getting below issue. Is anyone face similar issue and have solution for it.

Unhandled exception:

Exception type: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]

Message: This solution cannot be uninstalled because the 'LocalizedLabel' with id '1389e937-2356-633b-2a24-552184539390 & e1bebc2f-29d9-e711-8133-fc15b42827ec(Form)'  is required by the 'msdynce_SalesPatch201904' solution. Uninstall the msdynce_SalesPatch201904 solution and try again.Detail:

<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">

  <ActivityId>5958f872-3625-4dff-99ac-2e7c3586c404</ActivityId>

  <ErrorCode>-2147160032</ErrorCode>

  <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">

    <KeyValuePairOfstringanyType>

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

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

    </KeyValuePairOfstringanyType>

    <KeyValuePairOfstringanyType>

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

      <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">Microsoft.Crm.CrmException: This solution cannot be uninstalled because the 'LocalizedLabel' with id '1389e937-2356-633b-2a24-552184539390 &amp; e1bebc2f-29d9-e711-8133-fc15b42827ec(Form)'  is required by the 'msdynce_SalesPatch201904' solution. Uninstall the msdynce_SalesPatch201904 solution and try again. ---&gt; Microsoft.Crm.CrmException: This solution cannot be uninstalled because the 'LocalizedLabel' with id '1389e937-2356-633b-2a24-552184539390 &amp; e1bebc2f-29d9-e711-8133-fc15b42827ec(Form)'  is required by the 'msdynce_SalesPatch201904' solution. Uninstall the msdynce_SalesPatch201904 solution and try again.

   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.&lt;&gt;c__DisplayClass2_0.&lt;Execute&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.Platform.SolutionAwareComponents.ComponentStateTransition.Execute(Int32 componentType, Guid objectId, Object operationParameter, BusinessComponentState currentState, ExecutionContext context)

   at Microsoft.Crm.Platform.MetadataBusinessEntities.MetadataProcessObject.DoDelete(MetadataBusinessEntityMoniker moniker, ExecutionContext context)

   at Microsoft.Crm.Platform.MetadataBusinessEntities.MetadataProcessObject.&lt;&gt;c__DisplayClass15_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.SolutionComponentUninstaller.Uninstall(ComponentTypeMapData componentTypeData, Guid componentObjectId, SolutionUninstallContext solutionUninstallContext)

   at Microsoft.Crm.ObjectModel.UninstallHandler.&lt;&gt;c__DisplayClass7_0.&lt;CascadeUninstallToComponent&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.UninstallHandler.CascadeUninstallToComponent(ComponentTypeMapData typeData, String[] conditionColumns, Object[] conditionValues, SolutionUninstallContext solutionUninstallContext)

   at Microsoft.Crm.ObjectModel.SystemFormUninstallHandler.CascadeUninstallToFormLabels(BusinessEntity entity, SolutionUninstallContext solutionUninstallContext)

   at Microsoft.Crm.ObjectModel.SystemFormUninstallHandler.UpdateComponent(ComponentTypeMapData componentTypeData, Guid componentObjectId, ComponentInstance componentInstance, SolutionUninstallContext solutionUninstallContext)

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

   at Microsoft.Crm.ObjectModel.UninstallHandler.&lt;&gt;c__DisplayClass7_0.&lt;CascadeUninstallToComponent&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.UninstallHandler.CascadeUninstallToComponent(ComponentTypeMapData typeData, String[] conditionColumns, Object[] conditionValues, SolutionUninstallContext solutionUninstallContext)

   at Microsoft.Crm.Metadata.EntityUninstallHandler.CascadeUninstallToSystemForm(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__DisplayClass12_2.&lt;DeleteAndUpdate&gt;b__1()

   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="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">1c3c9276-67b9-4512-8ee2-8fc7c90e4833</d2p1:value>

    </KeyValuePairOfstringanyType>

    <KeyValuePairOfstringanyType>

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

      <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">1</d2p1:value>

    </KeyValuePairOfstringanyType>

    <KeyValuePairOfstringanyType>

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

      <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">5958f872-3625-4dff-99ac-2e7c3586c404</d2p1:value>

    </KeyValuePairOfstringanyType>

    <KeyValuePairOfstringanyType>

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

      <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">System</d2p1:value>

    </KeyValuePairOfstringanyType>

    <KeyValuePairOfstringanyType>

      <d2p1:key>ApiStepSolutionNameKey</d2p1:key>

      <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">System</d2p1:value>

    </KeyValuePairOfstringanyType>

    <KeyValuePairOfstringanyType>

      <d2p1:key>ApiExceptionCategory</d2p1:key>

      <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">ClientError</d2p1:value>

    </KeyValuePairOfstringanyType>

    <KeyValuePairOfstringanyType>

      <d2p1:key>ApiExceptionMesageName</d2p1:key>

      <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">CannotUninstallReferencedProtectedSolution</d2p1:value>

    </KeyValuePairOfstringanyType>

    <KeyValuePairOfstringanyType>

      <d2p1:key>ApiExceptionHttpStatusCode</d2p1:key>

      <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">400</d2p1:value>

    </KeyValuePairOfstringanyType>

    <KeyValuePairOfstringanyType>

      <d2p1:key>0</d2p1:key>

      <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">LocalizedLabel</d2p1:value>

    </KeyValuePairOfstringanyType>

    <KeyValuePairOfstringanyType>

      <d2p1:key>1</d2p1:key>

      <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">1389e937-2356-633b-2a24-552184539390 &amp; e1bebc2f-29d9-e711-8133-fc15b42827ec(Form)</d2p1:value>

    </KeyValuePairOfstringanyType>

    <KeyValuePairOfstringanyType>

      <d2p1:key>2</d2p1:key>

      <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">msdynce_SalesPatch201904</d2p1:value>

    </KeyValuePairOfstringanyType>

    <KeyValuePairOfstringanyType>

      <d2p1:key>HasRetried</d2p1:key>

      <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">True</d2p1:value>

    </KeyValuePairOfstringanyType>

    <KeyValuePairOfstringanyType>

      <d2p1:key>RetryExecutionStatus</d2p1:key>

      <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">Microsoft.Crm.Core.Extensions.Retry.RetryExecutionStatus</d2p1:value>

    </KeyValuePairOfstringanyType>

  </ErrorDetails>

  <HelpLink>http://go.microsoft.com/fwlink/?LinkID=398563&amp;error=Microsoft.Crm.CrmException%3a8004f020&amp;client=platform</HelpLink>

  <Message>This solution cannot be uninstalled because the 'LocalizedLabel' with id '1389e937-2356-633b-2a24-552184539390 &amp; e1bebc2f-29d9-e711-8133-fc15b42827ec(Form)'  is required by the 'msdynce_SalesPatch201904' solution. Uninstall the msdynce_SalesPatch201904 solution and try again.</Message>

  <Timestamp>2019-12-17T13:41:42.2394404Z</Timestamp>

  <ExceptionRetriable>false</ExceptionRetriable>

  <ExceptionSource i:nil="true" />

  <InnerFault i:nil="true" />

  <OriginalException i:nil="true" />

  <TraceText i:nil="true" />

</OrganizationServiceFault>

Thanks!

Balasaheb

  • Suggested answer
    Saad Kabarousse Profile Picture
    Saad Kabarousse 732 on at
    RE: This solution cannot be uninstalled because the 'LocalizedLabel' with id issue

    Hi,

    it seems that you need to define translations and import them on the new CRM organization. After that import your solution.

    The problem may be related to the fact that one of your solution components does not have a translation value in certain language.

    Export languages for your solution and check if all components have there translations.

    i hope this helps

  • Balasaheb Profile Picture
    Balasaheb 680 on at
    RE: This solution cannot be uninstalled because the 'LocalizedLabel' with id issue

    Hi,

    Yes we have multiple language. Is that issue but it is not replicate on other CRM.

    Thanks!

    Balasaheb  

  • Saad Kabarousse Profile Picture
    Saad Kabarousse 732 on at
    RE: This solution cannot be uninstalled because the 'LocalizedLabel' with id issue

    Hello,

    In the original organization was there than one langauge?

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans