Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL (Archived)

Upgrade database error V6.0 to SL2011 SP2

Posted on by Microsoft Employee

I am upgrading our V6.0x database to 2011 SP2 and am getting an error at the completion of the Database Upgrade Utility.  However, I can open the database in SL2011.  I am concerned that unresolved upgrade issues may result in errors down the road.

After running the ‘Synchronize all Ownership & Security’ script I am running the ‘V4.1x/4.2x/4.5x/5.x/6.0x to SL2011 SP2’ where I get the error:  “Process completed unsuccessfully”

The DBBuild.txt log file shows the following errors.

1.

Database Name: XXX

Error Code: -2146232060

Error Text: There is already an object named 'DF_Item2Hist_BegQty' in the database.

Could not create constraint. See previous errors.

Dropping All Constraints For Item2Hist

(I believe this is from : exec dmg_define_table_defaults 'Item2Hist')

2.

Database Name: XXX

Error Code: -2146232060

Error Text: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.

The statement has been terminated.

I believe this is from: (exec ut_build_indexes '%')

3.

Database Name: YZA

Error Code: -2146232060

Error Text: Cannot find the object 'CY-FYTime', because it does not exist or you do not have permission.

Statement: GrantSuAppPermissions

Note:

If I run the Synchronize Ownership script again I get a failure listing the same one as #3

Database Name: YZA

Error Code: -2146232060

Error Text: Cannot find the object 'CY-FYTime', because it does not exist or you do not have permission.

Statement: GrantSuAppPermissions

Any Help here is greatly appreciated!

*This post is locked for comments

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Upgrade database error V6.0 to SL2011 SP2

    Carolyn,

    Thank you for taking the time to look into this for us.  

    Fortunately I found the problem.  A previous developer had created about 25 stored procedures in my application database for a remote access application that has not been used in years.  These procedures were causing the timeout and CY-FYTime object reference.  Once I removed these procedures all of the database upgrade processes passed and we are 'Good to Go!"

    Thanks again!

  • RE: Upgrade database error V6.0 to SL2011 SP2

    Hi SOFTADMIN,

    You also could try to run the Rebuild Indexes and Stored Procedures on the upgraded database just to make sure that all indexes are created properly.  I don't recognize the CY-FYTIME object.

  • RE: Upgrade database error V6.0 to SL2011 SP2

    Hi SOFTADMIN,

    Let's try and resolve the timeout error first.  See KB 2558944

    "Process completed unsuccessfully" error message on the "Database Maintenance (98.290.00)" screen during a Microsoft Dynamics SL database upgrade

    mbs.microsoft.com/.../KBDisplay.aspx

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans