简体   繁体   中英

Error in importing existing managed solution after Upgrading CRM 2013 to CRM 2015

We are facing an issue in CRM 2015 online which was recently upgraded from CRM 2013 online version., since Earlier back with CRM 2013, it was a smooth process.

Issue is occurring while importing same managed solution (from dev) over same managed solution (in Test environment). The exception is getting raised:

"Violation of UNIQUE KEY constraint 'UQ_LocalizedLabelCheck'. Cannot insert duplicate key in object 'MetadataSchema.LocalizedLabel'. The duplicate key value is (4badb078-13be-e311-b2b9-080027842291, name, 1033, Jun 19 2015  8:13AM, 0). The statement has been terminated."

We tracked down the flawed component through GUID (ie 4badb078-13be-e311-b2b9-080027842291 in this case). We managed to detect and remove certain charts but after doing this repetitive action, it took us to the Chart which was dependent on Account and a custom Entity, Describing-In short, that this may lead to problem sometime later (ie after we try to removing dependency).

Please let us know if anyone has seen this issue before. Any pointers will be helpful.

Thanks!

try removing the entity that causes the problem from the solution. import the solution and afterwards import the original solution. sometimes CRM has problems with dependencies.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM