zoukankan      html  css  js  c++  java
  • File or arguments not valid for site template

    我遇到这个情况:

    CreateVariationHierarchiesJob catches Exception.  System.ArgumentException: File or arguments not valid for site template 'xxxx'.  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.Internal.CreateVariationHierarchiesJobDefinition.CreateVariationSourceTopWeb(SPWeb rootWeb, SPWeb varRootWeb, PublishingWeb varRootArea, VariationLabel sourceLabel, PublishingWeb sourceTopArea, CachedVariationSettings variationSettings, LongRunningOperationJob lroLogger, List`1 errors, Boolean& operationFailed)     at Microsoft.SharePoint.Publishing.Internal.CreateVariationHierarchiesJobDefinition.PerformVariationsSpawn(SPWorkItem workItem, SPWeb currentWeb, CachedVariationSettings variationSettings)

    重启一下SPTimerv4服务就好了。

  • 相关阅读:
    Object.assign()方法
    JavaScript对象(二)
    JavaScript对象(一)
    vue开发中遇到的问题集锦(2)
    Python:str.ljust()、str.rjust()、str.center()函数
    Python:如何将多个小字符串拼接成一个大的字符串
    Python:.join()函数
    Python:生成器表达式
    VS Code:快捷方式
    Python:如何调整字符串中文本的格式
  • 原文地址:https://www.cnblogs.com/frankzye/p/2077627.html
Copyright © 2011-2022 走看看