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 GP (Archived)

User Locked in SY00500 Tables

(0) ShareShare
ReportReport
Posted on by 80

Each morning when I get into the office I have a user locked in the SY00500 table (*Sales Entry) of SQL and the only way to unlock them is to delete them from that table. Where else could this user be locked up that is causing this error every time she logs out of Great Plains 2013.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mahmoud Saadi Profile Picture
    32,738 on at

    Other tables to consider;

    SELECT * FROM DYNAMICS..ACTIVITY
    SELECT * FROM DYNAMICS..SY00800
    SELECT * FROM DYNAMICS..SY00801
    SELECT
    * FROM TEMPDB..DEX_LOCK
    SELECT * FROM TEMPDB..DEX_SESSION
  • MattCo3 Profile Picture
    80 on at

    What is in the SELECT * FROM tempdb..DEX_SESSION?  There are currently 10 items in it but I am the only active user.

  • Verified answer
    Mahmoud Saadi Profile Picture
    32,738 on at

    With all users logged off from Dynamics GP, these tables should have no records at all. Therefore, ensure that all the users are out of Dynamics GP, and run the following delete statements;

    DELETE DYNAMICS..ACTIVITY
    DELETE DYNAMICS..SY00800
    DELETE DYNAMICS..SY00801
    DELETE TEMPDB..DEX_LOCK
    DELETE
    TEMPDB..DEX_SESSION


  • Suggested answer
    Marvin Burnett Profile Picture
    165 on at

    Along the same lines of what Mahmoud was suggesting, here is blog post from Dave Musgrave that has a script in it to release stuck users who are not logged into GP.  The beauty of this is that you do not have to kick everyone out of GP to run it.  

    blogs.msdn.com/.../releasing-stuck-batches-and-transactions-without-exiting-all-users.aspx

    It has come in handy on more than one occasion when I am not able to remove all the users from the system.

    Thanks,

    Marvin

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 GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans