Content Deployment fails with “Failed to compare two elements in the array”


Recently i came accross an issue when trying to setup Content Deployment in a project, the architecture of the project is an Authoring MOSS Farm in the internal network and a Publishing Farm in a DMZ.

When i tryed to establish the Deployment Path between Farms everything was ok, and so it was the tests of the Tasks defined, but when i ran the Full Deployment to build the publishing site in the DMZ i came accross the following error “Failed to compare two elements in the array”. The usual reason for this error is that the Site Collection has reference to Features that are not installed in the MOSS Server (this can happen if you develop your Site Collection in an Enterprise version of MOSS and then deploy to a Standard version). 

Because i didn’t know what was the problem i Googled and found a very usefull article from Stefan Gossner about this specific error:

http://blogs.technet.com/stefan_gossner/archive/2008/04/12/moss-common-issue-content-deployment-fails-with-failed-to-compare-two-elements-in-the-array.aspx

Basically Stefan has developed two very usefull tools to deal with this problem, one help us to identify the missing Features – WSSAnalyzeFeatures and the other allow us to deactivate the reference to the Feaures in the specific site – WSSRemoveFeatureFromSite.

These tools are available in the Codeplex.

 

Computer developer/consultant from Portugal. You can find me at ricardo.magalhaes@gmail.com

Posted in Sharepoint

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: