Hi,
I am using SharePoint 2013 Enterprise with the March CU.
I created a project site template with libraries, lists and workflows and saved it as a template with content. When I try to create a new site using this template, I get the error pasted at the bottom.
I was using SharePoint designer workflow custom activities created in VS2012. I uninstalled those and decided to call a web service directly from SharePoint designer. The workflows work fine inside of the site which I want to create a project template from. When creating a new site from the template, SharePoint complains about a missing workflow XAML feature.
Do I have some leftover references to the custom features? Does anyone know how to resolve this issue?
<nativehr>0x8107058a</nativehr><nativestack></nativestack>Microsoft.Workflow.Client.ActivityNotFoundException: The activity named 'WorkflowXaml_13602d27_d83f_48bb_b73b_54ef9df29a0e' from scope '/SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c' was not found. HTTP headers received from the server - ActivityId: 22e889a4-6edb-4b0b-8e09-9bb04483b991. NodeId: SERVERNAME. Scope: /SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c. Client ActivityId : 69e6449c-9c3c-f090-404f
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: <nativehr>0x8107058a</nativehr><nativestack></nativestack>Microsoft.Workflow.Client.ActivityNotFoundException: The activity named 'WorkflowXaml_13602d27_d83f_48bb_b73b_54ef9df29a0e' from scope '/SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c' was not found. HTTP headers received from the server - ActivityId: 22e889a4-6edb-4b0b-8e09-9bb04483b991. NodeId: SERVERNAME Scope: /SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c. Client ActivityId : 69e6449c-9c3c-f090-404f
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[COMException (0x8107058a): <nativehr>0x8107058a</nativehr><nativestack></nativestack>Microsoft.Workflow.Client.ActivityNotFoundException: The activity named 'WorkflowXaml_13602d27_d83f_48bb_b73b_54ef9df29a0e' from scope '/SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c' was not found. HTTP headers received from the server - ActivityId: 22e889a4-6edb-4b0b-8e09-9bb04483b991. NodeId: SERVERNAME. Scope: /SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c. Client ActivityId : 69e6449c-9c3c-f090-404f]
Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate, Int32& plWebTemplateId) +0
Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate, Int32& plWebTemplateId) +293
[SPException: Microsoft.Workflow.Client.ActivityNotFoundException: The activity named 'WorkflowXaml_13602d27_d83f_48bb_b73b_54ef9df29a0e' from scope '/SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c' was not found. HTTP headers received from the server - ActivityId: 22e889a4-6edb-4b0b-8e09-9bb04483b991. NodeId: SERVERNAME. Scope: /SharePoint/default/cbb1afbb-8112-47b3-82b1-6e1f47923d9a/20857512-9689-4361-a887-04644d740b1c. Client ActivityId : 69e6449c-9c3c-f090-404f]
Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) +146
Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate, Int32& plWebTemplateId) +889
Microsoft.SharePoint.SPWeb.ProvisionWebTemplate(SPWebTemplate webTemplate, String webTemplateToUse, SPFeatureWebTemplate featureWebTemplate, Page page, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection`1& featureDependencyErrors)+928
Microsoft.SharePoint.SPWeb.ApplyWebTemplate(SPWebTemplate webTemplate, Page page, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection`1& featureDependencyErrors) +532
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) +2076
Microsoft.SharePoint.ApplicationPages.NewSubwebPage.BtnCreateSubweb_Click(Object sender, EventArgs e) +861
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +146
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3586
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18045