Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12554

My SQL Server and SQL Agent services shutdown unexpectedly

$
0
0

My SQL Server and SQL Agent services shutdown unexpectedly. When I checked the event log, I found this error for database id = 26, but when I run the following sql, I don't see a database with id 26. I have databases up to id 25. What database could it be? I was able to restart both services successfully.

Error: SQL Server must shut down in order to recover a database (database ID 26). The database is either a user database that could not be shut down or a system database. Restart SQL Server. If the database fails to recover after another startup, repair or restore the database.

SQL: SELECT * FROM master..sysdatabases order by 2

Thanks.




Viewing all articles
Browse latest Browse all 12554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>