Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Failed to import Dynamics CRM organization

$
0
0

Hi there,

I got the following errors while trying to import CRM organization from 1 environment to another environment. I know the custom table that it complained does not have primary key violation. I've also tried to remove all key constraints in DB level before reimporting but didn't work. Hope anyone can share some light. Thanks

15:51:29| Error| The following connections need to be closed before setup can continue:
15:51:29| Error| Login: CRM\crmservice, Host: Win2019.mmc, Database: xxxxxx_MSCRM, User: crmservice, Program: MSCRMmmc
15:51:29|Warning| Check SqlConnectionValidator : Warning: Existing SQL Server connections to the Dynamics 365 databases must be closed before setup can continue.
15:51:29|Verbose| Connecting to database Data Source=Win2019;Initial Catalog=xxxxxx_MSCRM;Integrated Security=SSPI.
15:51:30| Error| Check SqlPrimaryKeyConstraintValidator : Failure: Violation of PRIMARY KEY constraint 'PK__#Invalid__59D49277BDDB8448'. Cannot insert duplicate key in object 'dbo.#InvalidPrimaryKeys'. The duplicate key value is (CustomEntityBase, CustomEntityId).
The statement has been terminated.


Viewing all articles
Browse latest Browse all 46379

Trending Articles



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