Could not find database ID %1!s!. Database may not be activated yet or may be in transition. Reissue the query once the database ...

Could not find database ID %1!s!. Database may not be activated yet or may be in transition. Reissue the query once the database is available. If you do not think this error is due to a database that is transitioning its state and this error continues to occur, contact your primary support provider. Please have available for review the Microsoft SQL Server error log and any additional information relevant to the circumstances when the error occurred.