Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Import-SPWeb failed The 'Type' attribute is invalid - The value 'IntegerVector'

$
0
0

I'm trying to move a site (using the Document Center site template) to it's own site collection with it's own database. Here is what I have done. 

#1 Export the site
Export-SPWeb -Identity "http://test/records/" -Path "D:\records.cmp" -IncludeUserSecurity -IncludeVersions all

#2 create new content database to hold the new site collection
$w = Get-SPWebApplication http://test
New-SPContentDatabase "RecordsCenterDB" -DatabaseServer "SharePointTestDB" -WebApplication $w

#3 create a new site collection
New-SPSite http://test/sites/records -OwnerAlias domain\SP2010admin -Name "Records Center" -Template "BDR#0" -ContentDatabase "RecordsCenterDB"

#4 import the new site to the site collection
Import-SPWeb "http://test/sites/records" –Path "D:\records.cmp" -UpdateVersions Overwrite -IncludeUserSecurity -Force

I'm actually running each line one at a time instead of as an entire script like above, but those are the commands I'm using. Everything seems to work until step #4 where I get the error:

Import-SPWeb : The 'Type' attribute is invalid - The value 'IntegerVector' is invalid according to its datatype 'urn:deployment-manifest-schema:SPDictionaryEntryValueType' - The Enumeration constraint failed.

Here is what I have tried so far:

- Confirmed there are no errors in the export

- Tried making the site template at http://test/sites/records using the Blank template and another time using no template specified

- Turned on the same Site Collection and Site Features that are found on http://test/sites/records on http://test/records

- Tried with and without the options on Import-SPWeb 


Viewing all articles
Browse latest Browse all 11571

Trending Articles



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