Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Import Solution Entity map error

Posted on by 510

Hi guys.

I'm facing the error below when trying to import solution from DEV to QA.
If I delete the incident-incidentresolution entity map from the customizations.xml, the solution import without any problem. But I don't want to have this work of managing the .xml every time that i need to import the solution.
I saw that there was an 1-N relationship between Case and Case resolution, so I've removed the entire entity from the solution and add all those stuff again without this relationship. But even after that, I still face the same problem. So it seems like there is another think inside my unmanaged solution on DEV.

Details:

incident-incidentresolution

A managed solution cannot overwrite the AttributeMap component with Id=d42bbd30-87b3-e711-a823-000d3ab6bc36 which has an unmanaged base instance.  The most likely scenario for this error is that an unmanaged solution has installed a new unmanaged AttributeMap component on the target system, and now a managed solution from the same publisher is trying to install that same AttributeMap component as managed.  This will cause an invalid layering of solutions on the target system and is not allowed.

*This post is locked for comments

  • HenriquePalomo Profile Picture
    HenriquePalomo 510 on at
    RE: Import Solution Entity map error

    Hi.

    I told that I've already been doing that way, but I don't want to manage the .xml every time that i need to import the solution.

    Regards

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Import Solution Entity map error

    Hi,

    Please follow below step -

    1. Extract the solution and open customization.xml in notepad++.

    2. Fold the XML you can find one tag name called <EntityMaps>

    3. Search with <EntitySource>Incident</EntitySource>

    4. You may  find two three tag like this .

    5. Choose where source and target are same entity.

    <EntitySource>incident</EntitySource>

         <EntityTarget>incident</EntityTarget>

    6. Remove all atrribute map care fully and put the  tag only.  <AttributeMaps />

    7. Its look like below

       <EntityMap>

         <EntitySource>incident</EntitySource>

         <EntityTarget>incident</EntityTarget>

         <AttributeMaps />      

       </EntityMap>

    8. save and select all files containing solution and zip .

    9. Import the file .

    Hope this will help you. Please dont forget to make this as answer if its work for you.

    Thanks

    Goutam

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans