简体   繁体   English

将本地 MS Dynamics CRM 2013 升级到本地 MS Dynamics CRM 2015

[英]Upgrade On-premise MS Dynamics CRM 2013 to On-Premise MS Dynamics CRM 2015

I have a problem when do upgrade from MS Dynamics CRM 2013 to 2015.从 MS Dynamics CRM 2013 升级到 2015 时遇到问题。

When Import Organization Wizard does System Checks, it gets error:当导入组织向导执行系统检查时,它得到错误:

Violation of PRIMARY KEY constraint 'PK__#ActualC__59D49277A86CC312'. 
Cannot insert duplicate key in object 'dbo.#ActualColumns'. 
The duplicate key value is (SplitString, Data).

Other info:其他信息:

  • CRM 2013 SP1 (6.1.3.119); CRM 2013 SP1 (6.1.3.119);

  • SQL 2012 Enterprise SP2 SQL 2012 企业版 SP2

This might happen if you made unsupported modification to your CRM database, such as adding custom tables.如果您对 CRM 数据库进行了不受支持的修改(例如添加自定义表),则可能会发生这种情况。 Delete them first and try your upgrade again.先删除它们,然后再次尝试升级。

Same error while upgrading Microsoft Dynamics CRM升级 Microsoft Dynamics CRM 时出现相同错误

I recently upgrade from Microsoft Dynamics 365 (CRM 2016 On-Premise) to Dynamics 365 Server, v9.0我最近从Microsoft Dynamics 365 (CRM 2016 On-Premise)升级到Dynamics 365 Server, v9.0

I had the same error-message with a different "duplicate key value".我有相同的错误消息,但具有不同的“重复键值”。 The root-cause of the problem was that I had "duplicate values" in the CRM-Database-Objects.问题的根本原因是我在 CRM-Database-Objects 中有“重复值”。
The following Query lists such duplicates:以下查询列出了此类重复项:

SELECT TABLE_NAME, COLUMN_NAME, COUNT(*) Count 
FROM INFORMATION_SCHEMA.COLUMNS GROUP BY TABLE_NAME, COLUMN_NAME HAVING COUNT(*) > 1

Of course the duplicates where in my own database-objects (views) that I had created in my own schemas.当然,在我自己的模式中创建的我自己的数据库对象(视图)中的重复项。
Renaming my own objects/views or the columns in the views to make sure the above query doesn't list any results solved my problem.重命名我自己的对象/视图或视图中的列以确保上述查询未列出任何结果解决了我的问题。
After the changes in my own objects I was able to do the Upgrade在我自己的对象发生变化后,我能够进行升级

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 MongoDB ATLAS 到本地迁移 - MongoDB ATLAS to on-premise migration GitLab CE内部部署-域迁移 - GitLab CE on-premise - Domain Migration 本地电子邮件有争议的同步到Office 365 - On-premise email contentious sync to Office 365 SharePoint 内部部署到 SharePoint 在线迁移 - SharePoint On-premise to SharePoint online Migration 移动动力学CRM 2011 - Move Dynamics CRM 2011 如何从本地TFS 2018.2迁移到DevOps服务器 - How to migrate from TFS 2018.2 on-premise to DevOps server 将数据从 Dynamics CRM 4.0 迁移到 365 - Migrate data from Dynamics CRM 4.0 to 365 我可以使用 Azure 迁移工具将 IBM MQ 从本地迁移到 azure 云吗 - Can i use Azure Migrate tool to migrate IBM MQ from on-premise to azure cloud 是否可以将团队项目及其工作项从VSTS(Azure DevOps)实例导出到本地TFS 2018 Server实例? - Is there a way to export Team Projects and their Work Items from a VSTS (Azure DevOps) instance to an On-premise TFS 2018 Server instance? 如何将 SQL 服务器数据库的架构从本地迁移到 AWS RDS 上具有不受支持的功能的 SQL 服务器 - How to migrate the schema of a SQL Server database from on-premise to SQL Server on AWS RDS with non-supported features
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM