Upgrade Sage 2017 to Sage 2021.5 Premium

SOLVED

Upgrading Sage 2017 Premium to Sage 2021.5 Premium to new server environment where App server and SQL server are separate.  During the process of "Migration Wizard is restoring MAS_ARK database", we receive the following message:

"Error Number: 0x80040E37 Description: Cannot drop the database 'MAS_ARK', because it does not exist or you do not have permission"

This is the initial migration when the database is created.  This database does exist in the source system.  The process immediately before backs up the MAS_ARK database fine.  MAS_System appeared to migrate fine as well.  

Account has domain admin permissions and SQL Server(Instance) is "local system".  

Instance - not using the SQL default 

We do have the new, updated Migration files from Sage support that were inserted as well (from KB 111959 View Document - Sage Knowledgebase )

Followed the KB articles below:

KB 106142 View Document - Sage Knowledgebase

KB 62630 View Document - Sage Knowledgebase

Parents Reply Children
  • 0 in reply to Kevin M

    "Local System" - SQL Service of the new installation in running the instance as Local System Account.  Looks like that's the suggestion from the KB article 106142.

    Plenty of disk space on all servers.  We are going to make another attempt with a clean install late afternoon today with some help from Sage.  Thanks for your help, Kevin.  Will let you know what comes up.

  • 0 in reply to RRUFF

    The migration tool works by copying the backup file to the hidden Admin shares (C$...), and restoring from there, so running the SQL Services using domain accounts having admin permissions to both machines helps for sure.  Running the migration program using a domain admin account is great, for the MAS90 folder copy... but the SQL databases are not copied between machines using those credentials.

    If your server has multiple partitions, there used to be an issue where the migration tool might restore databases to the wrong one.  (When the SQL default data path was changed after the initial SQL install).  I don't know for sure if it has been fixed... but if you notice the MDF / LDF for MAS_System are on the wrong drive, that's the problem I'm referencing.

    Good luck.

  • +1 in reply to Kevin M
    verified answer

    Sage provided a separate, updated set of Migration files and we were able to migrate successfully.