web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
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

I have the same question (0)
  • Suggested answer
    Fredrik Sætre Profile Picture
    12,644 on at

    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.

  • z4hid.kh4n Profile Picture
    675 on at

    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

  • Martin Dráb Profile Picture
    240,357 Most Valuable Professional on at

    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.

  • Suggested answer
    Srinath Sundaresan Profile Picture
    510 on at

    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
    240,357 Most Valuable Professional on at

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

  • Michael Socha Profile Picture
    2 on at
    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.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans