Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

New AX 2012 R2 CU7 install with Contoso demo data - database sync trying to create tables when object already in the database

$
0
0

New environment

[1] Restored the demo contoso AX 2012 R2 demo data

[2] Installed AX 2012 R2

[3] Install CU7

[4] finished a compile after removing the usr model

[5] start a db sync and the database sync returns an info log full of 50+ table create errors as its trying to create what looks like all of the modified tables (new fields) when the tables already exist.

How do i tell AX to stop trying to create these tables and that everything already exists and appears to be just fine?

what steps did I miss as this CU does not seem to be working as good as some others in the past?

Sample of the info log messages:

-------------------------------------------------------------------------------------------------------

Cannot execute a data definition language command on  ().

The SQL database has issued an error.

-------------------------------------------------------------------------------------------------------

SQL error description: [Microsoft][SQL Server Native Client 10.0][SQL Server]There is already an object named 'BANKACCOUNTTABLE' in the database.

-------------------------------------------------------------------------------------------------------

SQL statement: CREATE TABLE "DBO".BANKACCOUNTTABLE  (ACCOUNTID NVARCHAR(10) NOT NULL DEFAULT '' ,BANKGROUPID NVARCHAR(10) NOT

/*...cut some of this out to save some space in the post...*/

,BANKRECONMATCHRULEMANUALREVERSAL BIGINT NOT NULL DEFAULT 0 ,BANKSTATEMENTFORMAT BIGINT NOT NULL DEFAULT 0 ,BANKSTATEMENTNAME NVARCHAR(60) NOT NULL DEFAULT '' ,LVDEFAULTBANK INT NOT NULL DEFAULT 0 ,SPECIFICSYMBOL NVARCHAR(20) NOT NULL DEFAULT '' ,BANKPOSITIVEPAYFORMAT BIGINT NOT NULL DEFAULT 0 ,BANKPOSITIVEPAYSTARTDATE DATETIME NOT NULL DEFAULT '1900-01-01 00:00:00.000' ,DATAAREAID NVARCHAR(4) NOT NULL DEFAULT 'dat' ,RECVERSION INT NOT NULL DEFAULT 1 ,PARTITION BIGINT NOT NULL DEFAULT 5637144576 ,RECID BIGINT NOT NULL CHECK (RECID <> 0) )

-------------------------------------------------------------------------------------------------------

any help would be great

thanks


Viewing all articles
Browse latest Browse all 72043

Trending Articles