MUI Provisioning failed – Workaround

I got a couple of people leaving comments regarding an error they where encountering while applying a language pack on a supported environment.

They were able to install a MUI (language pack) but were not able to enable it, if any entity has had its form settings edited. When activating the language pack, a SQL error is returned: “Cannot insert duplicate key row in object ‘dbo.LocalizedLabel’ with unique index ‘ndx_LocalizedLabel_ForSingleSelect‘.” The error that was shown in the event viewer.

Before using this workaround, make sure you have the exact same error and situation. If that’s the case, make sure you have a backup of your CRM database before you execute the following T-SQL query:

DELETE FROM MetadataSchema.LocalizedLabel WHERE customizationlevel = 2


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: