Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Import Solution Entity map error

(0) ShareShare
ReportReport
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,089 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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,468 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,287 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans