Errors While Importing Site Collection in SharePoint 2013/2010

Actually we want delete some sub-sites from production. Which were create by custom template (Custom Site Template). We need to take all sub-sites backup separable. What we did, Just Exported one sub-site for testing purpose and trying imported on Staging farm. We faced below issues.

Importing Sub-site: Import-SPWeb http://abc1:5555/Arabic/Dept/Depts/cc1 -Path "D:\cc1\cc1.cmp" -UpdateVersions Overwrite -force

1.     Import-SPWeb : Cannot find an SPWeb object with Id or Url : http://abc:5555/Arabic/depts/depts/cc1



Here problem clearly say, No Url found. Try to create new sub-site with Custom site template.Still facing problem try to reset IIS(iisreset) and create sub-site.
2.     Import-SPWeb: Cannot import site. The exported site is based on the template DEPARTMENTS#0 but the destination site is based on the template CMSPUBLISHING#0. You can import sites only into sites that are based on same template as the exported site.
Here We create new sub-site with publishing template. In my farm we had a problem to create new sub-site with departments#0. Here we have 2 methods. One is to import on any unused sub-site or create new sub-site with departments#0 which is showing error to create.
3.     Import-SPWeb: Feature '8915db8f-2a3f-4e5e-a72f-76bfcae4b185' for list template '10012' is not installed in this farm.  The operation could not be completed.: Here list template 10012 was missing to restore site collection. 


In this case, we need to create new sub-site with respective of custom site template (Ex: departments#0). Here we face problem to create new sub-site. It’s showing below issue (We missed custom code, we can’t create new sub)

The Sub-site is created without template. Now run the Import PowerShell command with this site(cdd1_Shaik1).
Ex: Importing Sub-site: Import-SPWeb http://abc1:5555/Arabic/Dept/Depts/cc1 -Path "D:\cc1\cc1.cmp" -UpdateVersions Overwrite -force
Now, Go and check imported log file. The sub-site imported with any error.
Note:This is my Experience what I faced in my environment.

      


Comments

Popular posts from this blog

Search Service Application Error in SP2013

Deleting Multiple Sub-sites within Site using PowerShell