Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Synchronize database error after CU8 in AX 2012 R3

Posted on by Microsoft Employee

Hello All,

We have successfully upgraded to R3 and have now performed the CU8 update (with both binaries and application). During the Software update checklist, all steps were ok except that we got an error during synchronize database. It did not prevent the subsequent steps from completing fine.

The error is:

syncerr.jpg

SQL error description: [Microsoft][SQL Server Native Client 11.0][SQL Server]Cannot alter 'TRVSUBMITACCDISTRIBUTION' because it is not a table.

SQL statement: ALTER TABLE TRVSUBMITACCDISTRIBUTION DROP COLUMN PARTITION#3, PARTITION#2

Problems during SQL data dictionary synchronization.

Synchronize failed on 1 table(s)

Did anyone experience this error and how to get it resolved?

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Synchronize database error after CU8 in AX 2012 R3

    Bhaskar,

    I believe you are correct. Now we just need to determine why is it a table in DEV and how to get it converted into a view.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Synchronize database error after CU8 in AX 2012 R3

    Hello All,

    this is strange indeed. the 'TrvSubmitAccDistribution' is a view in our TEST R3 environment yet it is a table in our DEV environment. It's confusing as to what object it is.

    Can anyone advise?

  • Verified answer
    5400 Profile Picture
    5400 7,160 on at
    RE: Synchronize database error after CU8 in AX 2012 R3

    It is view in AOT. It is consist of TrvSubmitAccountingDistribution query. This query having data source

    1. AccountingDistribution

    2.TrvExpTrans

    3.TrvPayMethod

    Please sync the above tables first and then go to view please check any unknown field is there or not and each field should have mapped with correct table.

  • Umesh Pandit Profile Picture
    Umesh Pandit 9,261 User Group Leader on at
    RE: Synchronize database error after CU8 in AX 2012 R3

    Hi Boubacar,

    Just find the table in DB and delete/drop the table, and re-sync. 

  • Suggested answer
    Victor Tang Profile Picture
    Victor Tang 47 on at
    RE: Synchronize database error after CU8 in AX 2012 R3

    I had the same problem twice and Microsoft's reply is it's rather a random issue and they were not able to provide a fix yet until they can reproduce it.

    Please see the following and use the sql query to fix it

    community.dynamics.com/.../119471

  • nunomaia Profile Picture
    nunomaia 10,684 Super User 2024 Season 1 on at
    RE: Synchronize database error after CU8 in AX 2012 R3

    Hi,

    It looks like that view is being handled as a table. Check this https://community.dynamics.com/ax/f/33/t/143042

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,232 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,064 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans