What an ordeal. After numerous errors and features that were not installed on the new server I finally get to a point where I believe I can import a site (our intranet) to the development server I have set up.
But , you noticed i said believe .. Another error. This one stating “Error: Cannot import site. The exported site is based on the template SPS#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.”
Well Crap, I vaguely remember running into this in the past and couldn’t for the life of me remember how I fixed it (I had slept since then).
I knew that I didn’t pick the right Site Template (in this case I picked Blank Site) and a quick search confirmed that STS#1 was a Team Site, and SPS#0 was a Sharepoint Server Portal Site but I couldn’t find “Sharepoint Server Portal Site” in my list of Templates to install. Well that is because the Template is obsolete… Great … thank you MS. But don’t fret, although it is obsolete you can still install it, just not with the GUI.
To create a site with Template SPS#0 Do this…
Create a Powershell Script with the following code and run it:
[Code]
Get-SPWebTemplate
$template = Get-SPWebTemplate “SPS#0”
New-SPSite -Url “YourSiteUrl” -OwnerAlias “Domain\UserNameAccount” -Template $template
[\Code]
There you go.