Upgrade from AX 2012 FP To AX 2012 R2

Hi all,

Greetings, kindly i face issue in first step in upgrade to connect with exist database to import R2 models ,indeed before this I escaped some step in upgrade code

First step :-
As in-place Technet document mention removed all model contents on “Upgrade” i removed it , and first step in upgrade code required import model for upgrade and i do not have model to import , or i do not know what is required in this steps?.

Second step:-
I escaped also upload license, is it important upload it again? i am already have a valid license on current AX 2012 FP instance.

i do not know is it the reason in failure the step or not and in below the setup log file

=== Setup logging started: 12/25/2013 10:19:59 PM ===
Running file: “C:\Program Files\Microsoft Dynamics AX\60\SetupSupport\AxSetup.exe” RelatedFilesDir=“D:\AX R2” AutoRun=1 LogDir=“C:\Program Files\Microsoft Dynamics AX\60\Setup Logs\2013-12-25 22-19-57”
AxSetup version number: 6.2.158.0
Microsoft Windows NT 6.1.7601 Service Pack 1 (64 bit)
DR-SQL-S01
SSNB\axadmin
Interactive: True

2013-12-25 22:19:59Z RelatedFilesDir=D:\AX R2
2013-12-25 22:19:59Z LogDir=C:\Program Files\Microsoft Dynamics AX\60\Setup Logs\2013-12-25 22-19-57
2013-12-25 22:19:59Z Property RelatedFilesDir set to: ‘D:\AX R2’
2013-12-25 22:19:59Z Property LogDir set to: ‘C:\Program Files\Microsoft Dynamics AX\60\Setup Logs\2013-12-25 22-19-57’
2013-12-25 22:19:59Z Common Property Install Path set to ‘C:\Program Files\Microsoft Dynamics AX\60’.
2013-12-25 22:19:59Z Installation Path retrieved from registry. Value: ‘C:\Program Files\Microsoft Dynamics AX\60’
2013-12-25 22:19:59Z Initializing log file: C:\Program Files\Microsoft Dynamics AX\60\Setup Logs\2013-12-25 22-19-57\DynamicsSetupLog.txt

2013-12-25 22:19:59Z === Starting evaluation of existing installation state ===
2013-12-25 22:20:00Z MSI file: Components64.msi Installed: False
2013-12-25 22:20:00Z MSI file: HelpServer64.msi Installed: False
2013-12-25 22:20:00Z MSI file: ClientOba64.msi Installed: False
2013-12-25 22:20:00Z MSI file: TraceParser.msi Installed: False
2013-12-25 22:20:00Z MSI file: RapidStartConnectorService.msi Installed: False

2013-12-25 22:20:00Z === Starting UI phase ===
2013-12-25 22:20:02Z S030WelcomeInfo
2013-12-25 22:20:06Z S070RunModeOption
2013-12-25 22:20:06Z Property BypassWarnings set to: ‘0’
2013-12-25 22:20:08Z Property RunMode set to: ‘Custom’
2013-12-25 22:20:13Z S080FeatureOption
2013-12-25 22:20:14Z Property BypassWarnings set to: ‘0’
2013-12-25 22:20:17Z Property InstallDatabase set to: ‘1’
2013-12-25 22:20:21Z S640InitialPrerequisites
2013-12-25 22:20:22Z Loading data table ‘Microsoft.Dynamics.Setup.PrereqAssembly.PRRESXMAP.xml’.
2013-12-25 22:20:22Z Loading data table ‘Microsoft.Dynamics.Setup.PrereqAssembly.PRPRCMAP.xml’.
2013-12-25 22:20:22Z Loading data table ‘Microsoft.Dynamics.Setup.PrereqAssembly.PRCAMAP.xml’.
2013-12-25 22:20:22Z Loading data table ‘Microsoft.Dynamics.Setup.PrereqAssembly.COMPPRMAP.xml’.
2013-12-25 22:20:22Z Loading data table ‘Microsoft.Dynamics.Setup.PrereqAssembly.COMPDATA.xml’.
2013-12-25 22:20:22Z Loading prerequisites for component ‘Databases’:
2013-12-25 22:20:22Z Computer restart pending
2013-12-25 22:20:22Z Microsoft .NET Framework 3.5 Service Pack 1
2013-12-25 22:20:22Z Adding prerequisite ‘Computer restart pending’.
2013-12-25 22:20:22Z Adding prerequisite ‘Microsoft .NET Framework 3.5 Service Pack 1’.
2013-12-25 22:20:22Z D:\AX R2
2013-12-25 22:20:22Z Components selected:
2013-12-25 22:20:22Z Databases
2013-12-25 22:20:22Z Loading prerequisites for component ‘Databases’:
2013-12-25 22:20:22Z Computer restart pending
2013-12-25 22:20:22Z Microsoft .NET Framework 3.5 Service Pack 1
2013-12-25 22:20:22Z Adding prerequisite ‘Computer restart pending’.
2013-12-25 22:20:22Z Adding prerequisite ‘Microsoft .NET Framework 3.5 Service Pack 1’.
2013-12-25 22:20:22Z Checking the following prerequisites:
2013-12-25 22:20:22Z Performing a computer restart pending check for prerequisite ‘Computer restart pending’.
2013-12-25 22:20:22Z Check succeeded.
2013-12-25 22:20:22Z Performing a registry value version check for prerequisite ‘Microsoft .NET Framework 3.5 Service Pack 1’.
2013-12-25 22:20:22Z Searching for a minimum version of ‘3.5.30729.1’.
2013-12-25 22:20:22Z Version found: ‘3.5.30729.5420’.
2013-12-25 22:20:22Z Check succeeded.
2013-12-25 22:20:24Z S161InstallModelDatabaseTypeOption
2013-12-25 22:20:32Z Property InstallDatabase set to: ‘2’
2013-12-25 22:20:32Z S163ModelSqlDatabaseNameSelection
2013-12-25 22:20:32Z Property DbSqlServer set to: ‘DR-SQL-S01’
2013-12-25 22:20:43Z Property DbSqlServer set to: ‘DR-SQL-S01\AX’
2013-12-25 22:20:56Z Property DbSqlDatabaseName set to: ‘SAPreproduction’
2013-12-25 22:20:56Z Property DbSqlModelStoreBaseline set to: ‘’
2013-12-25 22:20:56Z Property UpgradeDB set to: ‘0’
2013-12-25 22:20:56Z S620ModelSelection
2013-12-25 22:21:32Z The database SAPreproduction_model does not exist.
2013-12-25 22:21:32Z The database SAPreproduction_model does not exist.
2013-12-25 22:21:32Z The database SAPreproduction_model does not exist.
2013-12-25 22:21:32Z The database SAPreproduction_model does not exist.
2013-12-25 22:21:32Z The database SAPreproduction_model does not exist.
2013-12-25 22:21:32Z The database SAPreproduction_model does not exist.
2013-12-25 22:21:33Z OPTIONAL model D:\AX R2\Models\Labels\FoundationLabels.axmodel is found.
2013-12-25 22:21:33Z MANDATORY model D:\AX R2\Models\Standard\Foundation.axmodel is found.
2013-12-25 22:21:33Z OPTIONAL model D:\AX R2\Models\Upgrade\FoundationUpgrade.axmodel is found.
2013-12-25 22:21:59Z ******************************************************************************************************

2013-12-25 22:21:59Z The database SAPreproduction_model does not exist.

2013-12-25 22:21:59Z ******************************************************************************************************
2013-12-25 22:22:02Z Applying slipstreamed update model files.
2013-12-25 22:22:02Z Following models are already installed:
2013-12-25 22:22:02Z File: N/A, Layer: Sys, Name: Foundation, Version: 6.0.947.0, Partition: N/A
2013-12-25 22:22:02Z File: N/A, Layer: Syp, Name: Update for Foundation, Version: 6.0.1108.670, Partition: N/A
2013-12-25 22:22:02Z File: N/A, Layer: Syp, Name: SYP Labels, Version: 6.0.1108.670, Partition: N/A
2013-12-25 22:22:02Z File: N/A, Layer: Fpk, Name: Extensions, Version: 6.1.1108.0, Partition: N/A
2013-12-25 22:22:02Z File: N/A, Layer: Fpp, Name: FPP Labels, Version: 6.0.1108.670, Partition: N/A
2013-12-25 22:22:02Z File: N/A, Layer: Fpp, Name: Update for Extensions, Version: 6.1.1108.670, Partition: N/A
2013-12-25 22:22:02Z File: N/A, Layer: Var, Name: VAR Model, Version: 1.0.0.0, Partition: N/A
2013-12-25 22:22:02Z File: N/A, Layer: Var, Name: NTPay, Version: 1.0.0.0, Partition: N/A
2013-12-25 22:22:02Z File: N/A, Layer: Var, Name: NAP, Version: 1.0.0.0, Partition: N/A
2013-12-25 22:22:02Z File: N/A, Layer: Usr, Name: USR Model, Version: 1.0.0.0, Partition: N/A
2013-12-25 22:22:02Z Following model files have been selected by user:
2013-12-25 22:22:02Z File: D:\AX R2\Models\Standard\Foundation.axmodel, Layer: Sys, Name: Foundation, Version: 6.2.158.0, Partition: N/A
2013-12-25 22:22:02Z Following update packages will be applied:
2013-12-25 22:22:02Z Emulating installation of selected model files.
2013-12-25 22:22:02Z Update model details metadata not available.
2013-12-25 22:22:02Z Emulating import of model file “D:\AX R2\Models\Standard\Foundation.axmodel”.
2013-12-25 22:22:02Z Update model details metadata not available.
2013-12-25 22:22:02Z Update model details metadata not available.
2013-12-25 22:22:02Z Update model details metadata not available.
2013-12-25 22:22:02Z Update model details metadata not available.
2013-12-25 22:22:02Z Update model details metadata not available.
2013-12-25 22:22:02Z Update model details metadata not available.
2013-12-25 22:22:02Z Update model details metadata not available.
2013-12-25 22:22:02Z Model file “D:\AX R2\Models\Standard\Foundation.axmodel” is imported.
2013-12-25 22:22:02Z Following model files will be installed:
2013-12-25 22:22:02Z File: D:\AX R2\Models\Standard\Foundation.axmodel, Layer: Sys, Name: Foundation, Version: 6.2.158.0, Partition: N/A
2013-12-25 22:22:02Z S621ModelStoreUpdate
2013-12-25 22:22:39Z Property ModelStoreBackupDir set to: ‘C:\AX R2 Ins_Log’
2013-12-25 22:22:39Z Loading prerequisites for component ‘Databases’:
2013-12-25 22:22:39Z Computer restart pending
2013-12-25 22:22:39Z Microsoft .NET Framework 3.5 Service Pack 1
2013-12-25 22:22:39Z Microsoft SQL Server Full-Text Search
2013-12-25 22:22:39Z SQL Server Full-text Filter Daemon Launcher service startup type
2013-12-25 22:22:39Z SQL Server Full-text Filter Daemon Launcher service started
2013-12-25 22:22:39Z Microsoft SQL Server
2013-12-25 22:22:39Z Adding prerequisite ‘Computer restart pending’.
2013-12-25 22:22:39Z Adding prerequisite ‘Microsoft .NET Framework 3.5 Service Pack 1’.
2013-12-25 22:22:39Z Adding prerequisite ‘Microsoft SQL Server Full-Text Search’.
2013-12-25 22:22:39Z Adding prerequisite ‘SQL Server Full-text Filter Daemon Launcher service startup type’.
2013-12-25 22:22:39Z Adding prerequisite ‘SQL Server Full-text Filter Daemon Launcher service started’.
2013-12-25 22:22:40Z Adding prerequisite ‘Microsoft SQL Server (Databases)’.
2013-12-25 22:22:40Z S630Prerequisites
2013-12-25 22:22:40Z D:\AX R2
2013-12-25 22:22:40Z Components selected:
2013-12-25 22:22:40Z Databases
2013-12-25 22:22:40Z Loading prerequisites for component ‘Databases’:
2013-12-25 22:22:40Z Computer restart pending
2013-12-25 22:22:40Z Microsoft .NET Framework 3.5 Service Pack 1
2013-12-25 22:22:40Z Microsoft SQL Server Full-Text Search
2013-12-25 22:22:40Z SQL Server Full-text Filter Daemon Launcher service startup type
2013-12-25 22:22:40Z SQL Server Full-text Filter Daemon Launcher service started
2013-12-25 22:22:40Z Microsoft SQL Server
2013-12-25 22:22:40Z Adding prerequisite ‘Computer restart pending’.
2013-12-25 22:22:40Z Adding prerequisite ‘Microsoft .NET Framework 3.5 Service Pack 1’.
2013-12-25 22:22:40Z Adding prerequisite ‘Microsoft SQL Server Full-Text Search’.
2013-12-25 22:22:40Z Adding prerequisite ‘SQL Server Full-text Filter Daemon Launcher service startup type’.
2013-12-25 22:22:40Z Adding prerequisite ‘SQL Server Full-text Filter Daemon Launcher service started’.
2013-12-25 22:22:40Z Adding prerequisite ‘Microsoft SQL Server (Databases)’.
2013-12-25 22:22:40Z Checking the following prerequisites:
2013-12-25 22:22:40Z Performing a computer restart pending check for prerequisite ‘Computer restart pending’.
2013-12-25 22:22:40Z Check succeeded.
2013-12-25 22:22:40Z Performing a registry value version check for prerequisite ‘Microsoft .NET Framework 3.5 Service Pack 1’.
2013-12-25 22:22:40Z Searching for a minimum version of ‘3.5.30729.1’.
2013-12-25 22:22:40Z Version found: ‘3.5.30729.5420’.
2013-12-25 22:22:40Z Check succeeded.
2013-12-25 22:22:40Z Performing a service existence check for prerequisite ‘Microsoft SQL Server Full-Text Search’.
2013-12-25 22:22:40Z Checking for the existence of the service ‘MSSQLFDLauncher’ on the machine ‘DR-SQL-S01’.
2013-12-25 22:22:40Z Success
2013-12-25 22:22:40Z Check succeeded.
2013-12-25 22:22:40Z Performing a service status check for prerequisite ‘SQL Server Full-text Filter Daemon Launcher service startup type’.
2013-12-25 22:22:40Z Checking the startup type of the service ‘DR-SQL-S01’ on the machine ‘MSSQLFDLauncher’.
2013-12-25 22:22:40Z Found: ‘Automatic’ Expected: ‘Automatic’.
2013-12-25 22:22:40Z Success
2013-12-25 22:22:41Z Check succeeded.
2013-12-25 22:22:41Z Performing a service status check for prerequisite ‘SQL Server Full-text Filter Daemon Launcher service started’.
2013-12-25 22:22:41Z Checking the status of the service ‘MSSQLFDLauncher’ on the machine ‘DR-SQL-S01’.
2013-12-25 22:22:41Z Success
2013-12-25 22:22:41Z Check succeeded.
2013-12-25 22:22:41Z Performing a database version check for prerequisite ‘Microsoft SQL Server (Databases)’.
2013-12-25 22:22:41Z Attempting to connect to SQL Server ‘DR-SQL-S01\AX’.
2013-12-25 22:22:41Z Searching for a minimum version of ‘10.0.2531.0’.
2013-12-25 22:22:41Z Version found: ‘10.50.2500.0’.
2013-12-25 22:22:41Z Check succeeded.
2013-12-25 22:22:41Z Adding prerequisite ‘Computer restart pending’.
2013-12-25 22:22:41Z Adding prerequisite ‘Microsoft .NET Framework 3.5 Service Pack 1’.
2013-12-25 22:22:41Z Adding prerequisite ‘Microsoft SQL Server Full-Text Search’.
2013-12-25 22:22:41Z Adding prerequisite ‘SQL Server Full-text Filter Daemon Launcher service startup type’.
2013-12-25 22:22:41Z Adding prerequisite ‘SQL Server Full-text Filter Daemon Launcher service started’.
2013-12-25 22:22:41Z Adding prerequisite ‘Microsoft SQL Server (Databases)’.
2013-12-25 22:22:44Z S240LastInfo
2013-12-25 22:22:46Z S250InstallProgressInfo

2013-12-25 22:22:46Z === Starting execution phase ===
2013-12-25 22:22:46Z Executing ‘Databases’ this pass.
2013-12-25 22:22:46Z Queueing for installation: Databases
2013-12-25 22:22:46Z Component installation task completed successfully.
2013-12-25 22:22:46Z === Setting up Update model store ===
2013-12-25 22:22:46Z === Setting up Splitting model and business database ===
2013-12-25 22:22:46Z Executing AxUtil Schema for database ‘DR-SQL-S01\AX\SAPreproduction_model’.
2013-12-25 22:22:55Z Executing AxUtil Schema for database ‘DR-SQL-S01\AX\SAPreproduction’.
2013-12-25 22:23:12Z Exporting DR-SQL-S01\AX\SAPreproduction to file C:\AX R2 Ins_Log\AxModelStoreUpgradeBackup62.axmodelbak
2013-12-25 22:28:22Z === Setting up Import model store in SAPreproduction_model database ===
2013-12-25 22:28:24Z Importing DR-SQL-S01\AX\SAPreproduction_model from file C:\AX R2 Ins_Log\AxModelStoreUpgradeBackup62.axmodelbak
2013-12-25 22:37:25Z Completed setup of SAPreproduction_model.
2013-12-25 22:37:25Z Executing AxUtil Schema for database ‘DR-SQL-S01\AX\SAPreproduction_model’.
2013-12-25 22:37:33Z Importing file ‘D:\AX R2\Models\Standard\Foundation.axmodel’ to the database ‘DR-SQL-S01\AX\SAPreproduction_model’.
2013-12-25 22:37:33Z Model ‘Foundation’ will be replaced.
2013-12-25 22:37:33Z Model ‘’ will be replaced.
2013-12-25 22:37:33Z Model ‘’ will be replaced.
2013-12-25 22:37:33Z Model ‘’ will be replaced.
2013-12-25 23:02:56Z ******************************************************************************************************

2013-12-25 23:02:56Z The model contains a customization of a license code. The model cannot be imported because you can overlayer a license code from the patching layer only.

2013-12-25 23:02:56Z ******************************************************************************************************
2013-12-25 23:02:56Z One or more model elements in the imported model file contains
2013-12-25 23:02:56Z elements that have a different name in the model store. The following elements
2013-12-25 23:02:56Z have been renamed during import:
2013-12-25 23:02:56Z One or more model elements in the imported model file contains
2013-12-25 23:02:56Z elements that have a different name in the model store. The following elements
2013-12-25 23:02:56Z have been renamed during import:
2013-12-25 23:02:56Z One or more model elements in the imported model file contains
2013-12-25 23:02:56Z elements that have a different name in the model store. The following elements
2013-12-25 23:02:56Z have been renamed during import:
2013-12-25 23:02:56Z One or more model elements in the imported model file contains
2013-12-25 23:02:56Z elements that have a different name in the model store. The following elements
2013-12-25 23:02:56Z have been renamed during import:
2013-12-25 23:02:56Z Model import resulted in an error. See previous log messages for details.
2013-12-25 23:02:56Z ******************************************************************************************************

2013-12-25 23:02:56Z Component installation task stopped due to an error.

2013-12-25 23:02:56Z ******************************************************************************************************
2013-12-25 23:02:58Z S260FinishedInfo

There are many other steps in in-place upgrade that you didn’t mention. In this particular case, it seems that you haven’t installed the old AOS.

No , I keep the old AOS the main problem i think in code upgrade list , and I did all required steps in it but can you tell me how i can run it again ???

thanks ,

Hisham.

Read the section of in-place upgrade instructions that begins with “If you fail to remove the old AOS manually prior to installing the new Microsoft Dynamics AX 2012 R2 AOS, you may encounter multiple errors in subsequent steps. You can return the system to a stable condition in either of two ways”.

i read it well , i am in the beginning steps before create test system

So what are you doing? I’m not aware of any steps in “Before you begin” that would involve R2 installer, but that’s what threw the error. Therefore you’re already in the upgrade process regardless of whether you wanted to be or whether you’re aware of that.

I am in preparing the database for AX 2012 R2 and make it connected on exist database , but i think the problem because of i avoid upload license for AX 2012 R2 through code upgrade checklist , that it is and my question is How about if i upload it through AX 2012 FP , I would appreciate your fast reply and consideration, thanks.

Hisham.

Yes, you’re installing R2 and getting into troubles because the FP AOS configuration doesn’t know anything about the separate model store database introduced in R2 (at least that’s my theory of what’s happening). You should use one of the solutions described on Technet.

Hi ,

the problem was two main issues.

1- upload license for AX 2012 R2 in Code upgrade checklist step.

2- some customization in USR layer contents on configuration & security keys.

once i delete USR layer everything is going well.

thanks.

Hisham.