When attempting to copy a site, the following message is displayed:
An error occurred when attempting to create the site. This is most often caused by an issue with the site template. Details: Provisioning did not succeed. Details: Failed to initialize some site properties for Web at Url: 'http://mySharePoint/sites/MySite/SubSite'
Any error code ending with: -150
This error occurs when ShareGate Desktop attempts to create a site and SharePoint returns an error with a generic error code. This is often caused by an issue with the site template used to try to create the site, which is determined by ShareGate Desktop using the site template mappings. The site template could have a wrong reference to a non-existing object, use too much resources, try to perform an operation for which you don't have the permissions, etc. The details in the error message will contain the error returned by SharePoint itself, which should help you get an idea about what is going wrong.
The first thing to do is to validate if the error really comes from the site template. You can try to manually create a site at the destination using the same site template and see if it works or if it gives you an error. If it gives you an error, here are the best ways to handle the situation:
- If you really need to use this site template, have a look at the SharePoint ULS log. It should contain details about the error that will help you modify the site template to make it work. Once you are able to manually create a site using this template, you can retry your migration in ShareGate Desktop and it should also work correctly.
- If it is not a problem for you to use another site template, simply change the site template mappings to use an out-of-the-box template (like Team Site) instead of the problematic site template.