Skip to main content

Notifications

Small and medium business | Business Central, N...
Unanswered

System locks often requiring ledger entries to be compiled why.

Posted on by 5

Hallo.

At work we use MS Dynamics 2016. We experience performance degradation every day due to several “tables being locked by another user” error type problems.  One of the ways in which we  are able to temporarily resolve this challenge is by compiling vendor ledger entry and savings ledger entry tables. Sometimes  we are forced to restart the application server. The system becomes quite fast after compiling the two tables. Is there a permanent solution. 

  • Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: System locks often requiring ledger entries to be compiled why.

    Do you see any errors or warnings in the event log? there are many reasons for the table locks, poorly designed code or customization, there is a stryk sql block detection code which will track what causing the table locks and who is causing that may help to analyze the issue and fix it.

    dynamicsuser.net/.../blocks-amp-deadlocks-in-nav-with-sql-server

  • Ahmed Mohamed Rafik Profile Picture
    Ahmed Mohamed Rafik 3,049 User Group Leader on at
    RE: System locks often requiring ledger entries to be compiled why.

    Hi Leebarn,

    Please check the folliwng solutions for the same issue:

    [View:https://community.dynamics.com/nav/f/microsoft-dynamics-nav-forum/213488/table-locked-by-another-user-ile-g-l-many-other-tables:750:50]

    [View:https://docs.microsoft.com/en-us/dynamics-nav/monitoring-database-locks?redirectedfrom=MSDN:750:50]

    If you find this information helpful, Click Yes to Verify the answer to share with other community members.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans