Microsoft Dynamics 365
Version 1612 (8.2.1.341) (DB 8.2.1.341) online
0x8004803A
"The import has failed because component {92853f5b-24cc-e611-80fa-c4346bac3fa4} of type 20 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."
type 20 = securityrole
In the customizations.xml of DynamicsNAVIntegrationSolution.zip we have this:
<Role id="{92853F5B-24CC-E611-80FA-C4346BAC3FA4}" name="Dynamics NAV Product Availability User"> <IsCustomizable>1</IsCustomizable> <RolePrivileges> <RolePrivilege name="prvReadnav_Connection" level="Global" /> </RolePrivileges> </Role>
The RootComponents-section of solution.xml looks like this:
<RootComponents> <RootComponent type="1" schemaName="account" /> <RootComponent type="1" schemaName="activitypointer" /> <RootComponent type="1" schemaName="contact" /> <RootComponent type="1" schemaName="contract" /> <RootComponent type="1" schemaName="contractdetail" /> <RootComponent type="1" schemaName="entitlement" /> <RootComponent type="1" schemaName="incident" /> <RootComponent type="1" schemaName="nav_accountstatistics" /> <RootComponent type="1" schemaName="nav_connection" /> <RootComponent type="1" schemaName="opportunity" /> <RootComponent type="1" schemaName="opportunityproduct" /> <RootComponent type="1" schemaName="product" /> <RootComponent type="1" schemaName="quote" /> <RootComponent type="1" schemaName="salesorder" /> <RootComponent type="1" schemaName="salesorderdetail" /> <RootComponent type="1" schemaName="service" /> <RootComponent type="1" schemaName="systemuser" /> <RootComponent type="1" schemaName="transactioncurrency" /> <RootComponent type="20" id="{8c8d4f51-a72b-e511-80d9-3863bb349780}" /> <RootComponent type="20" id="{6f960e32-a72b-e511-80d9-3863bb349780}" /> <RootComponent type="29" id="{3c1f3ad5-3708-4968-b182-cc49c18fbe25}" /> <RootComponent type="29" id="{69282ed8-813a-49a1-a726-b7900b5ab32c}" /> <RootComponent type="61" schemaName="nav_NavConnect.js" /> <RootComponent type="91" schemaName="NavODataPlugin, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> <RootComponent type="92" id="{1ff6f3c9-b033-e611-80e6-5065f38a3bc1}" behavior="0" /> <RootComponent type="92" id="{55228ac2-b033-e611-80e6-5065f38a3bc1}" behavior="0" /> </RootComponents>
So the error message is not lying. There really is no root component for "{92853F5B-24CC-E611-80FA-C4346BAC3FA4}".
Is this a known issue? If yes, where can I get a fixed solution file?
For now I fixed solution.xml and manually added
<RootComponent type="20" id="{92853f5b-24cc-e611-80fa-c4346bac3fa4}" />
to the RootComponents-section, but of course I don't feel quite good about this fix...
Regards,
MH
*This post is locked for comments