Error message when you use the Content Deployment feature in SharePoint Server 2007: "Failed to compare two elements in the array"

Article translations Article translations
Article ID: 948726 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

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

CAUSE

This problem can occur if one or more of the following conditions are true:

Cause 1
The feature definition for an enabled feature does not exist on the server. See Resolution 1.

Cause 2
One of the servers has a trial version of SharePoint Server 2007 installed. See Resolution 2.

Cause 3
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.

Cause 4
The source site collection contains sites that have custom Web parts that the Content Deployment feature cannot copy. See Resolution 4.

RESOLUTION

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 URL
In 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 information

To 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:
  • The Unified Logging Service (ULS) logs for when this problem occurs. By default, the ULS logs are located in the Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\logs folder.

    Note You may have to re-create the problem.
  • Information from the SPS Reporting Tool. For more information about the SPS Reporting Tool, visit the following Internet Web site:
    http://www.codeplex.com/spsreport

REFERENCES

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=true
For 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=true
The 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.

Properties

Article ID: 948726 - Last Review: March 17, 2008 - Revision: 1.1
APPLIES TO
  • Microsoft Office SharePoint Server 2007
Keywords: 
kbtshoot kbprb KB948726

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com