Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Error during Upgrade GP 2013 R2

(0) ShareShare
ReportReport
Posted on by 110

Error-during-upgrade.png

hi , any one can help me with this ? i am trying to upgrade the company DB but it gave me this error, the dynamics DB has been upgraded successfully but only company DB.

thanks in advance

*This post is locked for comments

  • Suggested answer
    RE: Error during Upgrade GP 2013 R2

    Nabil - 

    I copied this from Derek Albaugh's response to another post regarding this same issue:

    Normally when we see these type of errors, it is because the account framework settings (which are held in the DYNAMICS database's SY003001 and SY00302 tables did not synch with the dictionary files, which hold all the scripts that Utilities uses to create new tables, views, procedures, etc.

    The GL10110, GL10111, GL70500 and GL70501 tables, among others, get setup with a number of columns to correspond with the number of segments and those segment lengths that you have setup for the account framework.

    If the dictionary files do not synch with the account framework, they will default to a number of segments of 5 and a segment length of 9.

    When this happens, during the upgrade, Utilities will rename the GL10110 table to G10110L and then use the scripts I mentioned to create the GL10110 table at the new version you're upgrading to. If the new table is not created at the correct structure (number and length of segments), you'll get these type of upgrade errors when Utilities attempts to move the data from the original G10110L table to the new GL10110 table.

    What we'd want to do at this point, if you're still at this point in the upgrade, is the following:

    1. For the Dex.ini file, change SYNCHRONIZE=FALSE to SYNCHRONIZE=TRUE, then close and save changes to the Dex.ini. This file is held in the 'Data' folder for GP 10.0 and GP 2010.

    2. Run this script to force the failed tables through the upgrade process again:

        Delete DYNAMICS..DU000030 where Status <> 0 and Status <> 15

    3. In the DYNAMICS..DB_Upgrade table, make sure the db_status column shows 23 for the company database failing on these tables.

    4. Launch GP Utilities which should synchronize the account framework and then attempt to upgrade these failed tables again, then go on from there with the upgrade.

    If the upgrade fails on these tables again, go back into the Dex.ini and verify that SYNCHRONIZE=FALSE, meaning the synchronization took place. If it still shows as TRUE, then the Dynamics GP code is probably bad and I would recommend either using different code or uninstalling/reinstalling.

    If SYNCHRONIZE does show as FALSE, but the same tables are failing, then we'd have to see the results of the following scripts:

    Select * from DYNAMICS..SY003001

    Select * from DYNAMICS..SY00302

    sp_help GL10110

    sp_help GL10111

    sp_help GL70500

    sp_help GL70501

    If the tables are incorrect, they would have to be fixed before going through the upgrade process.

    One other note, we never want to drop and re-create any tables in Dynamics GP where we can lose the data in the tables. If the tables are empty, then this would be an option, but otherwise, we do not want to risk losing data. The only exception are Report Option tables, ending in **70500, as you will only lose report option information.

  • RE: Error during Upgrade GP 2013 R2

    Did you by chance move the SQL databases to a new machine?

  • Nabil Ziadat Profile Picture
    Nabil Ziadat 110 on at
    RE: Error during Upgrade GP 2013 R2

    Table (GL10111) did not have the correct structure prior to the conversion of this table.                    

    and there are also 6 tables have the same issue      

  • RE: Error during Upgrade GP 2013 R2

    Hi Nabil -

    Can you provide the information from the Details and Error/Warnings buttons?  Those usually indicate what the problem is.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February 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... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,436 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans