Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Not able to publish solution for model driven app and getting error

Posted on by 4

While publishing the solution in my development environment, getting this error - "Publish failed: The dependent component SavedQuery (Id=82168fcc-8bf6-ee11-a1fe-6045bdf251b2) does not exist. Failure trying to associate it with SystemForm (Id=c8831572-e626-497c-9e79-386797309ac5) as a dependency. Missing dependency lookup type = PrimaryKeyLookup.".

 

After downloading the log file, this is elaborated error:
System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: The dependent component SavedQuery (Id=82168fcc-8bf6-ee11-a1fe-6045bdf251b2) does not exist. Failure trying to associate it with SystemForm (Id=c8831572-e626-497c-9e79-386797309ac5) as a dependency. Missing dependency lookup type = PrimaryKeyLookup. (Fault Detail is equal to Exception details:
ErrorCode: 0x8004F036
Message: The dependent component SavedQuery (Id=82168fcc-8bf6-ee11-a1fe-6045bdf251b2) does not exist. Failure trying to associate it with SystemForm (Id=c8831572-e626-497c-9e79-386797309ac5) as a dependency. Missing dependency lookup type = PrimaryKeyLookup.
TimeStamp: 2024-06-25T06:32:44.2469660Z
--
).

  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    Not able to publish solution for model driven app and getting error
    Hi,
    According to the error message, it has to do with a sub-grid on one of the forms.
    Please refer to the following blog for more details:

    And you can refer to this documentation for this similar error:
    "The dependent component SystemForm (Id=[GUID 1]) does not exist. Failure trying to associate it with SystemForm (Id=[GUID 2]) as a dependency. Missing dependency lookup type = PrimaryKeyLookup."

    I hope you can mark my answer verified if it answer your question! If you have any questions, please feel free to contact me.
    Regards,
    Leah
     

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