Could not find database ID xx. Database may not be activated yet or may be in transition


we dropped a database , restore backup.

one of our application returns above error. using 2 servers of sql 2000 sp4.  linkedserver query involved.

 

after issue command: dbcc freeproccache , problem has gone away. may coincidence problem fixed.  it possible cache has timeout , corrected itself.  possible command here fix it: dbcc freeproccache

 

my question:

1.what happened?

2.how make sure not happen again?

3.what fix?

 



SQL Server  >  SQL Server Tools



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........