The log for database "x" is not available
connection, sql, sql-server
Solution
- Take the database offline.
- Bring it back online.
- Run DBCC checkdb to make sure everything is good.
- Set Auto Close = False.
Problem
I tried to use the registration page for my site after not changing anything, and suddenly this error message appeared: The log for database "x" is not available. Check the event log for related error messages. Resolve any errors and restart the database. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. I tried to reopen the program & database, tried to refresh the database, but nothing worked. What can be the problem?