SharePoint Export using STSADM causing “Failed to compare two elements in the array”

It’s a good job the internet is around and it’s a good job there are people who are committed and altruistically minded such that they take time to write useful stuff down for us to use.  Personally however, I dislike blogs which simple reproduce what somebody else has done, but there is something to be said for providing multiple links to a site in order that search engines rank the target site higher, so this blog entry simply links to a really useful site I found today.

After spending the last year doing SharePoint installations it is forgiveable I suppose to become somewhat blase and think you’ve seen it all, but in the last couple of days I’ve been dealing with the move of a small SharePoint Farm from one environment to another.  The Farm has been rather cobbled together and there are loads of missing/broken lists/features and I was repeatedly getting the following error when I tried to export the farm:

FatalError: Failed to compare two elements in the array.
   at System.Collections.Generic.ArraySortHelper`1.QuickSort[TValue](T[] keys, TValue[] values, Int32 left, Int32 right, IComparer`1 comparer)

Steven Van de Craen’s Blog provided the solution nicely, with a really useful article complete with a cracking little downloadable tool which solved the issue, the article in question is here . The whole site looks to be a good source of information, I’ll certainly be visiting it again I’m sure.


Dave Mc

About davemcmahon81
Software Developer & Architect, User Group Leader, Speaker, Writer, Blogger, Occasional Guitarist, Man-made Global Warming Sceptic, Climate Change Believer, General Optimist but most of all proud Husband and Dad ...

Leave a Reply

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

You are commenting using your 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: