Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
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,640 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 2,911 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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,554 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,588 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans