To resolve this issue verify the SQL Server service the database is attached to is started

Note: For additional troubleshooting, refer to How to troubleshoot login issues.