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)

Error unable to load the assembly "Dynamics.AX.Application" while generating CIL

(0) ShareShare
ReportReport
Posted on by 640

Hi All,

 I'm getting an error saying "Unable to load the assembly 'Dynamics.AX.Application'" while generating CIL.

It's R3 development environment installed in my local machine. When I look into the path in my machine "S:\ERPLITE\Server\ERPLITE_DEV\bin\XppIL\", I don't find the dll file named 'Dynamics.Ax.Application.dll'.

I restarted my local machine as well as AOS, nothing helped me.

Please help me out to solve this problem as it's necessary to fix asap for me.

Thanks in advance.

Thanks & Regards,

Kedar

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Iulian Cordobin Profile Picture
    8,201 on at

    You should try to perform a FULL CIL (I imagine you are doing an incremental CIL). Also, I assume your instance is fully compiled properly.

  • Kedar Dande Profile Picture
    640 on at

    Hi Iulian,

    I tried with the both FULL CIL genration as well as Incremental CIL generation.

    I compiled the application which results no errors. But, the dll file from the "XppIL" folder is missing. I'm not getting the reason why? It will be regenerated once you restart the AOS, in my case it is not generating.

  • Verified answer
    E. R. Profile Picture
    739 on at

    Dear Kedar,

    stop the AOS service than rename the XppIL (if you want rename it as: XppIL-OLD) after that restart the AOS (the XppIL folder will be created automatically) than please run FULL CIL generation and incremental CIL generation.

    Awaiting your feedback

  • Iulian Cordobin Profile Picture
    8,201 on at

    This is strange indeed. Do you have multiple AOSes in your topology or only one?

    Also, have you tried to delete only the files in the XppIL folder (so not the Source, temp, etc folders, but the netmodule and pdb files) and restart the AOS then perform a Full?

  • Kedar Dande Profile Picture
    640 on at

    Thanks Elie and Iulian.

    Finally compile application from system administration and full CIL generation from AOT  resolved the issue.

    I was compiling through powershell command.

    Thanks & Regards,

    Kedharnath Dande

  • Iulian Cordobin Profile Picture
    8,201 on at

    Please verify the answer that helped you so other can find the right answer if they face the same 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