Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Need code to simulate AX AOS service crash

(0) ShareShare
ReportReport
Posted on by 675

Hi All,

Good Day!! 

Can someone help me with code to crash the AOS through X++ code? Need it for crash analysis and debugging. 

Thanks

*This post is locked for comments

  • Michael Socha Profile Picture
    Michael Socha 2 on at
    Need code to simulate AX AOS service crash
    I was able to just take the model DB offline in SSMS which crashed my AOS, but that corrupted my data and I had to restore the DB from a copy to get AX working right again. If you have an easy way to restore the DB you might want to try this, but this was the closest thing to a solution I found for this question.
  • Martin Dráb Profile Picture
    Martin Dráb 230,371 Most Valuable Professional on at
    RE: Need code to simulate AX AOS service crash

    That would just stop the service; it's something else than a crash.

  • Suggested answer
    Srinath Sundaresan Profile Picture
    Srinath Sundaresan 510 on at
    RE: Need code to simulate AX AOS service crash

    Interesting question.

    What best you can do I think is to stop the AOS service using some command line tools.

  • Martin Dráb Profile Picture
    Martin Dráb 230,371 Most Valuable Professional on at
    RE: Need code to simulate AX AOS service crash

    If anybody finds a reproducible way how to crash AOS, he or she should immediately report it to Microsoft (rather then to you) to get it fixed ASAP.

  • z4hid.kh4n Profile Picture
    z4hid.kh4n 675 on at
    RE: Need code to simulate AX AOS service crash

    Hi Fedrik,

    Initially I had same thought but I don't want to run specific scenario. Just a simple JOB or class to simulate the crash.

    Thanks

  • Suggested answer
    Fredrik Sætre Profile Picture
    Fredrik Sætre 12,644 on at
    RE: Need code to simulate AX AOS service crash

    Cool request.

    How about trying to look through the active support cases on Lifecycle services? I bet you there are errors causing crashes that are still unresolved or has a work around.

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,642 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans