【问题标题】:SharePoint 2010 could not create custom subsite of type publishing siteSharePoint 2010 无法创建发布网站类型的自定义子网站
【发布时间】:2012-11-05 16:51:44
【问题描述】:

在尝试使用发布网站类型的自定义模板创建子网站时,我遇到了 SharePoint 2010 异常:

Provisioning did not succeed.  Details: Failed to initialize some site properties for web "http://site/subWeb"
Original Exception: Value does not fall within expected range..
Stacktrace: at Microsoft.SharePoint.SPGlobal.HandleCOMException(COMException comEx)
at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplates(...)
at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(string strWebTemplate)
at Microsoft SharePoint.SPWeb.CreateWeb(...)
at Microsoft.SharePoint.SPWebCollection.Add(...)
at [custom code]

在站点创建过程开始后大约 10-15 秒发生错误。我查看了日志,新添加的站点在发布功能激活失败后被删除。我还在日志中发现了比上面更早的日志记录错误:

Exception thrown when attempting to activate sub web's publishing feature:
attempting to get GUID from Microsoft.SharePoint.Publishing.QueryBasedCollection'1.get_Item(Guid uniqueId)
at Microsoft.SharePoint.Publishing.Internal.AcreaProvisioner.SetDefaultPageProperties(PublishingWeb area, Boolean& updateRequired)

我不知道为什么在激活子网站的发布功能时会涉及 GUID...

Web 模板来自 SharePoint 2007,但我不确定在 2010 年它可以正常工作之前是否需要对其应用任何特殊的东西(假设没有)。

到目前为止我已经尝试过的事情:重新激活所有范围内的所有服务器发布功能 + 具有所有可能组合的 iisreset,但到目前为止没有任何效果。

在这方面迫切需要一些帮助...TIA。

【问题讨论】:

    标签: sharepoint


    【解决方案1】:

    根据我的经验,在 2010 年,您无法创建发布类型的自定义站点模板,而无需稍加修改,我相信有充分的理由查看此线程

    http://social.technet.microsoft.com/Forums/en-US/sharepointgenerallegacy/thread/b14e572a-ea17-47b4-93fe-4694451efe35

    现在可能有一些坏消息

    这个帖子并没有准确回答你的问题,而是给出了关于 2007 到 2010 年的建议。这个人给出的建议是重新创建和迁移数据,他在帖子底部放置了一些提示。

    http://social.technet.microsoft.com/Forums/en-US/sharepointadminprevious/thread/c912f1c6-9790-4216-a6b0-54bfb8a1459d

    我希望这会有所帮助:)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2010-12-14
      • 1970-01-01
      • 2018-01-06
      • 1970-01-01
      • 2010-10-10
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多