Error:
FatalError: Cannot import site. The exported site is based on the template STS#0 but the destination site is based on the template SPS#0. You can import sites only into sites that are based on same template as the exported site.
Import-SPWeb : Cannot import site. The exported site is based on the template STS#0 but the destination site is based on the template STS#1. You can import sites only into sites that are based on same template as the exported site.
Issue:-
In SharePoint 2010 when we use Powershell Commands to Export / Import site collections we get Site Template mismatch errors as now SP 2010 needs to have the same template for the site while importing which was used on the site exported.
In such scenarios when you have migrated from SPS 2003 -> MOSS 2007 -> SP 2010 there will be many old Site templates which are now Obsolete in SP 2010 and not available, due to which it will be very difficult to Import the site.
Resolution / Workaround:-
1. Central Admin -> Application Management -> Create Site Collection
2. During Template selection go to 'Custom' Tab -> Select Template Later.....
3. Run the Import-SpWeb command now and it should import the site collection without any issues.
As we are not selecting any template while creating a Site Collection, it automatically pics up the template which is using while importing the Site Collection.
Subscribe to:
Post Comments (Atom)
Total Pageviews
-
Issue : You Get "Invalid Client Secret" error even if the same secret key works fine in Postman. Scenario : You are using HTTP...
-
Requirement How to get the Task ID or Plan ID or even Group ID if you are creating a Plan in O365 groups? I was trying to get this for M...
-
Scenario : you have a SharePoint List where a field with 'Person or Group' having multiple entries is selected. you want to send a ...
7 comments:
Sorry, I must say this is not an acceptable resolution, if you are talking about a productive environment, and the destination site (the one you want to import data to) has already data in it - specially if we are talking about Gigabytes of information used everyday. Rebuilding is only acceptable on a Developemnt environment. Is there another way to simply change the site colleciton template?
I must say this is not an acceptable resolution, if you are talking about a produsbo
sbo
ctive environment, and the destination
2010 when we use Powershell Commands sbo
sbo
to Export / Import
Thanks a million! This worked!
@Parmi, Your solution worked like a charm, no other solution worked. Thank you very much.
Thank you so much for your help. It DID work like a charm!
@Parmi: Thank you! This solution worked and saved my day. :)
Post a Comment