web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Synchronize Database Errors: Column names in each table must be unique

(0) ShareShare
ReportReport
Posted on by 35

Hi everybody, first to all, i apologize for my bad english


I have this error when synchonize DB, after data upgrade in place.

Column names in each table must be unique. Column name 'FIELDNAME_B' in table 'TABLE_A' is specified more than once.


It's happening with this single TABLE_A, this is a base table, but the FIELDNAME_B belong to TABLE_B an extended table from TABLE_A. This FIELDNAME_B exists for TABLE_A on SQL.

i try to looking on SqlDictionary and ModelElement, but i missing something, where could be the error?

Any help is appreciated,

Jonatan

*This post is locked for comments

I have the same question (0)
  • Jonatan Torino Profile Picture
    35 on at

    I forgot, this is an upgrade from AX 2012 R2 CU3 to AX 2012 R3 CU8

  • Martin Dráb Profile Picture
    237,967 Most Valuable Professional on at

    Check if FIELDNAME_B isn't defined in another table (in addition to TABLE_B) in the same table hierarchy. If it isn't, verify that there are no ID conflicts.

  • Community Member Profile Picture
    on at

    hi Jonatan, were you able to resolve this issue?

  • Community Member Profile Picture
    on at

    Check the fieldId on Field_B properties and also in value of FieldId in SQLDictionary table. Sometimes they got mismatched

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    I have an ID fix class/job, you may attempt to run that and see if it resolves the issue within SQL Dictionary.

    www.daxrunbase.com/.../fix-table-and-field-id-synchronization-conflicts-in-ax

    It should work as long as you do not have an actual conflict in your AOT via using the same field at different levels of the table type hierarchy.

  • Community Member Profile Picture
    on at

    I resolved it. when I checked, There was no data in "FIELDNAME_B". I manually deleted the field from the database. Ran the Retail Management Utility, the database got upgraded and the column "FIELDNAME_B" was recreated.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans