Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Updating a solution created on Dynamics 2013 on a 2015 instance - TraversedPath error

Posted on by 345

We are facing some problems when trying to update a solution created on a Dynamics 2013 in a Dynamics 2015 instance. Apparently when you upgrade to Dynamics 2015 it creates a field called Traversed Path in all activity type entities. As the solution had an entity of this type the field was created there an now when we try to import a new version of the solution we get the following error:

"A managed solution cannot overwrite a Attribute component on the target system that has an unmanaged base instance.  The most likely scenario for this error is that an unmanaged solution has installed a new unmanaged Attribute component on the target system, and now a managed solution from the same publisher is trying to install that same Attribute component as managed.  This will cause an invalid layering of solutions on the target system and is not allowed."

I've tried to:

1. Export our solution as unmanaged and import to a Dynamics 2015 instance and then export as managed (so the field would be in it) but I got the same error.

2. Import to Dynamics 2013 instances and it worked fine.

3. Removed the TraversedPath attribute from the customizations XML exported from the Dynamics 2015 instance and imported the solution into a Dynamics 2015. It seems to be working but I don't think we should be changing it.

 

Has anyone had the same problem and know how to handle it?

 

Thanks!

*This post is locked for comments

  • Suggested answer
    RE: Updating a solution created on Dynamics 2013 on a 2015 instance - TraversedPath error

    Just to expand - you understand that since it is a custom entity, it is impossible for MS during the migration to have the same GUID on both the Prod and Dev instance.

    What MS needs to do, is to change the import solution process to ignore this field if it exists.

    Ag

  • RE: Updating a solution created on Dynamics 2013 on a 2015 instance - TraversedPath error

    Hi,

    The issue seems to be the following.

    Traverse path in CRM 2015 keeps the GUIDs of the Bussiness Process stages as the user moves fron on stage to the other.

    During the conversion process to 2015, MS adds the field to all entities that have a Business process defined.

    HOWEVER - for some reason, the field is created as UNMANAGED when this is done for a custom entity.

    So the next time you try to install your manage solution, it is telling you that you are trying to change a field created from an unmanaged solution.

    Unfortunately, we cannot remove the field.

    I assume this bug will be fixed by Microsoft (or at least - I hope).  In the meantime, comment out the attribute from your solution,

    Regards,

    Anthony

    XRM Vision.

  • Concep Profile Picture
    Concep 345 on at
    RE: Updating a solution created on Dynamics 2013 on a 2015 instance - TraversedPath error

    Perfect! Thanks you very much.

  • Concep Profile Picture
    Concep 345 on at
    RE: Updating a solution created on Dynamics 2013 on a 2015 instance - TraversedPath error

    Thanks for your answer Guido.

    How about clients that upgraded with the solution installed. Will the solution of the cloned Dynamics work for them?

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans