Import 0x80048470-导入CRM解决方案

Import 0x80048470-导入CRM解决方案,import,dynamics-crm-2011,crm,Import,Dynamics Crm 2011,Crm,我正在尝试导入非托管解决方案,但由于某些原因,出现以下错误: Failure: 0x80048470 - The entity relationship role of the referencing entity is required when creating a new one-to-many entity relationship business_unit_new_contract. 这很有趣,因为我已经打开了costumizations.xml,关系就在那里。此外,当我查看具有该

我正在尝试导入非托管解决方案,但由于某些原因,出现以下错误:

Failure: 0x80048470 - The entity relationship role of the referencing entity is required when creating a new one-to-many entity relationship business_unit_new_contract.
这很有趣,因为我已经打开了costumizations.xml,关系就在那里。此外,当我查看具有该关系的导出解决方案实体时,也会显示该关系

起初,我收到一个0x8004803A错误,如图所示:

Failure: 0x8004803A - The import has failed because component  of type 50 is not declared in the solution file as a root component. To fix this, import again using the XML file that was generated when you exported the solution.
因此,我打开了solution.xml并为该特定类型添加了一个新的文件,该文件中没有

有人经历过吗?此外,此关系显示的是businessunit和我的一个实体之间的关系

有没有办法通过数据库修复它?最好的解决方案是什么

提前感谢,,
Dem

我将尝试解释您的第二个问题(0x8004803A),因为它今天发生在我身上

顺便说一下,这是“下载日志”实际有用的少数几次之一(它包含真正的错误)

导入失败,因为类型为50的组件未在解决方案文件中声明为根组件

实体类型代码50显然代表(全局)
应用程序功能区
。手动将
部分添加到customizations.xml时可能会发生这种情况。如果发生这种情况,只需在solution.xml中添加以下行即可:

<RootComponents>
  ...
  <RootComponent type="50" schemaName=":RibbonDiffXml" />
</RootComponents>

...