Sharepoint 2007 unable to remove orphane content database


 If you realized content database still remain at the Manage Content Databases section in Central Administration. When try to delete this database you received “Object reference not set to an instance of an object.” or by using stsadm getting belowed errors.

C:\>stsadm -o removecontentdb -url http://blog.bugrapostaci.com  -databasename “Sharepoint_blog_db” -databaseserver DBBLOG

Database “Sharepoint_blog_db” is not associated with this web application

C:\>stsadm -o addcontentdb -url http://blog.bugrapostaci.com  -databasename “Sharepoint_blog_db” -databaseserver DBBLOG

An update conflict has occurred, and you must re-try this action. The object SPWebApplication Name=blog.bugrapostaci.com Parent=SPWebService is being updated by POSTMAN\bugra, in the w3wp process, on machine BLOGSERVER.  View the tracing log for more information about the conflict.

Cause:
This issue occurs if the contents of the file system cache on the front-end servers are newer than the contents of the configuration database. After you perform a system recovery, you may have to manually clear the file system cache on the local server.

Solution :
Clear the file system cache on all servers
http://support.microsoft.com/kb/939308/en-us

end of article 🙂

Advertisements

About bpostaci
Sr. Support Escalation Engineer in Microsoft.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: