Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

XppIL folder is empty after Restart AOS Service

(0) ShareShare
ReportReport
Posted on by 1,600

Hi,

During my fix deployment on Production suddenly AOS service went down (say as CRASHED). I tried to restart and It was at 'STARTING' state for a long time without any progress. Event Viewer didn't log any info and stops at one particular point which saying 'could not load assembly 'VendInvoiceDocumentReport.BusinessLogic' or one of its dependencies'. SQL Activity Monitor didn't show any Blocking transactions.

I have killed the current AOS Service PID via command prompt and tried to start again and faced the same issue. Then backup by rename the original XppIL folder and created new XppIL folder. Then the service has been started but no Files / Folder generated in that. 

I have reset the GUID for AOS via SQL by update #EmptyGUID in SysSQMSettings table, they tried. AOS started by XppIL folder still empty.

My user Id is local admin and I have done the same(new XppIL foder) in my last deployment without any issues. Due to this AOS crash, I don't know what went wrong and where.

Any help / suggestions? 

// Vasanth Arivali

  • VasanthArivali Profile Picture
    VasanthArivali 1,600 on at
    RE: XppIL folder is empty after Restart AOS Service

    Thanks Martin, I will try and update the forum.

  • Martin Dráb Profile Picture
    Martin Dráb 231,432 Most Valuable Professional on at
    RE: XppIL folder is empty after Restart AOS Service

    Yes, if things went wrong, restoring the original state is a good idea.

    You could deploy models, but only modelstore deployment guarantees that you get exactly the same version of application. Model deployment also require compilation; modelstore deployment doesn't.

    Yes, you can use axbuild for parallel compilation of X++.

  • VasanthArivali Profile Picture
    VasanthArivali 1,600 on at
    RE: XppIL folder is empty after Restart AOS Service

    Martin,

    I cannot open AX client if there is no files in the folder.

    I have the Original Folder backup, Shall I copy that files to the new folder to open the application?

    The right approach is testing an application in a test environment and then deploying the whole application to production, therefore you deploy what you tested - Deploying the Model Store right?

    you should compile the whole application - can do parallel compile?

  • Martin Dráb Profile Picture
    Martin Dráb 231,432 Most Valuable Professional on at
    RE: XppIL folder is empty after Restart AOS Service

    After you compile the application and generate full CIL, files will be added to the XppIL folder.

  • VasanthArivali Profile Picture
    VasanthArivali 1,600 on at
    RE: XppIL folder is empty after Restart AOS Service

    I can only compile application if AOS is running, I will follow the procedure in the future deployments.

    Here problem is AOS in 'Starting' state with Orig XppIL folder, with new XppIL folder it is 'Running' state but no files inside the folder.

  • Martin Dráb Profile Picture
    Martin Dráb 231,432 Most Valuable Professional on at
    RE: XppIL folder is empty after Restart AOS Service

    Don't compile a project - always compile the whole application after you deploy code (unless you switch to a reasonable deployment process). Yes, compilation takes time, but that's the price you pay for not deploying an already compiled application.

  • VasanthArivali Profile Picture
    VasanthArivali 1,600 on at
    RE: XppIL folder is empty after Restart AOS Service

    Yes Martin, I agree on that. But here they following this from the system went live. I have joined recently and continue the same. I have also recommended to have test system but not still not implemented. I will try to change the deployment process as you said.

    On the deployment part, I will do Full Synch & CIL after the XPO deployment but not compile.

    On the issue, When I do project compile AOS down. To bring back I created new XppIL folder and started but no files but AOS running. If I roll back to original folder AOS not even Running it was hanged at 'Starting' state. In this kind of situation, how to bring back the AOS with XppIL files.

    FYI, I didn't truncated XppAssembly table after crash happened

  • Martin Dráb Profile Picture
    Martin Dráb 231,432 Most Valuable Professional on at
    RE: XppIL folder is empty after Restart AOS Service

    That's not how deployment should be done. Importing an .xpo is an equivalent of writing code in production. You've also created a ne state of the application that you didn't test before. The right approach is testing an application in a test environment and then deploying the whole application to production, therefore you deploy what you tested

    Also, compiling individual objects isn't enough - you should compile the whole application and build full CIL (if X++ compilation succeeded). Please try it. Also, because you've added a table, you'll have to synchronize the database.

  • VasanthArivali Profile Picture
    VasanthArivali 1,600 on at
    RE: XppIL folder is empty after Restart AOS Service

    Hi Martin,

    No, via Project XPO.

    That project has only 2 objects ( a table and a class) both compiled with no errors. Then I compiled the project, immediately system went to not responsive and AOS got crashed.

    FYI, In our PROD env , we have only one AOS and that is enabled as batch server as well. I never unchecked any deployments and till last time, all my deployments are done without any issues.

    // Vasanth Arivali

  • Martin Dráb Profile Picture
    Martin Dráb 231,432 Most Valuable Professional on at
    RE: XppIL folder is empty after Restart AOS Service

    How did you do the deployment? Through a modelstore import?

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,432 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans