none
Variation Label for Arabic throwing error while creating Hierarchies.

    Question

  • Hi,

    I have been struggling with this problem since yesterday. I have created to variation labels for a test site (english and arabic). When i create hierarchies, the english label is created but the arabic label shows NO under 'Hierarchy Is Created'. It shows the following error in variation logs:

    'The Variations Create Hierarchies job failed with the following error message: File or arguments not valid for site template 'CMSPUBLISHING#0'. Parameter name: WebTemplate.'

    ULS Logs show the follwing error msg:

    CreateVariationHierarchiesJob catches Exception. System.ArgumentException: File or arguments not valid for site template 'CMSPUBLISHING#0'. Parameter name: WebTemplate

    at Microsoft.SharePoint.SPWebTemplateCollection.get_Item(String strKey)

    at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate)

    at Microsoft.SharePoint.SPWeb.CreateWeb(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean bCreateUniqueSubweb, Boolean bConvertIfThere)

    at Microsoft.SharePoint.SPWebCollection.Add(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean useUniquePermissions, Boolean bConvertIfThere)

    at Microsoft.SharePoint.Publishing.PublishingWebCollection.addPublishingWeb(String newAreaUrl, UInt32 languageId, String webTemplateName)

    at Microsoft.SharePoint.Publishing.PublishingWeb.<>c__DisplayClass48.<CreateVariationInner>b__42()

    at Microsoft.Office.Server.Utilities.Security.SecurityUtilities.RunWithAllowUnsafeUpdates(SPWeb web, Action secureCode)

    at Microsoft.SharePoint.Publishing.CmsSecurityUtilities.RunWithAllowUnsafeUpdates(SPWeb web, CodeToRun secureCode)

    at Microsoft.SharePoint.Publishing.PublishingWeb.CreateVariationInner(CachedVariationSettings variationSettings, VariationLabel varlabel, String variantUrl, String variantTitle, LongRunningOperationJob lroLogger, PublishingWeb& createdPubWeb, Boolean& operationFailure)

    at Microsoft.SharePoint.Publishing.PublishingWeb.CreateVariationWithSpecificTitleUrl(CachedVariationSettings variationSettings, VariationLabel varlabel, String variantUrlName, String variantTitle, Boolean isCreateHierarchies, Boolean skipSourceHierarchyAndLabelCheck, LongRunningOperationJob lroLogger)

    at Microsoft.SharePoint.Publishing.PublishingWeb.CreateVariationWithDefaultTitleUrl(CachedVariationSettings variationSettings, VariationLabel varlabel, Boolean isCreateHierarchies, Boolean skipSourceHierarchyAndLabelCheck, LongRunningOperationJob lroLogger)

    at Microsoft.SharePoint.Publishing.PublishingWeb.CreateVariationsDeep(CachedVariationSettings variationSettings, ReadOnlyCollection`1 varLabels, Boolean isCreateHierarchies, Boolean recurse, LongRunningOperationJob lroLogger, List`1 errors)

    at Microsoft.SharePoint.Publishing.Internal.CreateVariationHierarchiesJobDefinition.PerformVariationsSpawn(SPWorkItem workItem, SPWeb currentWeb, CachedVariationSettings variationSettings)

    The english label is the sourse label. Need help, As i need this working and tested ASAP :(

    Thanx

    Amit


    Tuesday, May 03, 2011 9:39 AM

Answers