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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

locked table Ax2009

(0) ShareShare
ReportReport
Posted on by

Is there a way to tell which user has a specific table locked down when they are posting something?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Kevin Roos Profile Picture
    265 on at

    Hi,

    You can see locks in SQL using SP_WHO2.

    More info on this blog post sjakalax.blogspot.be/.../how-to-detect-cause-of-deadlock.html

  • Verified answer
    Community Member Profile Picture
    on at

    Use SQL Server management studio. On the database right click and choose reports\all blocking transactions. This will give you a report telling you who is blocking and who's sessions it is blocking. Only downside is that it only gives you SPID's. With SP_Who will give you user names of the ones logging into SQL (So for AX that will always be the service account of the AOS service).

    a dirty trick I use and branded 'Peep system': use the command KILL <SPID> to kill the session of the headblocker. Now wait till one of the users peeps by you to tell you he got a strange SQL error.... I know I'm just evil.

  • Max Hentschel Profile Picture
    70 on at

    You are also able to find out the AX user:

    In the Activity monitor you'll see the Head Blocker, and the Host name.

    Remember the SPID and Log into AX to the AOS running on that host.

    Go to Administration-> Online users

    Youll find there the SPID as well and can track the AX user

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans