Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

SQL Stored Procedure Database Upgrade Issues - Update 2.3

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi

We have successfully installed Update 2.3 for CRM 2016 On-Premise within our DEV, UAT and Production environments however the database for a single organisation on our DEV environment will not upgrade.

We receive the following error message when we attempt to upgrade the database using the CRM deployment manager.

Error installing sp with name=p_AccountSummaryRollup
Invalid object name 'Contract'.
Could not use view or function 'FilteredContract' because of binding errors.
Invalid object name 'Contract'.
Could not use view or function 'FilteredContract' because of binding errors.

So we have determined that the error message is related to a Stored Procedure name p_AccountSummaryRollup and an invalid object name. It would seem that entity 'Contract' has not been renamed and the table and view exists with the correct name.

Would someone please advise how I should go about resolving the error and upgrading the database. I am very reluctant to make changes directly on the database and would definitely like to follow a supported approach.

Thanks

Tony

Categories:
  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: SQL Stored Procedure Database Upgrade Issues - Update 2.3

    Hi 

    I would really appreciate any suggestions to resolve our CRM 2016 database upgrade issues.

    We have successfully installed Update 2.3 for CRM 2016 On-Premise within our DEV, UAT and Production environments however the database for a single organisation on our DEV environment will not upgrade.

    We receive the following error message when we attempt to upgrade the database using the CRM deployment manager.

    Error installing sp with name=p_AccountSummaryRollup
    Invalid object name 'Contract'.
    Could not use view or function 'FilteredContract' because of binding errors.
    Invalid object name 'Contract'.
    Could not use view or function 'FilteredContract' because of binding errors.

     

    Thanks

    Tony

     

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,431 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans