Wednesday, March 7, 2012

Could not find database ID 25

My aspx application gets the following error:

Could not find database ID 25.

Database ID 25 no longer exists in sysdatabases. I am wondering if something needs to be flushed out somehow on our SQL Server. We had deleted some DBs earlier.

I'm guessing that you have a view that references a database that no longer exists ?|||Yea, it's that bug. I had to drop and recreate the stored proc to untie it's reference to that non-existing ID.

No comments:

Post a Comment