none
Publishing Template - Unexpected Error on subsite recreation RRS feed

  • Question

  • Hi There,

    I hope you can help. I am unfortunately forced to produce templates (subsite SPWeb level) using a publishing site based which was initially created from a Site Collection Backup. It is apparent that using publishing site templates is not supported by Microsoft, the facility is still there. That being said, I hope you can help with the below issue.

    Issue

    I am getting the following 'Unexpected' Error Logs when attempting Subsite creation using a publishing template. :(


    03/16/2017 09:07:54.32 w3wp.exe (0x2E5C)                       0x3540 SharePoint Foundation         Monitoring                     b4ly High     Leaving Monitored Scope (Applying Named Web Template: BDR#0). Execution Time=89864.0674 b088de9d-12b9-f0af-2035-74de47e2f2ba

    03/16/2017 09:07:54.32 w3w

    p.exe (0x2E5C)                       0x3540 SharePoint Foundation         General                       c97d Unexpected Exception attempting to ApplyWebTemplate to SPWeb http://sdc-devvsrp01.allocatesoftware.com:84/products/eExpensesHR/psteehr1: Microsoft.SharePoint.SPException ---> System.Runtime.InteropServices.COMException: <nativehr>0x8007047e</nativehr><nativestack></nativestack>     at Microsoft.SharePoint.Library.SPRequestInternalClass.EnableModuleFromXml(String bstrSetupDirectory, String bstrFeatureDirectory, String bstrUrl, String bstrXML, Boolean fForceUnghost, ISPEnableModuleCallback pModuleContext)     at Microsoft.SharePoint.Library.SPRequest.EnableModuleFromXml(String bstrSetupDirectory, String bstrFeatureDirectory, String bstrUrl, String bstrXML, Boolean fForceUnghost, ISPEnableModuleCallback pModuleContext)     --- End of inner exception stack trace ---     at Microsoft.SharePoint.Administra... b088de9d-12b9-f0af-2035-74de47e2f2ba

    03/16/20

    17 09:07:54.32* w3wp.exe (0x2E5C)                       0x3540 SharePoint Foundation         General                       c97d Unexpected ...tion.SPElementDefinitionCollection.ProvisionModules(SPFeaturePropertyCollection props, SPSite site, SPWeb web, SPFeatureActivateFlags activateFlags, Boolean fForce)     at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionElements(SPFeaturePropertyCollection props, SPWebApplication webapp, SPSite site, SPWeb web, SPFeatureActivateFlags activateFlags, Boolean fForce)     at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce)     at Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly)     at Microsoft... b088de9d-12b9-f0af-2035-74de47e2f2ba

    03/16/2017 09:07:54.32* w3wp.exe (0x2E5C)                       0x3540 SharePoint Foundation         General                       c97d Unexpected ....SharePoint.SPFeatureCollection.AddInternalWithName(Guid featureId, Int32 compatibilityLevel, String featureName, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly, Boolean fIgnoreMissing, SPFeatureDefinitionScope featdefScope)     at Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedCore(SPSite site, SPWeb web, String sFeatures, Boolean fMarkOnly, Boolean fIgnoreMissing)     at Microsoft.SharePoint.SPFeatureManager.<>c__DisplayClass7.<EnsureFeaturesActivatedAtWeb>b__6()     at Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, Boolean bResetContext, WaitCallback code, Object param)     at Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedAtWeb(Byte[]& userToken, Guid& tranLock... b088de9d-12b9-f0af-2035-74de47e2f2ba

    03/16/2017 09:07:54.32* w3wp.exe (0x2E5C)                       0x3540 SharePoint Foundation         General                       c97d Unexpected ...erId, Int32 nZone, Guid databaseid, Guid siteid, Guid webid, String sFeatures, Boolean fIgnoreMissing)     at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate, Int32& plWebTemplateId)     at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate, Int32& plWebTemplateId)     at Microsoft.SharePoint.SPWeb.ProvisionWebTemplate(SPWebTemplate webTemplate, String webTemplateToUse, SPFeatureWebTemplate featureW... b088de9d-12b9-f0af-2035-74de47e2f2ba

    03/16/2017 09:07:54.32* w3wp.exe (0x2E5C)                       0x3540 SharePoint Foundation         General                       c97d Unexpected ...ebTemplate, Page page, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection`1& featureDependencyErrors)     at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(SPWebTemplate webTemplate, Page page, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection`1& featureDependencyErrors)     at Microsoft.SharePoint.ApplicationPages.TemplatePickerUtil.ApplyWebTemplateAndRedirect(SPWeb Web, String strWebTemplate, Nullable`1 bSharedNav, Boolean bOnTopNav, Boolean bOnQuickLaunch, Page page, Boolean bDeleteOnError, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection`1& featureDependencyErrors) Attempting to delete the site collection. b088de9d-12b9-f0af-2035-74de47e2f2ba

    Any help would be greatly appreciated folks, I'm running out of ideas here.

    Thursday, March 16, 2017 9:16 AM

All replies