Sharepoint Insight by Namwar Rizvi

Sharepoint Tips, Tricks and inside knowledge from real world experience by Namwar Rizvi

Posts Tagged ‘stsadm’

SharePoint / WSS 3.0 SQL Database not found error

Posted by namwar on July 21, 2009

While reading the newsgroups, I found a neat solution to share with my readers. If you have deleted content databases of a site collection but you are still getting an error similar to the following in error log

SQL Database ‘WSS_Content_345’ on SQL Server instance ‘DBS1’ not found.

It is because SharePoint config database still has a record of deleted database and trying to connect to it.


Run theĀ deletecontentdb stsadm command similar to the following :

stsadm -o deletecontentdb -url
-databasename WSS_Content_2

stsadm -o deletecontentdb -url

It will delete the old database entry from SharePoint Config database.


Posted in Errors, Solutions, Tips | Tagged: , , , , , | Leave a Comment »