Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

SharePoint 2013 subsite with 'Community Site' template Import/Export issue

$
0
0

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


Viewing all articles
Browse latest Browse all 25064

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>