none
创建协作门户或发布门户网站集失败,工作组网站则正常 RRS feed

  • 问题

  • 刚安装了MOSS在创建网站集协作门户或发布门户则弹出以下错误信息,尝试多次删除网站集重建和重运行配置向导故障存在,如创建工作组网站则能正常创建。操作系统:win2008 with sp2 ;sql 2008 with sp1。 谢谢!

    错误提示:“The Office SharePoint Server Standard Web application features feature must be activated at the web application level before this feature can be activated.”

    日志名称:          Application
    来源:            Office SharePoint Server
    日期:            2010/4/15 19:03:40
    事件 ID:         4965
    任务类别:          发布设置
    级别:            错误
    关键字:           经典
    用户:            暂缺
    计算机:           MOSS.domainname
    说明:
    事件日志消息为:“网站模板设置失败。请在管理中心删除此网站集,然后新建一个网站集。”。异常为:“System.InvalidOperationException: The Office SharePoint Server Standard Web application features feature must be activated at the web application level before this feature can be activated.
       在 Microsoft.SharePoint.Publishing.PublishingResourcesFeatureHandler.<>c__DisplayClass3.<FeatureActivated>b__1()
       在 Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state)
       在 Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
       在 Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
       在 Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
       在 Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
       在 Microsoft.SharePoint.Publishing.PublishingResourcesFeatureHandler.<>c__DisplayClass3.<FeatureActivated>b__0()
       在 Microsoft.SharePoint.Publishing.CmsSecurityUtilities.RunWithWebCulture(SPWeb web, CodeToRun webCultureDependentCode)
       在 Microsoft.SharePoint.Publishing.PublishingResourcesFeatureHandler.FeatureActivated(SPFeatureReceiverProperties receiverProperties)
       在 Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce)
       在 Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, Boolean fForce)
       在 Microsoft.SharePoint.SPFeatureCollection.AddInternal(Guid featureId, SPFeaturePropertyCollection properties, Boolean force, Boolean fMarkOnly)
       在 Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedAtSiteInternal(SPSite site, String sFeatures, Boolean fMarkOnly)
       在 Microsoft.SharePoint.SPFeatureManager.<>c__DisplayClassa.<EnsureFeaturesActivatedAtSite>b__9()
       在 Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state)
       在 Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, Boolean bResetContext, WaitCallback code, Object param)
       在 Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, CodeToRunElevated code)
       在 Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedAtSite(Byte[]& userToken, Int32 nZone, Guid siteid, String sFeatures)
       在 Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String& bstrWebTemplate, Int32& plWebTemplateId)
       在 Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String& bstrWebTemplate, Int32& plWebTemplateId)
       在 Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate)
       在 Microsoft.SharePoint.Publishing.PortalProvisioningProvider.CreatePortal(String xmlFile, SPWeb rootWeb)”
    事件 Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Office SharePoint Server" />
        <EventID Qualifiers="0">4965</EventID>
        <Level>2</Level>
        <Task>217</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2010-04-15T11:03:40.000Z" />
        <EventRecordID>4993</EventRecordID>
        <Channel>Application</Channel>
        <Computer>MOSS.domain.com</Computer>
        <Security />
      </System>
      <EventData>
        <Data>网站模板设置失败。请在管理中心删除此网站集,然后新建一个网站集。</Data>
        <Data>System.InvalidOperationException: The Office SharePoint Server Standard Web application features feature must be activated at the web application level before this feature can be activated.
       在 Microsoft.SharePoint.Publishing.PublishingResourcesFeatureHandler.&lt;&gt;c__DisplayClass3.&lt;FeatureActivated&gt;b__1()
       在 Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state)
       在 Microsoft.SharePoint.SPSecurity.&lt;&gt;c__DisplayClass4.&lt;RunWithElevatedPrivileges&gt;b__2()
       在 Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
       在 Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
       在 Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
       在 Microsoft.SharePoint.Publishing.PublishingResourcesFeatureHandler.&lt;&gt;c__DisplayClass3.&lt;FeatureActivated&gt;b__0()
       在 Microsoft.SharePoint.Publishing.CmsSecurityUtilities.RunWithWebCulture(SPWeb web, CodeToRun webCultureDependentCode)
       在 Microsoft.SharePoint.Publishing.PublishingResourcesFeatureHandler.FeatureActivated(SPFeatureReceiverProperties receiverProperties)
       在 Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce)
       在 Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, Boolean fForce)
       在 Microsoft.SharePoint.SPFeatureCollection.AddInternal(Guid featureId, SPFeaturePropertyCollection properties, Boolean force, Boolean fMarkOnly)
       在 Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedAtSiteInternal(SPSite site, String sFeatures, Boolean fMarkOnly)
       在 Microsoft.SharePoint.SPFeatureManager.&lt;&gt;c__DisplayClassa.&lt;EnsureFeaturesActivatedAtSite&gt;b__9()
       在 Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state)
       在 Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, Boolean bResetContext, WaitCallback code, Object param)
       在 Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, CodeToRunElevated code)
       在 Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedAtSite(Byte[]&amp; userToken, Int32 nZone, Guid siteid, String sFeatures)
       在 Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String&amp; bstrWebTemplate, Int32&amp; plWebTemplateId)
       在 Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String&amp; bstrWebTemplate, Int32&amp; plWebTemplateId)
       在 Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate)
       在 Microsoft.SharePoint.Publishing.PortalProvisioningProvider.CreatePortal(String xmlFile, SPWeb rootWeb)</Data>
      </EventData>
    </Event>


    lintian
    2010年4月15日 11:21

答案

  • 根据你的描述以及错误信息,需要再 web app 上启用 moss feature

    打开网站管理中心 > 应用程序管理 > 管理应用程序功能 > 选择期望的应用程序 > 在 Office SharePoint Server Standard Web application  行中,单击激活

    如果还有其他类似错误,依次激活之


    Hope Helpful | http://www.leoworks.net
    • 已标记为答案 lintian 2010年4月15日 14:57
    2010年4月15日 13:42