Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Solution Import Failure Message: Cannot add a Root Component 'GUID' of type 29 because it is not in the target system

Posted on by 295

Hi all,

Please refer to the error:

Root Components import: FAILURE
[2015-04-10 17:04:48.126] Process: w3wp |Organization:0937f109-45df-e411-80cf-0050560100db |Thread:   43 |Category: Exception |User: ac011cf7-ad36-405b-91cf-2155ca15efb1 |Level: Error |ReqId: d3924c06-ad4b-4d5e-a204-70f8170016e1 | CrmException..ctor  ilOffset = 0x30
at CrmException..ctor(String formattedErrorMessage, Int32 errorCode, Object[] arguments)  ilOffset = 0x30
at ImportRootComponentsHandler.GetSolutionRootsCollection(Boolean throwIfMissing, Boolean skipRibbonCustomization)  ilOffset = 0x209
at ImportRootComponentsHandler.ImportItem()  ilOffset = 0x8
at ImportHandler.Import()  ilOffset = 0x43
at RootImportHandler.ImportAndUpdateProgress(ImportHandler ih)  ilOffset = 0x7
at RootImportHandler.HandleNonMetadataHandlers(String[] ImportEntities, ImportHandler& ihForCurrentPath)  ilOffset = 0x33
at RootImportHandler.RunImport(String[] ImportEntities)  ilOffset = 0x1D8
at ImportXml.RunImport(String[] ImportEntities)  ilOffset = 0xE
at ImportXml.RunImport()  ilOffset = 0x5BF
at ImportXmlService.ImportSolutionSkipCapable(Boolean overwriteUnmanagedCustomizations, Boolean publishWorkflows, Byte[] customizationFile, Guid importJobId, Boolean convertToManaged, Boolean skipProductUpdateDependencies, ExecutionContext context)  ilOffset = 0x46
at RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)  ilOffset = 0xFFFFFFFF
at RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)  ilOffset = 0x25
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)  ilOffset = 0xCF
at LogicalMethodInfo.Invoke(Object target, Object[] values)  ilOffset = 0x4F
at InternalOperationPlugin.Execute(IServiceProvider serviceProvider)  ilOffset = 0x57
at V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)  ilOffset = 0x200
at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)  ilOffset = 0x65
at Pipeline.Execute(PipelineExecutionContext context)  ilOffset = 0x65
at MessageProcessor.Execute(PipelineExecutionContext context)  ilOffset = 0x1C5
at InternalMessageDispatcher.Execute(PipelineExecutionContext context)  ilOffset = 0xE4
at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion)  ilOffset = 0x16E
at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, OrganizationContext context, Boolean returnResponse, Boolean checkAdminMode)  ilOffset = 0x1F1
at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode)  ilOffset = 0x2D
at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode)  ilOffset = 0x26
at InprocessServiceProxy.ExecuteCore(OrganizationRequest request)  ilOffset = 0x34
at PlatformCommand.XrmExecuteInternal()  ilOffset = 0xF6
at ImportSolutionCommand.Execute()  ilOffset = 0x20
at DataSource.ImportSolution(Byte[] customizationFile, Boolean overwriteUnmanagedCustomizations, Boolean publishWorkflows, Guid importJobId, Boolean convertToManaged, Boolean skipProductUpdateDependencies, IOrganizationContext context)  ilOffset = 0x0
at SolutionImportProcessPage.ImportSolution()  ilOffset = 0x123
at SolutionImportProcessPage.ProcessRequestData()  ilOffset = 0x4A
at SolutionImportProcessPage.ProcessAction(String action)  ilOffset = 0x92
at AppUIPage.OnPreRender(EventArgs e)  ilOffset = 0xD
at Control.PreRenderRecursiveInternal()  ilOffset = 0x54
at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x6D3
at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x3C
at Page.ProcessRequest()  ilOffset = 0x14
at Page.ProcessRequest(HttpContext context)  ilOffset = 0x33
at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  ilOffset = 0x18D
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  ilOffset = 0x15
at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x10A
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0x16A
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x4B
>Crm Exception: Message: Cannot add a Root Component 0ffbcde4-61c1-4355-aa89-aa1d7b2b8792 of type 29 because it is not in the target system., ErrorCode: -2147188705
[2015-04-10 17:04:48.126] Process: w3wp |Organization:0937f109-45df-e411-80cf-0050560100db |Thread:   43 |Category: Platform.Sql |User: ac011cf7-ad36-405b-91cf-2155ca15efb1 |Level: Info |ReqId: d3924c06-ad4b-4d5e-a204-70f8170016e1 | BusinessProcessObject.ExecuteNonQuery  ilOffset = 0x28

I am getting this coming up in the error log when I attempt to import an unmanaged solution.

After searching on google Type 29 refers to a workflow.

I go into the source system and query the database by the GUID and discover that it is actually a Business Process Flow called 'Phone to Case Process'. 

I do not have this process in my target system as I deleted it.

Looks like this is one of the out of the box ones. I don't think we we have changed this one much.

What does this mean and what should I be looking for??

Anyway how do I remove this offending process from the unmanaged solution xml file and attempt to re-import it? 

It doesn't look like I can generate the solution again without the offending workflow/process..

*This post is locked for comments

  • Verified answer
    Stanley Lai Profile Picture
    Stanley Lai 295 on at
    RE: Solution Import Failure Message: Cannot add a Root Component 'GUID' of type 29 because it is not in the target system

    Thanks for your response Bruno, I actually resolved this by referring to this article here:

    social.microsoft.com/.../crm-2011-import-failure

    Cheers,

    Stanley

  • Suggested answer
    Bruno Lucas Profile Picture
    Bruno Lucas 5,421 on at
    RE: Solution Import Failure Message: Cannot add a Root Component 'GUID' of type 29 because it is not in the target system

    look like you have a component on your solution that has a dependency on something that does not exist on the target CRM

    http://blogs.msdn.com/b/crm/archive/2011/03/14/troubleshooting-solution-import-issues-in-your-upgraded-microsoft-dynamics-crm-2011-organization.aspx

    As you said, you deleted "Business Process Flow called 'Phone to Case Process'

    It's very like whatever you have on that solution has a dependency on that. You need to change the component to do not depend on  the missing object or make sure that the target has the dependent component.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans