Akash Sonare

Akash Sonare

  • NA
  • 431
  • 56k

Error after subsite restore

Oct 15 2014 3:43 AM
I am trying to restore subsite from one port to different port, but after import SharePoint custom list forms are not working.
Scenario is, i have http://www.xyz.com:9000/abc, now i want to restore abc subsite to different server i.e. on port http://www.pqr.com:4000/abc.

I am using following command to export site from http://www.xyz.com:9000/abc
Export-SPWeb http://www.xyz.com:9000/abc -Path "D:\abc.cmp" -IncludeUserSecurity

It is giving me abc.cmp file, after that i am importing site using following command.
Import-SPWeb http://www.pqr.com:4000/abc -Path "D:\abc.cmp" -IncludeUserSecurity -Force

Site restored successfully, but when i try to access custom list form like NewFormCustom.aspx it is giving me following error.

1. Failed to find generic XML file at "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Template\SiteTemplates\STS\xml\vwstyles.xml", falling back to global site definition.
2. There is no Web named "/http://www.xyz.com:9000/abc".
3. List does not exist. The page you selected contains a list that does not exist. It may have been deleted by another user.

Answers (1)