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)

DMF Error: Duplicate tag exists in file ''

(0) ShareShare
ReportReport
Posted on by 14,855

I am getting this error when i want to view my source FILE in DMF

Duplicate tag exists in file ''

doesn't anyone know what it is ?

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,069 Super User 2025 Season 2 on at

    Hi Abdo,

    Did you specify the sample file name in the processing group?

  • Abdo Khoury Profile Picture
    14,855 on at

    yes i did, and i went to click on "Preview source file" ,

    then i got this error ,

    i was getting a different error before , which was related to the amount column format, but i fixed that error,

    now it is this ,

    do you have any idea what it is ? thank you

  • André Arnaud de Calavon Profile Picture
    301,069 Super User 2025 Season 2 on at

    Hi Abdo,

    Does the file itself has a file header? Could it be possible that this file has two columns with the same name?

    If it has no file header, but you did setup this in the source data format, AX still thinks the first line it the header.

  • Tommy Skaue Profile Picture
    Moderator on at

    Either it is a duplicate column header in the file, or it could be the wrong encoding. Make sure you decide between ANSI or UTF-8, and that you make sure the file follows the same encoding. I normally just use Notepad++ to make sure encoding is correct. :-)

  • Christiaan Profile Picture
    380 on at

    I am having the same issue of duplicate TAG exists error. I am using ODBC with select statement. debugging DIEF shows it has duplicate amount of columns. one column keeps repeating after another unique column.

    Example: KnownAs, RM00101, NAME, RM00101, CustGroup, RM00101 etc..

    SELECT CUSTNMBR as KnownAs
          ,CUSTNAME as Name
          ,'MIL-MOODY' as CustGroup
          ,SHRTNAME as NameAlias
          ,ADRSCODE as AddressName
          ,SHIPMTHD as DlvMode
      FROM [RM00101] as CustTable

  • Community Member Profile Picture
    on at

    I have the same issue like Christiaan.

    When using an ODBC source, it seems like DIXF tries to map the table name to a column name. If you use more than one column in the select clause the error shows up.

    Has anyone an idea how to solve this?

  • Mariano Gracia Profile Picture
    on at

    I have used DIXF with ODBC as data source (to import products) and I have never had this issue. Why do you put "FROM [RM00101] as CustTable"?, you don't need to specify table name in the from clausule, if your table name is RM00101, use as is. You only need to specify columns name just to make it easier (DIXF will match fields using field names)

  • Christiaan Profile Picture
    380 on at

    I was able to resolve this issue with a small modification. the problem is the XML returns additional 3e tag called <datatable>

    I will post the code snippet change in a few minutes.

  • Community Member Profile Picture
    on at

    Is this a AX-standard bug?

  • Community Member Profile Picture
    on at

    It looks like this could be a kernel bug.

    We deployed a new kernel to the customer-installation (6.3.1000.2578) some days ago and now mapping is not possible anymore.

    Could this also be your Problem?

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