Article ID: 2492356 - View products that this article applies to.
The Publishing feature does not support the Save Site as Template option. It is necessary to create site definition templates for site collections on which Publishing feature is to be activated.
Imagine the following scenario:
You save a Team site as a template with or without the SharePoint Server Publishing Infrastructure feature activated at the site collection level.
"Provisioning did not succeed. Details: Failed to initialize some site properties for Web at Url: '......' OriginalException: Failed to compare two elements in the array."
SharePoint does not support Save Site as Template option with the Publishing features turned on. The supported method to create templates for publishing sites is to use a site definition template and using a feature XML.
For more information, see the following knowledge base article:
(http://go.microsoft.com/fwlink/?LinkId=151500)for other considerations.
Article ID: 2492356 - Last Review: March 21, 2013 - Revision: 5.0