Hi,
I am trying to export/import a subsite create with 'Community Site' template. I tries the following command in the SharePoint 2013 Management Shell:
Export-SPWeb -Identity http://hostname/comm -Path c:\temp\comm.cmp -f
Remove-SPWeb http://hostname/comm
New-SPWeb http://hostname/comm
Import-SPWeb -Identity http://hostname/comm -Path c:\temp\comm.cmp -f
All those command runs successfully. However when I open the page http://hostname/comm, on the right side there should be some links normally, Now it shows errors:
This web part cannot be inserted in the site because it requires the Community feature.
Then I opened the Site Settings -->Site Features page, the feature 'Community Site Feature' is not activate. Trying to activate the feature and I got the following errors:
The URL 'Lists/Community Discussion' is invalid. It may refer to a nonexistent file or folder, or refer to a invalid file or folder that is not in current WEB.
The subsite '/comm' is a newly create subsite. So it is OK before the export command.
Any help will be very appreciated.
Thanks,
Jack