Hello,
I'm getting the following error when importing my solution from the Dev to the Test environment: "Cannot add a Root Component 00000000-0000-0000-0000-000000000000 of type 20 because it is not in the target system."
So I googled it and found this site "CRMKid" suggesting the fix has to do with the Security Role component “System Customizer”.
I looked at my Dev and Test system and the System Customizer exists in both systems. Then I open my non working solution.xml and a working solution that I'm able to import to the Test enviorment and they both have that root component type 20:
solution.xml (non working solution)<RootComponent type="20" behavior="0" parentId="{000f245c-3cc8-111-b31c-11111111000}" />
solution.xml (working solution) <RootComponent type="20" parentId="{119f255c-35c8-45552-b31c-d1111115d}" />
The only difference is the behavior="0" which appears for ALL the root component items in the non working solution such as:
<RootComponent type="9" schemaName="product" behavior="0" />
<RootComponent type="9" schemaName="statelist" behavior="0" />
<RootComponent type="20" behavior="0" parentId="{111115c-358-4b62-1151-d1a046ced15d}" />
<RootComponent type="29" id="{01111f6-12ac-47f6-8556a-10011151119a}" behavior="0" />
<RootComponent type="29" id="{011151105-b89a-4711-b515c-b51132}" behavior="0" />
<RootComponent type="29" id="{0311556d-113e-4d19-9a6f-055555553}" behavior="0" />
so I'm not sure why now there is a behavior=0 and if that anything to do with my error?
Dev envrionment is CRM Online 2016 (8.1.0.369) (DB 8.1.0.367)
Test environment is CRM Online 2016 (8.1.0.369) (DB 8.1.0.362)
Thanks for your help