Pages

Thursday, August 25, 2011

Error deleting Web site . You can't delete a site that has subssites

Error Description : When we try to delete ( From site settings wizard) a sharepoint site ( Not a site collection) which has some sub sites created under it, we get following error message :

Error deleting Web site . You can't delete a site that has subssites

Stsadm -o deleteweb command too doesn't delete such sites and throws the same error.

Solution : Try following steps from site settings to delete such sites:

  • Site Actions -> Site Settings
  • Site Administration: Content and Structure
  • In the left column, move to the parent of the main site to be deleted
  • In the right column, choose the site to be deleted (YourSite in our example)
  • Menu: Actions -> Delete
  • Deleting the selected sites will permanently delete all content and user information. All subsites in this site will also be permanently lost. Do you want to continue?: OK
Hope this will help. ;-)