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)

Logout worker when AOS crashes Ax2012 R3

(0) ShareShare
ReportReport
Posted on by 3,248

Hi

We are working on a warehouse solution, where in i have built a login interface , this form is made available on a terminal, and warehouse worker logs into terminal(using windows password) then this newly built login interface in AX pops up, worker then enters his credentials and then begins the warehouse item arrival process.  I track login and logout of each worker and store them in a custom table, designed as a log table. So while a warehouse worker is  performing his duty and if AOS crashes then i need to make an entry in the Log table(mentioned earlier) as user logged out,  and when AOS is up he is presented with the new login interface.  Any ideas how do i track if AOS crashed?

BR

P

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Vilmos Kintera Profile Picture
    46,149 on at

    An AOS crash is logged in the Event log > Application. It has a specific Event Id, and the application is called Dynamics, with a severity of Error. You may look up that event easily from X++ with .Net reflection, see this for example:

    dynamics-ax-live.blogspot.hu/.../how-to-read-from-windows-event-log-from.html

    Then you just need to find the logs in your table which are not closed, and there was a crash entry after the login, so you could insert the log close records with the AOS crashes' date and time stamp.

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