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

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Error while upgrading GP 2010

(0) ShareShare
ReportReport
Posted on by

Hi,

I was able to upgrade SQL 2005 to SQL 2008. But after i installed GP 2010 i ran Utility when it got to the stage to validate product version information it gave this error message ''There was a problem ascertaining product version infomation.Microsoft Dynamics GP utilities will now exit. Please check the duninstall log file for more information.''

please what could cause this and what can i do ?

 

Thank You

*This post is locked for comments

I have the same question (0)
  • Nelsona Profile Picture
    537 on at
    Re: Error while upgrading GP 2010

    Hi Leslie,

    Thank you very much for your detailed answer, I was able to solve my issue following your instructions.

    Best regards,

    Nelson

  • Suggested answer
    L Vail Profile Picture
    65,271 on at
    Re: Error while upgrading GP 2010

    Hi Nesona,

    We have all run into this problem a time or two. Although frustrating, it's always been solveable. Here is my list of check items. Many of them have already been mentioned in this post, but to make it easier to find, I have repeated them.

    1. Check your upgrade path and make sure you match the builds as well as the version - this is VERY important.

    mbs.microsoft.com/.../hottopic_mdgp2010_update.htm to Microsoft Dynamics GP 2010

    mbs.microsoft.com/.../hottopic_mdgp2010_update.htm to Microsoft Dynamics GP 2010

    2. Look at the error log for how many times the product incompatibility is listed. The number of times listed counts the number of companies encountering the problem.

    3. Look at the Dynamics.set file for the presence of the bad product. If you are not using the product, remove it from the dynamics.set file.

    4. In the products listed above, there was a problem with the Dynamics Online Services in version 10.0.1458 product. I simply removed it from the .set file and reinstalled it. This product come out in one of the Service packs and sometimes didn't install correctly.

    5. Clean up your companies to make sure the companies per dynamics are the same as the companies per sql. The script I use to fix the missing or extra company problem is listed below. This script is part of KB 855361

    /* ClearCompanys.sql - Script that will clear out all entrys in the DYNAMICS

      database referencing databases that no longer exist on the SQL Server.

      Requirements:

      Company database you wish to have cleaned out of the tables in the DYNAMICS

      database must be removed from the SQL server before running this script.  

      Ensure that all your databases have been restored or they will be erased

      from the DYNAMICS database.

    */

    set nocount on

    /* Remove all references in the company master (SY01500) for databases that

      Do not exist on the SQL Server */

    delete DYNAMICS..SY01500 where INTERID not in

               (select name from master..sysdatabases)

    /* Clear out all tables in DYNAMICS database that have a CMPANYID field

      that no longer matches any Company ID's in the SY01500 */

    USE DYNAMICS

    declare @CMPANYID char(150)

    declare CMPANYID_Cleanup CURSOR for

    select 'delete ' + o.name + ' where CMPANYID not in (0,-32767)'

    + ' and CMPANYID not in (select CMPANYID from DYNAMICS..SY01500)'

    from sysobjects o, syscolumns c

    where o.id = c.id

       and o.type = 'U'

       and c.name = 'CMPANYID'

       and o.name <> 'SY01500' order by o.name

    OPEN CMPANYID_Cleanup

    FETCH NEXT from CMPANYID_Cleanup into @CMPANYID

    while (@@FETCH_STATUS <>-1)

    begin

    exec (@CMPANYID)

    FETCH NEXT from CMPANYID_Cleanup into @CMPANYID

    end

    DEALLOCATE CMPANYID_Cleanup

    go

    /* Clear out all tables in DYNAMICS database that have a companyID field

      that no longer matches any Company ID's in the SY01500 */

    USE DYNAMICS

    declare @companyID char(150)

    declare companyID_Cleanup CURSOR for

    select 'delete ' + o.name + ' where companyID not in (0,-32767)'

    + ' and companyID not in (select CMPANYID from DYNAMICS..SY01500)'

    from sysobjects o, syscolumns c

    where o.id = c.id

       and o.type = 'U'

       and c.name = 'companyID'

       and o.name <> 'SY01500'

    set nocount on

    OPEN companyID_Cleanup

    FETCH NEXT from companyID_Cleanup into @companyID

    while (@@FETCH_STATUS <>-1)

    begin

    exec (@companyID)

    FETCH NEXT from companyID_Cleanup into @companyID

    end

    DEALLOCATE companyID_Cleanup

    go

    /* Clear out all tables in DYNAMICS database that have a db_name field

      that no longer matches any company names (INTERID) in the SY01500 */

    USE DYNAMICS

    declare @db_name char(150)

    declare db_name_Cleanup CURSOR for

    select 'delete ' + o.name + ' where db_name <> ''DYNAMICS'' and db_name <> ''''

    and db_name not in (select INTERID from DYNAMICS..SY01500)'

    from sysobjects o, syscolumns c

    where o.id = c.id

       and o.type = 'U'

       and c.name = 'db_name'

    set nocount on

    OPEN db_name_Cleanup

    FETCH NEXT from db_name_Cleanup into @db_name

    while (@@FETCH_STATUS <>-1)

    begin

    exec (@db_name)

    FETCH NEXT from db_name_Cleanup into @db_name

    end

    DEALLOCATE db_name_Cleanup

    GO

    set nocount on

    /* Clear out all tables in DYNAMICS database that have a dbname field

      that no longer matches any company names (INTERID) in the SY01500 */

    USE DYNAMICS

    declare @dbname char(150)

    declare dbname_Cleanup CURSOR for

    select 'delete ' + o.name + ' where DBNAME <> ''DYNAMICS'' and DBNAME <> ''''

    and DBNAME not in (select INTERID from DYNAMICS..SY01500)'

    from sysobjects o, syscolumns c

    where o.id = c.id

       and o.type = 'U'

       and c.name = 'DBNAME'

    set nocount on

    OPEN dbname_Cleanup

    FETCH NEXT from dbname_Cleanup into @dbname

    while (@@FETCH_STATUS <>-1)

    begin

    exec (@dbname)

    FETCH NEXT from dbname_Cleanup into @dbname

    end

    DEALLOCATE dbname_Cleanup

    GO

    set nocount on

    /* Remove all stranded references from the other Business Alerts table that

      no longer exist in the SY40500 */

    delete SY40502 where BARULEID NOT IN (SELECT BARULEID FROM SY40500)

    delete SY40503 where BARULEID NOT IN (SELECT BARULEID FROM SY40500)

    delete SY40504 where BARULEID NOT IN (SELECT BARULEID FROM SY40500)

    delete SY40505 where BARULEID NOT IN (SELECT BARULEID FROM SY40500)

    delete SY40506 where BARULEID NOT IN (SELECT BARULEID FROM SY40500)

    GO

    6. There is an Automated Solution for deleting the company here: mbs.microsoft.com/.../automatedsolutions.htm solutions

    That's a good start. Let us know how it works out!

    Kind regards,

    Leslie

  • Nelsona Profile Picture
    537 on at
    Re: Error while upgrading GP 2010

    Hello,

    I know the thread is a bit old, but I find myself in a somewhat similar situation. I upgraded from GP8 to GP9 to GP10 with the latest update to then upgrade to GP2010, but the following modules are failing:

    FieldService in version 3.99.0.

    Control Account Management in version 7.50.0

    ML Checks in version 8.0.1

    Dynamics Online Services in version 10.0.1458

    As I understand it, the only selectable feature on the list is ML Checks and I'm positive it was installed when I upgraded to GP9 and in GP2010. The others are core features.

    This is in a test environment, so if I there is something I missed at a previous point I'd be happy to do it again.

    Thanks in advance.

  • L Vail Profile Picture
    65,271 on at
    Re: Error while upgrading GP 2010

    Which products and companies are showing up in the duinstall.log? I have had this problem with older products that were not used anymore. There was an instance of the build to build upgrade paths being documented incorrectly. What are you trying to upgrade from and to. With build numbers please.

  • Yemi Ogundepo Profile Picture
    480 on at
    Error while upgrading GP 2010

    Hello thanks for your response. I have deleted the database that is in DB_UPGRADE and not in SY01500. but it still not upgrading. please if their still anything i can do tell me.

     

    Thank you

  • Melissa Sandrovich Profile Picture
    on at
    Re: Error while upgrading GP 2010

    We had the same issue and it was becasue there were companies in the Dynamics database tables, that were improperly deleted.  if you look at the Compay master table (SY01500) and the DB_UPGRADE, make sure that only companies in the SY01500 are in the DB_UPGRADE.  If there are extras in the DB_UPGRADE - delte those line.  Make sure to have a good backup of ALL databases before trying this.

  • Community Member Profile Picture
    on at
    Re: Re: Error while upgrading GP 2010

    Thank you so much for the reply.

    But i downlaoded and in stall some pacth yet it didnt fix the issue please advice me on what to do next.

     

    Thank You

  • sandipdjadhav Profile Picture
    18,306 on at
    Re: Error while upgrading GP 2010

    Sulaimon,

    Follow the Update path.. !!! here is partner links may help you.

    https://mbs.microsoft.com/customersource/support/selfsupport/hottopics/hottopic_mdgp2010_update.htm?printpage=false&stext=Updating to Microsoft Dynamics GP 2010

    I was facing same issue when updating GP9.0 to GP 10.0 and documented issue in blog with other's blogs link, it may give you more information to troubleshoot issue.

     

    https://mbs.microsoft.com/customersource/support/selfsupport/hottopics/hottopic_mdgp2010_update.htm?printpage=false&stext=Updating to Microsoft Dynamics GP 2010

     

    THanks

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans