web
You’re offline. This is a read only version of the page.
close
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

I have the same question (0)
  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    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

  • HenriquePalomo Profile Picture
    510 on at

    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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans