Quantcast
Viewing all articles
Browse latest Browse all 79901

Error updating organization "Violation of UNIQUE KEY constraint 'UQ_LocalizedLabelCheck'. Cannot insert duplicate key"

I am trying to update an organization V.8.2.1.176 to V.8.2.5.4

it through following Error:

16:23:22|  Error| Installer Complete: OrganizationDatabaseHotFixer - Error encountered
16:23:22|  Error| Exception occured during Microsoft.Crm.Tools.Admin.OrganizationDatabaseHotFixer: Error.ActionFailed Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction
InnerException:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.SqlClient.SqlException: Violation of UNIQUE KEY constraint 'UQ_LocalizedLabelCheck'. Cannot insert duplicate key in object 'MetadataSchema.LocalizedLabel'. The duplicate key value is (e1bd1119-6e9d-45a4-bc15-12051e65a0bd, Description, 1033, Jan  1 1900 12:00AM, 0).
The statement has been terminated.


I checked the object ID in "MetadataSchema.LocalizedLable" table , it refers to "Organization names" entity and has 3 records with "description","LocalizedName" and ,"LocalizedCollectionName" in column "ObjectColumnName" and different lables. All I could understand was that the description record -that is referenced by Error message was blank in label column (it was also blank in UI in customizations form).

I have filled it in table (directly using sql)

I have filled it by Crm UI ( by changing isrenamble column in entity properties in sql)

I have deleted all 3 record from "MetadataSchema.LocalizedLable" table

still no chance! same error at every try to update organization.

P.S.: organization is working smoothly right now!


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>