SharePoint - Export using STSADM causing "Failed to compare two elements in the array"

Today I faced a problem during the SharePoint server migration that I'm working on. First I made the backup for the database and restored it on the destination server, but it didn't work very well. The root site collection didn't work, I just received a "404 Page not found" error from it.

So I chose to import/export every site collection from the entire web application, and surprise....another error. But this time I received the "Failed to compare two elements in the array" error message during the root site collection export.

This is one of the annoying error messages from SharePoint, but a visit to Live Search and the answeer comes! Steven Van De Craen a SharePoint MVP suggested that the problem is caused by an invalid Feature registration, and then he provided a tool to enumerate all site features and display which is invalid, allowing its removal from within the application.

Details: http://www.moss2007.be/blogs/vandest/archive/2008/04/28/stsadm-o-export-fatalerror-failed-to-compare-two-elements-in-the-array.aspx

No Comments