Skip to main content
Post a question

Notifications

Community site session details

Community site session details

Session Id : 7ZSQ3FZfO2Oz4T+qgaGKlV
Microsoft Dynamics CRM (Archived)

Solution Missing Dependencies

Like (0) ShareShare
ReportReport
Posted on 25 Oct 2016 08:46:48 by 595

Hello All,

I have two orgs Org1, Org2. I have created a sample solution in Org1 and added a new field to contact Main form and added the form, contact entity (only metadata) and new field i created.

I have exported the solution some missing dependencies have been shown but these already exist in target Org2. Hence i ignored the message and exported the solution.

When i imported the solution in Org2, same missing dependencies have been populated preventing the import.

I went to the solution.xml and deleted the "<Missing Dependency>------</Missing Dependency>" and again imported the solution. It worked fine without any errors.

I just want to know the best way to deal with such situations.

Any one has idea about why missing dependencies show up even though they are in target system? is it a bug or any mismatch in target system?

*This post is locked for comments

  • Tomas Prokop Profile Picture
    590 on 30 Jun 2018 at 18:06:32
    RE: Solution Missing Dependencies

    For anyone who comes across this thread, you may find this useful: blog.thenetw.org/.../remove-missing-dependencies-from-solution-xml-with-powershell

  • Abhilash M abi Profile Picture
    595 on 25 Oct 2016 at 09:08:31
    RE: Solution Missing Dependencies

    Hello Raz, i am using managed solution but earlier contact form has been modified using unmanaged solution and i also found that the columnnumber of both orgs Org1 and Org2 is different for the Contact entity.

  • Abhilash M abi Profile Picture
    595 on 25 Oct 2016 at 09:03:52
    RE: Solution Missing Dependencies

    I found that the column number is different for both orgs in the Attribute Logical View For example in Org1 for pde_nchstesvisumluftab column number is 10013 where as it is 10015 in Org 2

  • Suggested answer
    razdynamics Profile Picture
    17,304 User Group Leader on 25 Oct 2016 at 09:01:14
    RE: Solution Missing Dependencies

    Hi Abilash, was this a managed or unmanaged solution? The contact form is shared with another solution then changes to the contact form by another solution could have possibly caused it also?

    Best Wishes, Raz

  • Abhilash M abi Profile Picture
    595 on 25 Oct 2016 at 08:59:55
    RE: Solution Missing Dependencies

    Hello this is sample of the solutions.xml

    <MissingDependency>

           <Required key="0" type="2" schemaName="pde_nchstesvisumluftab" displayName="Visum läuft ab" parentSchemaName="contact" parentDisplayName="Kontakt" solution="Active" />

           <Dependent key="1" type="60" displayName="Neues Formular" parentDisplayName="Kontakt" id="{b65e313d-5fcc-40e6-8158-dfb687321942}" />

         </MissingDependency>

    The field pde_nchstesvisumluftab is in the Org2. But when doing export in Org1 it has been in the solutions.xml

  • Mahendar Pal Profile Picture
    45,095 on 25 Oct 2016 at 08:58:02
    RE: Solution Missing Dependencies

    Hi,

    There is surely some mismatch between these two organizations. Do you have any screenshot that you can share ?

    Thanks

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,442 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,575 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading complete