Tag Info

Hot answers tagged

3

In order to copy to site in same site collection you need to add a new content Database in that web application, otheirwise it will throw the error. here are the steps: Create a new Content Database in the web application Take the Backup of the Site sites collection using Backup-spsite. Now restore the site collection and using the database paramter to ...


1

The error You need to be a site collection administrator to set this property occurs when one of the following conditions does not met: Ensure the user performing a request is a Site Collection Administrator Ensure permissions for the App, explicitly request FullControl permission at the Site Collection scope as shown below: Follow Adding Site ...


1

You should get the current site collection rootweb url as below String siteUrl = SPContext.Current.Site.RootWeb.Url;


1

Well, I didn't notice a parameter which was the key to achieve this: -GradualDelete. So, knowing this, Remove-SPSite -Identity "https://host/site" -GradualDelete does the trick and the site appears at Get-SPDeletedSite. Thanks everyone for your time and answers.


1

I made this same mistake and selected the two key users who would be administering the site in the future, assuming my domain admin account would still be able to log into the site. In Central Admin, go to Application Management > Change site collection administrators. Set one of them (primary or secondary) to yourself.



Only top voted, non community-wiki answers of a minimum length are eligible