How to Delete Site collection using STSADM
Hi All One of our site collections got corrupted, i would like to delete it, i tried using Central Administration but couldnt. Can any body tell me how to do it using command prompt. Cheers
April 3rd, 2008 3:33pm

stsadm -o deletesite -url http://servername/sites/sitename John SharePoint911: SharePoint Consulting http://www.sharepointblogs.com/rossonmoss
Free Windows Admin Tool Kit Click here and download it now
April 3rd, 2008 4:04pm

Robert-I ran into this before...First of all, try running stsadm -o databaserepair -url http://theurl/that/you/are/trying/to/delete -databasename YourContentDBNameIf it returns <OrphanedObjects Count="0" />, then the site collection is gone from the content DB, but still referenced in the configuration database. Remove the content DB in Central administration and then add it right back in, and the problem should go away.Worked for me!-Sean
March 16th, 2009 6:20pm

It solves the problemThank youKind RegardsRobert Gromek
Free Windows Admin Tool Kit Click here and download it now
March 17th, 2009 2:11pm

Hello, I have got the same problem. I run the stsadm -o deletesite -url https://SERVERNAME/SITES/SITENAME and the result was The system cannot find the path specified. (Exception from HRESULT: 0x80070003) When I run stsadm -o databaserepair -url https://SERVERNAME/SITES/SITENAME -databasename CONTENTDBNAME it returns <OrphanedObjects Count="0" /> What happens when i remove the content DB and add it Back? In the warning of removing Content Database there is "Caution: When you remove the content database, any sites listed in that content database are removed from the server farm, but the site data remains in the database" shown. What is with with the sites? Are they really removed from the server farm?
May 18th, 2010 1:30pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics