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

Dynamics AOS service down automatically

(0) ShareShare
ReportReport
Posted on by 50

Dear Senior,

When ever I run customize JOB, AOS service down automatically and then I start the service than I run process its run successfully but I run 2nd time the service go down.

I did Incremental CIL and Full CIL and sync DB. But issue was same.

  • ovais rabbani Profile Picture
    50 on at
    RE: Dynamics AOS service down automatically

    Thanks for reply.

    When I debug the code, code works fine.

    How can I find memory dump?

    and lastly, is that any chance it may cause of buffer size my buffer is 48kB.

  • Martin Dráb Profile Picture
    232,034 Most Valuable Professional on at
    RE: Dynamics AOS service down automatically

    I would still do what I suggested in my first reply. Identify the line of code causign the crash. If it's not possible to do it by debugging for some reason. you can always resort to analyzing a memory dump.

  • ovais rabbani Profile Picture
    50 on at
    RE: Dynamics AOS service down automatically

    Dear Martin

    what can I do now?

  • ovais rabbani Profile Picture
    50 on at
    RE: Dynamics AOS service down automatically

    I compiled whole AOT and than full CIL and sync data dictionary but issue remain there AOS service down when JOB run.

  • Martin Dráb Profile Picture
    232,034 Most Valuable Professional on at
    RE: Dynamics AOS service down automatically

    Yes, if you don't regularly recompile the whole AOT, you should do it now - and watch out for compilation errors.

    If all the code executes in X++ and not CIL, recompiling CIL wouldn't make any difference. But even if your code executes in X++, it might call something that switches execution to CLR, therefore recompiling CIL after successfully compiling X++ still makes sense. It'll make sure that everything is up to date.

  • ovais rabbani Profile Picture
    50 on at
    RE: Dynamics AOS service down automatically

    Its mean my code in X++, not in CIL.

    Can I recompile whole AOT? Because I compiled my code.

    Secondly, If I run for 1 customer it run fine but when I run bulk of customer than AOS crash. and also 1 think when I run chunk of data like 40 to 100 data it run well but I run 1000 to 2000 data that will crash.

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... 293,280 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,034 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans