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 :
Small and medium business | Business Central, N...
Suggested Answer

Database Locks SQL Session -3 & Session ID 0

(5) ShareShare
ReportReport
Posted on by 2
Hello everyone,
I am using BC 365 on premise. And I am currently facing an issue.
I am experiencing a Database Locks with sql session id -3 and session id 0.
This Database locks has been running for 24 hours.
I have tried restarting the BC server, but there has been no change.
Perhaps someone can help me. What should I do?
 
Thanks,
 
May
Screenshot 2025-1...

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

I have the same question (0)
  • Martin Dráb Profile Picture
    239,022 Most Valuable Professional on at
    Moved from Integration, Dataverse, and general topics forum to Small and medium business | Business Central, NAV, RMS forum.
  • Suggested answer
    OussamaSabbouh Profile Picture
    12,766 Super User 2026 Season 1 on at
    Hello,
    Restarting Business Central won’t help, SQL Server must finish recovery.
    Fix:
    In SQL Server Management Studio, run:
    DBCC OPENTRAN('<YourBCDB>');

    it shows oldest open/deferred transaction.
    Check SQL Error Log for “deferred recovery” messages.
    Ensure there’s enough disk space and no corruption.
    If stuck, restart the SQL Server service, not just BC.
     
    Regards,
    Oussama Sabbouh

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,926 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,158 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 533 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans