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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Help needed on error received while using Dixif via batch job for processing diectory

(0) ShareShare
ReportReport
Posted on by

Hi ,

In Dixif i have configured a processing group to use directory for importing files into Ax, as it is directory instead of file, i was able to setup processing, completed & error directory for this import.

Also i set up reoccurence of this import batch job . Upon checking batch job history i notice that it always errors out with below error message.Can anyone help me with this error .

pastedimage1597777259579v1.png

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    303,988 Super User 2026 Season 1 on at

    Hi Mav,

    Can you provide more information which entity you are using and what data you have in the source file(s)?

  • Verified answer
    Martin Dráb Profile Picture
    239,069 Most Valuable Professional on at

    Compiling CIL may be worth a try.

    It seems to be about AX 2012, therefore I changed the version tag to "Microsoft Dynamics AX 2012".

  • Mav Profile Picture
    on at

    Thanks for your responses, got this error in the log file, pls suggest a fix.

    Finished pass 1 at 8/19/2020 1:15:20 PM
    Error when loading the method. Type: DMFEntity, Method: defaultEntityEx
    System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
    at System.ThrowHelper.ThrowKeyNotFoundException()
    at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
    at Microsoft.Dynamics.Ax.Xpp.ILGenerator.buildArgTypes(Int32 parmCount, Int32 optionalParmCount, Boolean isInstance)
    at Microsoft.Dynamics.Ax.Xpp.ILGenerator.BuildMethod(TypeBuilder typeBuilder, XmlNode methodNode)
    at Microsoft.Dynamics.Ax.Xpp.ILGenerator.LoadMethods(XmlNode classNode, TypeBuilder typeBuilder)
    at Microsoft.Dynamics.Ax.Xpp.ILGenerator.GenerateXppModule()
    Error when loading the method. Type: DMFDefinitionGroupEntity, Method: modifiedField
    System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
    at System.ThrowHelper.ThrowKeyNotFoundException()
    at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
    at Microsoft.Dynamics.Ax.Xpp.ILGenerator.buildArgTypes(Int32 parmCount, Int32 optionalParmCount, Boolean isInstance)
    at Microsoft.Dynamics.Ax.Xpp.ILGenerator.BuildMethod(TypeBuilder typeBuilder, XmlNode methodNode)
    at Microsoft.Dynamics.Ax.Xpp.ILGenerator.LoadMethods(XmlNode classNode, TypeBuilder typeBuilder)
    at Microsoft.Dynamics.Ax.Xpp.ILGenerator.GenerateXppModule()
    The CIL generator found errors and could not save the new assembly.
    Errors: 2
    Warnings: 0

    Thanks

    Mav

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Mav,

    Did you do a full CIL or an incremental CIL?

  • Mav Profile Picture
    on at

    Full CIL

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Please follow the following steps -

    1. Log into the AOS server. Stop any other AOS services if you have multiple AOS servers.

    2. Go to C:\Program Files\Microsoft Dynamics AX\60\Server\<instance name>\bin.

    3. Rename the XPPIL folder to XPPIL_old. Create a new folder and name it XPPIL.

    4. Do a full build from command line. You can refer to this link - docs.microsoft.com/.../axbuild-exe-for-parallel-compile-on-aos-of-x-to-p-code. Please ensure there are no errors in compilation.

    5. Start the AOS service.

    6. Do a full CIL.

    7. Start services on other AOS servers (if any).

  • Martin Dráb Profile Picture
    239,069 Most Valuable Professional on at

    Maybe you didn't have compiled X++ either. Try compiling the whole application (X++) and then generating CIL.

  • Suggested answer
    Mav Profile Picture
    on at

    Resolved by doing full build  & then checking the log file which had details of objects which were causing error.

    Fixed error on those objects & then i was able to get successful build.

    Thanks to this link. & post by Deepak Agarwal

  • Martin Dráb Profile Picture
    239,069 Most Valuable Professional on at

    Good! Next time, making sure that your application compiles should be one of your first step.

    Now please mark the reply (or replies) that contains resolution of the problem (by using "Did this answer your question? > Yes" by the reply).

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 658

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 495 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 315 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans