Pages

Monday, November 13, 2017

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

Issue: Sometimes we face an error while deleting a Site under a site collection which has some sub sites created under it.

We get following error when we try to delete a site which has its child sub-sites already created :

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

STSADM -o deleteweb command also does not delete the site and throws the same error.

This error message itself is an incorrect statement because you can easily delete sharepoint sites that have subsites through following steps.



Solution:  Try Following steps to delete such site that are not top level site collections and have sub sites created under them:

  • Go to Site Admin Screen with Admin Privileges 
  • Select Site Actions
  • Go to Site Settings
  • From Site Administration >>> Content and Structure  (You need to have the "Office Sharepoint Server Publishing Infrastructure" site collection feature activated to see the Content and Structure link. )
  • In the left pane, move to the parent or the main site which you want to delete and select it by clicking it.
  • In the right pane, choose the site you want to delete. Click on all subsites' check boxes of that main site if you want to delete them as well.
  • Click on  Actions >>> Delete
  • You will be prompted with following message : 

                  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?: 

  • Click OK

You will now be able to delete the site having subsites.


No comments:

Post a Comment