MOSS 2007 content import error

I got an export of MOSS 2007 site content that I need to replicate in my environment, but I am having trouble importing using stsadm

.

The export was done with stsadm

, although the command is similar to:

stsadm -o export -url http: // localhost -filename C: \ Export

I am using import command like:

stsadm -o import -url http: // myServer -filename C: \ Import

Most things are going fine until I get the error:

An object reference is not set to an instance of an object. at Microsoft.SharePoint.Deployment.RolesImport..ctor (etc.

Basically, this error occurs when importing role groups from another server. Since my system is a clean install of MOSS 2007, I have no custom user roles, I expected content import to handle this. But in reality, the roles are not important at all.

Is it possible to import content, but are roles completely ignored?

0


source to share


2 answers


We tried to fix this by removing the sections from the manifest as Lars suggested, but then failed to import all the content.



We needed to export with the option enabled -includeusersecurity

0


source


No, the only option is to remove the roles in the content export Manifest.xml file. If you received the export as a single file, simply rename it to .CAB and extract the Manifest.xml file to modify. The XML format is quite extensive and you may need to do some research to figure out where these roles are. Microsoft has registered the XML schema here: http://msdn.microsoft.com/en-us/library/bb249989.aspx



+1


source







All Articles