首页 > 代码库 > Failed to upgrade AX 2012 R3 Retail channel database from CU9 to CU11 if SQL Server version was lower than 2012

Failed to upgrade AX 2012 R3 Retail channel database from CU9 to CU11 if SQL Server version was lower than 2012

I tried to upgrade AX 2012 R3 Retail channel database from CU9 to CU11 for client.

after generated new CreateDatabase.dll with upgraded Retail SDK, ran the Channel Configuration Utility, but got error.

技术分享

 

So I tried the sql queries from CreateDatabase project‘s DatabaseScript.txt in SSMS.

 技术分享

store database‘s sql engine is sql server 2008, which does not support sql function ‘CONCAT‘. (It‘s supported from SQL 2012)

So I changed the DatabaseScript.txt, re-genreated a CreateDatabse.dll.

Then successfully upgraded the store database.

 

Failed to upgrade AX 2012 R3 Retail channel database from CU9 to CU11 if SQL Server version was lower than 2012