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)

xPPIL folder dlls disappearing every night

(0) ShareShare
ReportReport
Posted on by

Hi AX Experts,

I seem to be having a weird issue with my Test Environment.

Every morning when i log into my test system, AX doesnt work as expected and keeps giving me errors, majorly Application.Dynamics dll missing. When i googled it, i came to know that the dll file is missing from the XPPIL folder.

It was a surprise because i dont know how that happened, when till the previous day, everything was working okay.

I deleted the existing folder and restarted my AOS to generate a new one but still the Dlls were not generated. Then i tried running a Full Compile but it wont run. Finally i had to go to the Server Configuration and restart AOS from there and click on full compile to make it run. I have done this for two days in a row and today is the third day that this has happened and my system is compiling as i write this.

I am baffled because i do not know what is causing this. I cant keep doing this everyday because it wastes a lot of time and my Test system goes down.

Please let me know if any of you has faced a similar issue before or have suggestions regarding the same.

Version of AX : AX 2012 R2 CU7

Thank you so much ~ Nidhi :)

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,976 Most Valuable Professional on at

    Are you saying that the XppIL folder is completely empty? Or that the DLL is missing and other files, such as netmodules, are there?

    What's the difference between "I restarted my AOS" and "Finally i had to go to the Server Configuration and restart AOS from there"?

  • Vilmos Kintera Profile Picture
    46,149 on at

    Do you have any overnight activity against your test environment, like build automation or code release process? Antivirus software? Developers messing around?

    I'd say you only get netmodule DLL issues if you have code that is not correctly compiled, or if you have X++ compiler errors in some of the base classes (application, syssetupformrun, info, aif* etcetera). Did you consider monitoring the situation by watching the folder overnight to see when does it happen, and see what processes are executing at the time? Without understanding your processes and environment I do not think we could be of much help here.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Martin,

    The XppIL folder is not completely empty. It has the 'AppShare' folder inside it. But thats about it. Nothing else.

    When i say 'I restarted the AOS', it mean that i had to restart the AOS Service by going into services, manually stopping it and then started it. And by 'Finally i had to go to the Server Configuration and restart AOS from there', i mean that i unchecked a checkbox and check it back, so that the 'Apply' button will become active and once i click on it, the system asks me if i want to restart AOS to which i say 'Yes'.

    I know it should be the same thing but for some reason, the CIL Generation wont work after i manually restart the service, but it will work after the AOS is restarted by the Server Configuration.

    Thanks ~ Nidhi :)

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Vilmos,

    I do not have any activity running overnight, except from the Batch Services that run. But this has started to happen only in the last couple of days and nothing has changed in terms of any activities or processes.

    I would be watching the folder tonight and maybe tomorrow night to understand what is happening and why it might be happening, but it is just very strange.

    Thanks ~ Nidhi :)

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

    I won't believe it's a different kind of restart unless I see a proof. :)

    The files won't disappear by themselves, but it's surprising that they can disappear at all, because they should be locked by AOS.

    Can you review event logs related to AOS, please? You may see something related to removing those files, but also why files aren't deployed on restart. Also review SysXppAssembly table; maybe its content is corrupted.

    I would monitor those files too; knowing the time when it happens could tell you quite a lot.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Martin,

    That is the biggest mystery as to how they are being deleted :?

    I reviewed the SysXppAssembly Table but it has no entries, like when i look at it from SQL, it doesnt contain any entries. I do not know whether that is correct or not. Can you please shed some more light on that?

    I am going to monitor the files tonight and see what is causing the issue.

    Thanks ~ Nidhi :)

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

    It's not correct. When you build CIL, AX should store the assembly (which consists of multiple files) in the SysXppAssembly table. If you restart AOS and AX detects that files or disk aren't up to date, it should take them from the SysXppAssembly table (without requiring another CIL build). If AX doesn't have these files in database, it obviously can't deploy them on restart. Therefore something fails already on CIL compilation.

    I've never seen this problem before, so I can't say what's wrong. First of all, check if CIL compilation generates the files. If it does, the question is why they aren't imported to DB. If it doesn't, the compilation itself has a problem. Make sure that it completes without any error; don't forget that CIL generation depends on X++ compilation, therefore you have to compile X++ first.

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