I'm converting the data of a customer from release 1611 platform update 6 to the spring release platform update 10.
The code is converted, Now I'm connecting the customer DB on my local VM, but with synchronizing the DB, I'm running in the next error
cd C:\\AosService\\WebRoot\\bin>
Microsoft.Dynamics.AX.Deployment.Setup.exe -bindir "C:\\AosService\\PackagesLocalDirectory" -metadatadir C:\\AosService\\PackagesLocalDirectory -sqluser upgrage -sqlserver localhost -sqldatabase axdb -setupmode sync -syncmode fullall -isazuresql false -sqlpwd pass@word1
09/21/2017 06:26:20: Running in syncmode.
Syncmode: FullAll
Bindir: C:\\AosService\\PackagesLocalDirectory
MetadataDir: C:\\AosService\\PackagesLocalDirectory
Sql scripts:
09/21/2017 06:26:20: Setup mode is "sync".
09/21/2017 06:26:20: Creating Default fulltext Catalog
09/21/2017 06:26:20: Setting simple log recovery mode
09/21/2017 06:26:20: Altering Seq_Sessions to match SysClientSessions
09/21/2017 06:26:20: Creating Default fulltext Catalog
09/21/2017 06:26:22: Getting Compatibilty Level for Database 'axdb'. Command: SELECT compatibility_level from sys.databases where name='axdb';
09/21/2017 06:26:23: Compatibilty Level for Database 'axdb' is: 130
09/21/2017 06:26:23: Compatibility level '130' meets minimum required level '130'. Skipping compitability level configuration for Database 'axdb'
09/21/2017 06:26:23: 2017-09-21T06:26:23.1344537-07:00 Beginning sync step: InitialSchema.
09/21/2017 06:26:26: 2017-09-21T06:26:26.8760051-07:00 InitialSchema finished. Time elapsed: 00:03:741.
09/21/2017 06:26:26: Initialize schema failed. Microsoft.Dynamics.AX.Framework.Database.TableSyncException: Invalid column name 'WORKLOADGROUPNAME'.
Invalid column name 'MINLOGIOPERCENT'. ---> System.Data.SqlClient.SqlException: Invalid column name 'WORKLOADGROUPNAME'.
Invalid column name 'MINLOGIOPERCENT'.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.Dynamics.AX.Framework.Database.Tools.StaticSchema.runStaticUpdate(String sqlConnectionString)
--- End of inner exception stack trace ---
at Microsoft.Dynamics.AX.Framework.Database.Tools.StaticSchema.runStaticUpdate(String sqlConnectionString)
at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.InitialSchemaSync()
at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.FullSync()
at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.RunSync(SyncOptions options)
at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.Run(String metadataDirectory, String sqlConnectionString, SyncOptions options)
09/21/2017 06:26:26: The operation failed.