web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Error enabling language pack CRM 365

(0) ShareShare
ReportReport
Posted on by 57

Hi,

We have a strange problem enabling the language pack. The language pack is installed on the CRM 365 version 8.2.1. But when enabling we have the following error:

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Expected a component that is marked as Deleted to contain other instances that are not deletedDetail: 
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
  <ActivityId>24d0afe9-6331-457a-a07f-97a0166633d3</ActivityId>
  <ErrorCode>-2147160060</ErrorCode>
  <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
  <Message>Expected a component that is marked as Deleted to contain other instances that are not deleted</Message>
  <Timestamp>2017-10-14T08:51:00.3070736Z</Timestamp>
  <ExceptionRetriable>false</ExceptionRetriable>
  <ExceptionSource i:nil="true" />
  <InnerFault i:nil="true" />
  <OriginalException i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>

The trace log is also does not have enough detail to handle it. Did anyone else encountered this error?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Payman Biukaghazadeh Profile Picture
    57 on at

    This may occur for others. You could use this solution:

    This solution is not a supported method, so take a full backup of your DBs before committing changes.

    This error occurs because exceptions occur in the installation or un-installation process of the language pack. To overcome this issue check all table of metadataschema such as attributes, localizedlabels, ...

    If any record with componentstate of 2 or 3 exist, it could cause this error. Delete all records with the condition of componentstate = 2 or 3. Then publish customizations and do an IISRESET. Then you could enable the language pack without error.

  • Community Member Profile Picture
    on at

    Can you explain maybe in step-by-step, how you did this?

    Kind regards

    Marcel

  • Community Member Profile Picture
    on at

    Ok I did it. For anybody else who is running into this error:

    A little description:

    go into sql manager and run the following command against your crm-database:

    select * from MetadataSchema.Attribute WHERE ComponentState = 3 or ComponentState = 2

    If you get any result run:

    delete from MetadataSchema.Attribute WHERE ComponentState = 3 or ComponentState = 2

    This is the first query you run.

    Now you change the "MetadataSchema.Attribute" -Table with the next table:

    --> MetadataSchema.AttributeLookupValue    then:

    --> MetadataSchema.AttributePicklistValue     and so on...

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans