web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Getting error when upgrading Org to Service Pack 1 (2016.01)

(0) ShareShare
ReportReport
Posted on by

I'm trying to install the Service Pack to 2016.01 on-prem .

When I ran the installer, it said that some organizations were not upgraded, and that I should do so manually from Deployment Manager.  I have 2 organizations that were not updated So I went to Deployment manager , selected my org, and tried to update.

This fails, and in the log I get the following:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Crm.CrmException: Error installing sp with name=t_ComponentSetTable Cannot drop type 'dbo.t_ComponentSetTable' because it is being referenced by object 'p_RetrieveMultipleDirectAncestors'. There may be other objects that reference this type. ---> System.Data.SqlClient.SqlException: Cannot drop type 'dbo.t_ComponentSetTable' because it is being referenced by object 'p_RetrieveMuldtipleDirectAncestors'. There may be other objects that reference this type.

Any solution for this .

Thanks in advance !!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Nadeeja Bomiriya Profile Picture
    6,804 on at

    Hi Nirmal,

    Please check out below threads which provides a workaround for the issue.

    community.dynamics.com/.../184508

    community.dynamics.com/.../201943

  • Community Member Profile Picture
    on at

    Hi Nadeeja,

    Thanks for your update.

    I fixed this issue by removing store procedure 'RetrieveMultipleDirectAncestors'' from SQL . And then issue was resolved. 

    It worked.

    Regards,

    Nirmal

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans