Article ID: 948726 - View products that this article applies to.
This article has been archived. It is offered "as is" and will no longer be updated.
In Microsoft Office SharePoint Server 2007, you receive an error message that resembles the following when you use the Content Deployment feature:
Failed to compare two elements in the array
This problem can occur if one or more of the following conditions are true:
The feature definition for an enabled feature does not exist on the server. See Resolution 1.
One of the servers has a trial version of SharePoint Server 2007 installed. See Resolution 2.
The Enterprise version of SharePoint Server 2007 is installed on the source server. The Standard version of SharePoint Server 2007 is installed on the destination server. See Resolution 3.
The source site collection contains sites that have custom Web parts that the Content Deployment feature cannot copy. See Resolution 4.
Resolution 1: Deactivate the feature
To resolve this issue, use the Stsadm.exe command-line tool to deactivate the feature. To do this, run a command that resembles the following at a command prompt.
Stsadm -o deactivatefeature -id GUID -force -url URLIn this command, GUID is a valid GUID that identifies the feature definition to remove. URL is the URL for the site collection or for the Web site on which you want to deactivate the feature.
Resolution 2: Uninstall the trial version of SharePoint Server 2007
To resolve this issue, uninstall the trial version of SharePoint Server 2007, and then install the retail version of SharePoint Server 2007.
Resolution 3: Install the same version of SharePoint Server 2007
To resolve this issue, install the same version of SharePoint Server 2007 on the source server and on the destination server.
Resolution 4: Verify that the assemblies for controls and Web parts are available on the destination server
To resolve this issue, verify that the assemblies for controls and Web parts are available on the destination server.
Note The Content Deployment feature only copies Web pages and the resources that those Web pages use. The Content Deployment feature does not deploy programs, assemblies, features, or configuration information such as Web.config files.
Troubleshooting informationTo troubleshoot this problem, create a new Web application in SharePoint Server 2007, and then create a new site collection by using only the default site templates in SharePoint Server 2007. After you create the new Web application and the new site collection, use the Content Deployment feature to export the content from the new site.
If the export works as expected, the problem is probably specific to the content in the site collection. If the export fails, the problem is probably associated with the server configuration on the source server.
If you have to contact Microsoft Customer Support Services, have the following information ready:
For more information about how to use the deactivatefeature operation in the Stsadm command-line tool, visit the following Microsoft TechNet Web site:
http://technet2.microsoft.com/Office/en-us/library/5fa25274-170a-42e1-a24b-4811fe4e54821033.mspx?mfr=trueFor more information about how to plan content deployment in SharePoint Server 2007, visit the following Microsoft TechNet Web site:
http://technet2.microsoft.com/Office/en-us/library/edcdacca-8013-460e-95a0-d2b83b6cc7ef1033.mspx?mfr=trueThe third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.