Stsadm Import error: the element 'urn:deployment-manifest-schema:Fi eldRef'
Hi,
I get this error when importing a web. export has no errors.
FatalError: The element 'urn:deployment-manifest-schema:FieldRef' cannot contain a child element 'urn:deployment-manifest-schema:FieldRef' because the parent element content model is empty.
this a translation from french so bear with it :-)
April 9th, 2010 7:11pm
OK, managed to correct it:
the manifest.xml file created with the export has a webpart with a viewfields element like this:
<ViewFields>
<FieldRef Name="LinkTitle" />
<FieldRef Name="Value1" >
<FieldRef Name="Value2" />
</FieldRef>
</ViewFields>
which sould be like this:
<ViewFields>
<FieldRef Name="LinkTitle" />
<FieldRef Name="Value1"/ >
<FieldRef Name="Value2" />
</ViewFields>
mind the missing slash after value one and the additional FieldRef after value 2
So solution: I added the slash after the value 1 and deleted the FieldRef after Value 2
Site is imported correctly.
Free Windows Admin Tool Kit Click here and download it now
April 19th, 2010 1:14pm