Wednesday, May 2, 2012

Orphaned sites in MOSS 2007

There has been issues related to orphaned items present in Sharepoint sites. In order to detect and delete the orphaned items you can use the below commands:
Detecting  an orphan site


To detect orphaned items :
stsadm -o databaserepair -url http://sharepointsite/ -databasename [name of DB where orphaned site is present]
Deleting an orphan site
To delete orphaned items :
stsadm -o databaserepair -url http://sharepointsite/  -databasename [name of DB where orphaned site is present] -deletecorruption
Reference :  http://technet.microsoft.com/en-us/library/cc263282.aspx

No comments:

Post a Comment