Answered Variation Hierarchies Creation Failed

  • Monday, August 23, 2010 6:52 PM
     
     

    I have setup a new SharePoint 2010 farm with the following hotfixes installed: KB 2028568, KB 983319, KB 983497, KB 2281364, KB 2124512, KB 2204024.

    I have provisioned a new site collection from the Publishing Portal site definition and have configured content deployment to push content to another site collection on another web application, other than that there have not been any sites, pages, features, etc. created or provisioned within the site collection.

    I have setup variation settings and have created two variation labels of en-us and es-es with en-us as the source variation.  When the  Variations Create Hierarchies Job Definition is run I see the following in the Variations Log:

    The variation system failed to create a new site variation for en-us under the en-us label. Provisioning did not succeed. Details: Failed to create the 'Images' library. OriginalException: A duplicate content type name "Document" was found.

    In the ULS logs I see:

    08/23/2010 11:36:25.34  OWSTIMER.EXE (0x09AC)                    0x14E0 Web Content Management         Publishing Provisioning        6wz8 Medium   Adding list Url='PublishingImages', Title='$Resources:cmscore,ListNameImages;' for feature Id='4bcccd62-dcaf-46dc-a7d4-e38277ef33f4' 25ec4861-df12-46ef-a0ac-e74fe1affbef
    08/23/2010 11:36:25.34  OWSTIMER.EXE (0x09AC)                    0x14E0 SharePoint Foundation          General                        8e2s Medium   Unknown SPRequest error occurred. More information: 0x80070002 25ec4861-df12-46ef-a0ac-e74fe1affbef
    08/23/2010 11:36:25.34  OWSTIMER.EXE (0x09AC)                    0x14E0 SharePoint Foundation          General                        72k4 Medium   <nativehr>0x80070002</nativehr><nativestack></nativestack> 25ec4861-df12-46ef-a0ac-e74fe1affbef
    08/23/2010 11:36:25.34  OWSTIMER.EXE (0x09AC)                    0x14E0 SharePoint Foundation          General                        8kh7 High     <nativehr>0x80070002</nativehr><nativestack></nativestack> 25ec4861-df12-46ef-a0ac-e74fe1affbef
    08/23/2010 11:36:25.34  OWSTIMER.EXE (0x09AC)                    0x14E0 Web Content Management         Publishing Provisioning        6wz9 Medium   Adding list with Title='$Resources:cmscore,ListNameImages;', does not exist.  Creating it now.  Exception thrown was: System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)     at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder)     at Microsoft.SharePoint.SPWeb.GetList(String strUrl)     at Microsoft.SharePoint.Publishing.Internal.Store.GetListByUrl(SPWeb web, String listUrlName)     at Microsoft.SharePoint.Publishing.Internal.ProvisioningHelper.AddLi... 25ec4861-df12-46ef-a0ac-e74fe1affbef
    08/23/2010 11:36:25.34* OWSTIMER.EXE (0x09AC)                    0x14E0 Web Content Management         Publishing Provisioning        6wz9 Medium   ...st(SPListCollection lists, String urlName, String title, String description, Guid featureId, Guid[] previousVersionFeatureIds, Int32 templateType, Boolean& newListCreated) 25ec4861-df12-46ef-a0ac-e74fe1affbef
    08/23/2010 11:36:25.34  OWSTIMER.EXE (0x09AC)                    0x14E0 Web Content Management         Publishing Provisioning        6wzc Medium   Adding list with Title='$Resources:cmscore,ListNameImages;', does not exist.  Creating it now. 25ec4861-df12-46ef-a0ac-e74fe1affbef
    08/23/2010 11:36:25.55  OWSTIMER.EXE (0x09AC)                    0x14E0 SharePoint Foundation          General                        72je Medium   Regenerating field XML for field <EncodedAbsThumbnailUrl> only because of ATTR fix up. 25ec4861-df12-46ef-a0ac-e74fe1affbef
    08/23/2010 11:36:25.55  OWSTIMER.EXE (0x09AC)                    0x14E0 SharePoint Foundation          General                        72je Medium   Regenerating field XML for field <EncodedAbsWebImgUrl> only because of ATTR fix up. 25ec4861-df12-46ef-a0ac-e74fe1affbef
    08/23/2010 11:36:25.55  OWSTIMER.EXE (0x09AC)                    0x14E0 SharePoint Foundation          General                        72je Medium   Regenerating field XML for field <NameOrTitle> only because of ATTR fix up. 25ec4861-df12-46ef-a0ac-e74fe1affbef
    08/23/2010 11:36:25.64  OWSTIMER.EXE (0x09AC)                    0x14E0 SharePoint Foundation          Monitoring                     b4ly High     Leaving Monitored Scope (List Creation: PublishingImages). Execution Time=294.686335833186 25ec4861-df12-46ef-a0ac-e74fe1affbef
    08/23/2010 11:36:25.65  OWSTIMER.EXE (0x09AC)                    0x14E0 Web Content Management         Publishing Provisioning        8fib Exception CreateImagesLibrary failed. Microsoft.SharePoint.SPException: A duplicate content type name "Document" was found.     at Microsoft.SharePoint.SPContentTypeCollection.CheckConsistency()     at Microsoft.SharePoint.SPContentTypeCollection.Update()     at Microsoft.SharePoint.SPContentType.SyncNewList(SPList list)     at Microsoft.SharePoint.SPListCollection.CreateList(String strTitle, String strDescription, String strListUrl, String strFeatureId, Int32 templateID, String strDocTemplateType, String strDataSource, String customSchemaXml, SPFeatureDefinition listInstanceFeatureDefintion, QuickLaunchOptions qlOpt)     at Microsoft.SharePoint.SPListCollection.Add(String title, String description, String url, String featureId, Int32 templateType, String docTemplateType, QuickLaunchOptions quickLau... 25ec4861-df12-46ef-a0ac-e74fe1affbef
    08/23/2010 11:36:25.65* OWSTIMER.EXE (0x09AC)                    0x14E0 Web Content Management         Publishing Provisioning        8fib Exception ...nchOptions)     at Microsoft.SharePoint.SPListCollection.Add(String title, String description, String url, String featureId, Int32 templateType, String docTemplateType)     at Microsoft.SharePoint.Publishing.Internal.ProvisioningHelper.AddList(SPListCollection lists, String urlName, String title, String description, Guid featureId, Guid[] previousVersionFeatureIds, Int32 templateType, Boolean& newListCreated)     at Microsoft.SharePoint.Publishing.Internal.ProvisioningHelper.AddList(SPListCollection lists, String urlName, String title, String description, Guid featureId, Guid[] previousVersionFeatureIds, PublishingTemplateType templateType, Boolean& newListCreated)     at Microsoft.SharePoint.Publishing.Internal.AreaProvisioner.CreateImagesLibrary(SPList approvalTaskList) 25ec4861-df12-46ef-a0ac-e74fe1affbef
    08/23/2010 11:36:25.65  OWSTIMER.EXE (0x09AC)                    0x14E0 SharePoint Server              Unified Logging Service        c91s Monitorable Watson bucket parameters: SharePoint Server 2010, ULSException14, 81eed5e0 "web content management", 0e00129b "14.0.4763.0", 1f65804a "microsoft.sharepoint", 0e0013fa "14.0.5114.0", 4c0e54f4 "tue jun 08 09:34:28 2010", 00003e11 "00003e11", 0000008e "0000008e", d229b6b2 "spexception:80131600", 38666962 "8fib" 25ec4861-df12-46ef-a0ac-e74fe1affbef
    08/23/2010 11:36:25.65  OWSTIMER.EXE (0x09AC)                    0x14E0 Web Content Management         Publishing Provisioning        4965 Critical Event log message was: 'Failed to create the 'Images' library.'. Exception was: 'Microsoft.SharePoint.SPException: A duplicate content type name "Document" was found.     at Microsoft.SharePoint.SPContentTypeCollection.CheckConsistency()     at Microsoft.SharePoint.SPContentTypeCollection.Update()     at Microsoft.SharePoint.SPContentType.SyncNewList(SPList list)     at Microsoft.SharePoint.SPListCollection.CreateList(String strTitle, String strDescription, String strListUrl, String strFeatureId, Int32 templateID, String strDocTemplateType, String strDataSource, String customSchemaXml, SPFeatureDefinition listInstanceFeatureDefintion, QuickLaunchOptions qlOpt)     at Microsoft.SharePoint.SPListCollection.Add(String title, String description, String url, String featureId, Int32 templateType... 25ec4861-df12-46ef-a0ac-e74fe1affbef
    08/23/2010 11:36:25.65* OWSTIMER.EXE (0x09AC)                    0x14E0 Web Content Management         Publishing Provisioning        4965 Critical ..., String docTemplateType, QuickLaunchOptions quickLaunchOptions)     at Microsoft.SharePoint.SPListCollection.Add(String title, String description, String url, String featureId, Int32 templateType, String docTemplateType)     at Microsoft.SharePoint.Publishing.Internal.ProvisioningHelper.AddList(SPListCollection lists, String urlName, String title, String description, Guid featureId, Guid[] previousVersionFeatureIds, Int32 templateType, Boolean& newListCreated)     at Microsoft.SharePoint.Publishing.Internal.ProvisioningHelper.AddList(SPListCollection lists, String urlName, String title, String description, Guid featureId, Guid[] previousVersionFeatureIds, PublishingTemplateType templateType, Boolean& newListCreated)     at Microsoft.SharePoint.Publishing.Internal.AreaProvisioner.CreateIma... 25ec4861-df12-46ef-a0ac-e74fe1affbef
    08/23/2010 11:36:25.65* OWSTIMER.EXE (0x09AC)                    0x14E0 Web Content Management         Publishing Provisioning        4965 Critical ...gesLibrary(SPList approvalTaskList)' 25ec4861-df12-46ef-a0ac-e74fe1affbef
    08/23/2010 11:36:25.65  OWSTIMER.EXE (0x09AC)                    0x14E0 Web Content Management         Publishing Provisioning        75ot Unexpected Publishing Feature activation failed. Exception: Microsoft.SharePoint.SPException: Provisioning did not succeed. Details: Failed to create the 'Images' library. OriginalException: A duplicate content type name "Document" was found. ---> Microsoft.SharePoint.SPException: A duplicate content type name "Document" was found.     at Microsoft.SharePoint.SPContentTypeCollection.CheckConsistency()     at Microsoft.SharePoint.SPContentTypeCollection.Update()     at Microsoft.SharePoint.SPContentType.SyncNewList(SPList list)     at Microsoft.SharePoint.SPListCollection.CreateList(String strTitle, String strDescription, String strListUrl, String strFeatureId, Int32 templateID, String strDocTemplateType, String strDataSource, String customSchemaXml, SPFeatureDefinition listInstanceFeatureDefintion, Q... 25ec4861-df12-46ef-a0ac-e74fe1affbef
    08/23/2010 11:36:25.65* OWSTIMER.EXE (0x09AC)                    0x14E0 Web Content Management         Publishing Provisioning        75ot Unexpected ...uickLaunchOptions qlOpt)     at Microsoft.SharePoint.SPListCollection.Add(String title, String description, String url, String featureId, Int32 templateType, String docTemplateType, QuickLaunchOptions quickLaunchOptions)     at Microsoft.SharePoint.SPListCollection.Add(String title, String description, String url, String featureId, Int32 templateType, String docTemplateType)     at Microsoft.SharePoint.Publishing.Internal.ProvisioningHelper.AddList(SPListCollection lists, String urlName, String title, String description, Guid featureId, Guid[] previousVersionFeatureIds, Int32 templateType, Boolean& newListCreated)     at Microsoft.SharePoint.Publishing.Internal.ProvisioningHelper.AddList(SPListCollection lists, String urlName, String title, String description, Guid featureId, Guid[] previo... 25ec4861-df12-46ef-a0ac-e74fe1affbef
    08/23/2010 11:36:25.65* OWSTIMER.EXE (0x09AC)                    0x14E0 Web Content Management         Publishing Provisioning        75ot Unexpected ...usVersionFeatureIds, PublishingTemplateType templateType, Boolean& newListCreated)     at Microsoft.SharePoint.Publishing.Internal.AreaProvisioner.CreateImagesLibrary(SPList approvalTaskList)     --- End of inner exception stack trace ---     at Microsoft.SharePoint.Publishing.Internal.AreaProvisioner.CreateImagesLibrary(SPList approvalTaskList)     at Microsoft.SharePoint.Publishing.Internal.AreaProvisioner.Provision()     at Microsoft.SharePoint.Publishing.PublishingFeatureHandler.<>c__DisplayClass3.<FeatureActivated>b__0()     at Microsoft.Office.Server.Utilities.CultureUtility.RunWithCultureScope(CodeToRunWithCultureScope code)     at Microsoft.SharePoint.Publishing.CmsSecurityUtilities.RunWithWebCulture(SPWeb web, CodeToRun webCultureDependentCode)     at Microsoft.SharePoint.Publishi... 25ec4861-df12-46ef-a0ac-e74fe1affbef
    08/23/2010 11:36:25.65* OWSTIMER.EXE (0x09AC)                    0x14E0 Web Content Management         Publishing Provisioning        75ot Unexpected ...ng.PublishingFeatureHandler.FeatureActivated(SPFeatureReceiverProperties receiverProperties). 25ec4861-df12-46ef-a0ac-e74fe1affbef

    This has become a critical error that is holding up the project team.  Any assistance is greatly appreciated.

All Replies

  • Thursday, September 02, 2010 4:42 PM
     
     

    Hi Tlingenf,

    A few questions. In a new site collection with nothing on the variations root and es-es variation label, are you able to create hierarchies without an error? I'm trying to be sure that there isn't a massive amount of content on the en-us root when you begin to create the hierarchy, as it is very intensive performance-wise, during this step. If you can create and import the data you need, can you then run the Variations Propagate Page Job Definition from Central Administration, under Monitoring and Timer Job Definitions (you'll see one Job specific to each web application)?

    Also, is there a custom content type that was created either programmatically or through SharePoint Designer with the name Document?

    • Unexpected Publishing Feature activation failed. Exception: Microsoft.SharePoint.SPException: Provisioning did not succeed. Details: Failed to create the 'Images' library. OriginalException: A duplicate content type name "Document" was found.

    You can check by going to Site Settings > Site content types > and by reviewing the list for any duplicate entries.

    Thanks,

    Tracy

  • Thursday, September 02, 2010 10:25 PM
     
     Answered

    The resolution to the issue involved running the Farm Configuration Wizard from Central Administration.  The farm was setup using a script and therefore, when going into Central Administration for the first time, when prompted, we clicked cancel to setup the farm manually and to forgo running the Farm Configuration Wizard.  In the wizard all service check boxes were unchecked and the creation of the site collection was skipped.  Even though we did not tell the wizard to do anything it must be doing other things as well.

    Lesson Learned: Never, never, never skip running the farm configuration wizard even though it seems like a perfectly reasonable thing to do in certain circumstances.

    Once this was run the site collection was re-created all worked well.

    • Marked As Answer by tlingenf Thursday, September 02, 2010 10:25 PM
    •  
  • Thursday, May 17, 2012 5:04 AM
     
     
    Let's say it another way - skip the wizard as recommended by many prominent SharePoint speakers, but do your homework too: test and explore what is missing in comparison, then update the scripts acordingly if you plan to do more deployments or a scripted disaster recovery. Some features may be added or not, some pages need to be loaded into memory for the first time, etc.