none
Save a sub-site (which is created from a custom site template) as site template, will raise an exception if i try to create a new sub-site based on the new site template RRS feed

  • Question

  • I have the following inside my sharepoint enterprise server 2013:-

    1. site collection at /sites/pmo.

    2. subsite at /sites/pmo/prog/

    3. inside the /sites/pmo/prog i created a new sub-site based on the "Team site template".

    4. i added some custom lists, then i save the sub-site as template.

    5. i created many sub-sites (subsiteA, subsiteB, subsiteC, etc.. ) based on the new site template, and every thing is working well.

    6. now i save one of the sub-sites (subsiteA) as template.

    7. but when i try to create a new sub-site based on the newer template .

    8 i got this exception:-

    now i enable the verbose logging and i re-try to create a new sub-site with the following url http://tgvsg01/sites/pmo/prog/testtest100, and here is the logs:

    01/24/2017 16:52:52.30 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Monitoring                    	nass	Verbose 	____CPU Cycles=18528	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.30 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Monitoring                    	nass	Verbose 	____Execution Time=0.0150857162013608	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.30 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Monitoring                    	nasq	Verbose 	Entering monitored scope (Remove item from the object cache). Parent Feature Activation: Activating Feature '24ListInstances' (ID: 'b6a5405d-daf4-472c-b3a0-1af7e6e758a1') at URL http://tgvsg01/sites/pmo/prog/testtest100.	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.30 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Monitoring                    	b4ly	Verbose 	Leaving Monitored Scope (Remove item from the object cache). Execution Time=0.0159238115458808	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.30 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Monitoring                    	nass	Verbose 	____CPU Cycles=20880	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.30 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Monitoring                    	nass	Verbose 	____Execution Time=0.0159238115458808	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.30 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Database                      	tzku	Verbose 	ConnectionString: 'Data Source=tGVsg01\SharePoint;Initial Catalog=WSS_Content_liveCopy;Integrated Security=True;Persist Security Info=False;Enlist=False;Pooling=True;Min Pool Size=0;Max Pool Size=100;Asynchronous Processing=False;Connection Reset=True;MultipleActiveResultSets=False;Replication=False;Connect Timeout=15;Encrypt=False;TrustServerCertificate=False;Load Balance Timeout=0;Packet Size=8000;Type System Version=Latest;Application Name=".Net SqlClient Data Provider";User Instance=False;Context Connection=False;Transaction Binding="Implicit Unbind";ApplicationIntent=ReadWrite;MultiSubnetFailover=False;ConnectRetryCount=1;ConnectRetryInterval=10'    Partition: be322355-bf98-4f71-9d93-65f9991260bc ConnectionState: Closed ConnectionTimeout: 15	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.30 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Database                      	ahjqp	Verbose 	SQL connection time: 0.0888381065191246 for Data Source=tGVsg01\SharePoint;Initial Catalog=WSS_Content_liveCopy;Integrated Security=True;Persist Security Info=False;Enlist=False;Pooling=True;Min Pool Size=0;Max Pool Size=100;Asynchronous Processing=False;Connection Reset=True;MultipleActiveResultSets=False;Replication=False;Connect Timeout=15;Encrypt=False;TrustServerCertificate=False;Load Balance Timeout=0;Packet Size=8000;Type System Version=Latest;Application Name=".Net SqlClient Data Provider";User Instance=False;Context Connection=False;Transaction Binding="Implicit Unbind";ApplicationIntent=ReadWrite;MultiSubnetFailover=False;ConnectRetryCount=1;ConnectRetryInterval=10	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.31 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Monitoring                    	b4ly	Verbose 	Leaving Monitored Scope (Feature Activation: Activating Feature '24ListInstances' (ID: 'b6a5405d-daf4-472c-b3a0-1af7e6e758a1') at URL http://tgvsg01/sites/pmo/prog/testtest100.). Execution Time=938.211560407817	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.31 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Monitoring                    	nass	Verbose 	____SQL Query Count=40	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.31 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Monitoring                    	nass	Verbose 	____SPRequest Objects=21	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.31 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Monitoring                    	nass	Verbose 	____CPU Cycles=1555261877	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.31 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Monitoring                    	nass	Verbose 	____Execution Time=938.211560407817	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.31 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	afwmv	High    	Exception in EnsureFeaturesActivatedAtWeb: Microsoft.SharePoint.SPException: Cannot complete this action.  Please try again. ---> System.Runtime.InteropServices.COMException: Cannot complete this action.  Please try again.<nativehr>0x80004005</nativehr><nativestack>owssvr.dll: (unresolved symbol, module offset=0000000000096754) at 0x000007FEED9F6754 owssvr.dll: (unresolved symbol, module offset=00000000001032DA) at 0x000007FEEDA632DA owssvr.dll: (unresolved symbol, module offset=00000000000F1619) at 0x000007FEEDA51619 owssvr.dll: (unresolved symbol, module offset=000000000000BCA5) at 0x000007FEED96BCA5 Microsoft.SharePoint.Library.ni.dll: (unresolved symbol, module offset=000000000009E7A9) at 0x000007FEEEA6E7A9 Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002B9D3DA...	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.31*	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	afwmv	High    	...) at 0x000007FECBB3D3DA Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002BE5E4F) at 0x000007FECBB85E4F Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000003E28B18) at 0x000007FECCDC8B18 Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000003E28E8A) at 0x000007FECCDC8E8A Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=00000000036DE958) at 0x000007FECC67E958 Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=00000000036DED80) at 0x000007FECC67ED80 Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000003210F0D) at 0x000007FECC1B0F0D Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002F76196) at 0x000007FECBF16196 Microsoft.SharePoint.ni.dll: (unresolved symbol, module...	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.31*	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	afwmv	High    	... offset=0000000002F75AF2) at 0x000007FECBF15AF2 Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000003496652) at 0x000007FECC436652 Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000003846808) at 0x000007FECC7E6808 Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002EDAE8E) at 0x000007FECBE7AE8E Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000003495EF5) at 0x000007FECC435EF5 Microsoft.SharePoint.Library.ni.dll: (unresolved symbol, module offset=000000000012DF92) at 0x000007FEEEAFDF92 clr.dll: (unresolved symbol, module offset=00000000000D79A1) at 0x000007FEF87D79A1 clr.dll: (unresolved symbol, module offset=00000000000D78A2 </nativestack>     at Microsoft.SharePoint.Library.SPRequestInternalClass.CreateList(S...	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.31*	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	afwmv	High    	...tring bstrWebUrl, String bstrTitle, String bstrDescription, String bstrListUrl, String bstrFeatureId, Int32 lTemplateID, String bstrDocTemplateType, ListQuickLaunchOptions qlOpt, Boolean bProvisionViewsAndForms, ISPEnableModuleCallback pListInstanceModuleCallback, String bstrListInstanceSolutionInfo, String bstrListInstanceFeaturePath, String bstrListInstanceFeatureId, String bstrCustomSchemaXml, ISPEnableModuleCallback pListTemplateModuleCallback, String bstrListTemplateSolutionInfo)     at Microsoft.SharePoint.Library.SPRequest.CreateList(String bstrWebUrl, String bstrTitle, String bstrDescription, String bstrListUrl, String bstrFeatureId, Int32 lTemplateID, String bstrDocTemplateType, ListQuickLaunchOptions qlOpt, Boolean bProvisionViewsAndForms, ISPEnableModuleCallback pListInstanceMod...	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.31*	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	afwmv	High    	...uleCallback, String bstrListInstanceSolutionInfo, String bstrListInstanceFeaturePath, String bstrListInstanceFeatureId, String bstrCustomSchemaXml, ISPEnableModuleCallback pListTemplateModuleCallback, String bstrListTemplateSolutionInfo)     --- End of inner exception stack trace ---     at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionListInstances(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 webPa...	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.31*	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	afwmv	High    	...rent, 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.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 ...	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.31*	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	afwmv	High    	...Microsoft.SharePoint.SPFeatureManager.<>c__DisplayClass7.<EnsureFeaturesActivatedAtWeb>b__6()	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.31 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	narq	Verbose 	Releasing SPRequest with allocation Id {4A6E18A1-AB87-4683-AC21-050EC4A19FAD}	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.31 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	narq	Verbose 	Releasing SPRequest with allocation Id {F6C5F2BC-FC8D-4E81-B1DB-168A6C259475}	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.31 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	narq	Verbose 	Releasing SPRequest with allocation Id {E6B18CFA-9A3E-44DB-B1BD-7AF20912C598}	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.31 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	8l36	High    	Failed to activate site-scoped features for template 'STS#0' in site 'http://tgvsg01/sites/pmo/prog/testtest100'.	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.37 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	8l36	High    	Stack trace: owssvr.dll: (unresolved symbol, module offset=00000000001C2694) at 0x000007FEEDB22694 owssvr.dll: (unresolved symbol, module offset=00000000000E942B) at 0x000007FEEDA4942B owssvr.dll: (unresolved symbol, module offset=00000000000E0C50) at 0x000007FEEDA40C50 owssvr.dll: (unresolved symbol, module offset=00000000000E08EE) at 0x000007FEEDA408EE owssvr.dll: (unresolved symbol, module offset=0000000000063AB7) at 0x000007FEED9C3AB7 owssvr.dll: (unresolved symbol, module offset=00000000000241B5) at 0x000007FEED9841B5 Microsoft.SharePoint.Library.ni.dll: (unresolved symbol, module offset=00000000000C5FAF) at 0x000007FEEEA95FAF Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002B8EC05) at 0x000007FECBB2EC05 Microsoft.SharePoint.ni.dll: (unresolved symbol, module o...	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.37*	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	8l36	High    	...ffset=0000000002ACD3D0) at 0x000007FECBA6D3D0 Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002ACD887) at 0x000007FECBA6D887 	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.37 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Fields                        	bn3x	High    	Failed to activate web features when provisioning site at url "http://tgvsg01/sites/pmo/prog/testtest100" with site definition "STS#0".	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.37 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Fields                        	bn3x	High    	Stack trace: owssvr.dll: (unresolved symbol, module offset=00000000000E0EFF) at 0x000007FEEDA40EFF owssvr.dll: (unresolved symbol, module offset=00000000000E08EE) at 0x000007FEEDA408EE owssvr.dll: (unresolved symbol, module offset=0000000000063AB7) at 0x000007FEED9C3AB7 owssvr.dll: (unresolved symbol, module offset=00000000000241B5) at 0x000007FEED9841B5 Microsoft.SharePoint.Library.ni.dll: (unresolved symbol, module offset=00000000000C5FAF) at 0x000007FEEEA95FAF Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002B8EC05) at 0x000007FECBB2EC05 Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002ACD3D0) at 0x000007FECBA6D3D0 Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002ACD887) at 0x000007FECBA6D887 	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.37 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Monitoring                    	b4ly	Verbose 	Leaving Monitored Scope (SPSqlClient). Execution Time=1355.37379750778	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.37 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Monitoring                    	nass	Verbose 	____CPU Cycles=1990058792	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.37 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Monitoring                    	nass	Verbose 	____Execution Time=1355.37379750778	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.37 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Monitoring                    	b4ly	Verbose 	Leaving Monitored Scope (SPSqlClient). Execution Time=1355.71706739264	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.37 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Monitoring                    	nass	Verbose 	____CPU Cycles=1990892178	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.37 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Monitoring                    	nass	Verbose 	____Execution Time=1355.71706739264	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.37 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	72h9	High    	Failed to apply template "STS#0" to web at URL "http://tgvsg01/sites/pmo/prog/testtest100".	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.37 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	72h9	High    	Stack trace: owssvr.dll: (unresolved symbol, module offset=0000000000063C3C) at 0x000007FEED9C3C3C owssvr.dll: (unresolved symbol, module offset=00000000000241B5) at 0x000007FEED9841B5 Microsoft.SharePoint.Library.ni.dll: (unresolved symbol, module offset=00000000000C5FAF) at 0x000007FEEEA95FAF Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002B8EC05) at 0x000007FECBB2EC05 Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002ACD3D0) at 0x000007FECBA6D3D0 Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002ACD887) at 0x000007FECBA6D887 	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.37 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	72k2	High    	Failed to apply template "STS#0" to web at URL "http://tgvsg01/sites/pmo/prog/testtest100", error Cannot complete this action.  Please try again. 0x17cfcbc0	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.37 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	72k2	High    	Stack trace: owssvr.dll: (unresolved symbol, module offset=000000000002442F) at 0x000007FEED98442F Microsoft.SharePoint.Library.ni.dll: (unresolved symbol, module offset=00000000000C5FAF) at 0x000007FEEEA95FAF Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002B8EC05) at 0x000007FECBB2EC05 Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002ACD3D0) at 0x000007FECBA6D3D0 Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002ACD887) at 0x000007FECBA6D887 	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.39 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Stack Trace Collection        	0000	Verbose 	Returning hr=0x8107058A: owssvr.dll: (unresolved symbol, module offset=00000000000E9464) at 0x000007FEEDA49464 owssvr.dll: (unresolved symbol, module offset=00000000000E0C50) at 0x000007FEEDA40C50 owssvr.dll: (unresolved symbol, module offset=00000000000E08EE) at 0x000007FEEDA408EE owssvr.dll: (unresolved symbol, module offset=0000000000063AB7) at 0x000007FEED9C3AB7 owssvr.dll: (unresolved symbol, module offset=00000000000241B5) at 0x000007FEED9841B5 Microsoft.SharePoint.Library.ni.dll: (unresolved symbol, module offset=00000000000C5FAF) at 0x000007FEEEA95FAF Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002B8EC05) at 0x000007FECBB2EC05 Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002ACD3D0) at 0x000007FECBA6D3D0 Microsoft.SharePoint.ni.dll:...	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.39*	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Stack Trace Collection        	0000	Verbose 	... (unresolved symbol, module offset=0000000002ACD887) at 0x000007FECBA6D887  	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.39 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	8kh7	High    	<nativehr>0x8107058a</nativehr><nativestack>owssvr.dll: (unresolved symbol, module offset=00000000000E9464) at 0x000007FEEDA49464 owssvr.dll: (unresolved symbol, module offset=00000000000E0C50) at 0x000007FEEDA40C50 owssvr.dll: (unresolved symbol, module offset=00000000000E08EE) at 0x000007FEEDA408EE owssvr.dll: (unresolved symbol, module offset=0000000000063AB7) at 0x000007FEED9C3AB7 owssvr.dll: (unresolved symbol, module offset=00000000000241B5) at 0x000007FEED9841B5 Microsoft.SharePoint.Library.ni.dll: (unresolved symbol, module offset=00000000000C5FAF) at 0x000007FEEEA95FAF Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002B8EC05) at 0x000007FECBB2EC05 Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002ACD3D0) at 0x000007FECBA6D3D0 Microsoft...	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.39*	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	8kh7	High    	....SharePoint.ni.dll: (unresolved symbol, module offset=0000000002ACD887) at 0x000007FECBA6D887 </nativestack>Cannot complete this action.  Please try again.	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.39 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	8kh7	High    	Stack trace: onetutil.dll: (unresolved symbol, module offset=00000000000A2187) at 0x000007FEEFF02187 onetutil.dll: (unresolved symbol, module offset=00000000000A20D1) at 0x000007FEEFF020D1 owssvr.dll: (unresolved symbol, module offset=00000000000551FD) at 0x000007FEED9B51FD owssvr.dll: (unresolved symbol, module offset=000000000002460E) at 0x000007FEED98460E Microsoft.SharePoint.Library.ni.dll: (unresolved symbol, module offset=00000000000C5FAF) at 0x000007FEEEA95FAF Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002B8EC05) at 0x000007FECBB2EC05 Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002ACD3D0) at 0x000007FECBA6D3D0 Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002ACD887) at 0x000007FECBA6D887 	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.39 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	aix9j	High    	SPRequest.ApplyWebTemplate: UserPrincipalName=i:0).w|s-1-5-21-2423832088-805756336-3312544506-1562, AppPrincipalName= ,bstrUrl=http://tgvsg01/sites/pmo/prog/testtest100 ,bstrWebTemplateContent=<Project Title="24" Revision="0" EnableMinimalDownload="TRUE" UIVersion="15" SiteLogoUrl="" SiteLogoDescription="" xmlns="http://schemas.microsoft.com/sharepoint/"><NavBars><NavBar Name="SharePoint Top Navigation Bar" Url="" ID="1002"><NavBarPage Name="temp100" Url="" /></NavBar><NavBar Name="Home"  ,fWebTemplateContentFromSubweb=1 ,fDeleteGlobalListsWithWebTemplateContent=1 ,fIgnoreMissingFeatures=0	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.39 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	ai1wu	Medium  	System.Runtime.InteropServices.COMException: <nativehr>0x8107058a</nativehr><nativestack>owssvr.dll: (unresolved symbol, module offset=00000000000E9464) at 0x000007FEEDA49464 owssvr.dll: (unresolved symbol, module offset=00000000000E0C50) at 0x000007FEEDA40C50 owssvr.dll: (unresolved symbol, module offset=00000000000E08EE) at 0x000007FEEDA408EE owssvr.dll: (unresolved symbol, module offset=0000000000063AB7) at 0x000007FEED9C3AB7 owssvr.dll: (unresolved symbol, module offset=00000000000241B5) at 0x000007FEED9841B5 Microsoft.SharePoint.Library.ni.dll: (unresolved symbol, module offset=00000000000C5FAF) at 0x000007FEEEA95FAF Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002B8EC05) at 0x000007FECBB2EC05 Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000...	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.39*	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	ai1wu	Medium  	...000002ACD3D0) at 0x000007FECBA6D3D0 Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002ACD887) at 0x000007FECBA6D887 </nativestack>Cannot complete this action.  Please try again., StackTrace:    at Microsoft.SharePoint.SPWeb.ProvisionWebTemplate(SPWebTemplate webTemplate, String webTemplateToUse, SPFeatureWebTemplate featureWebTemplate, 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, Nul...	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.39*	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	ai1wu	Medium  	...lable`1 bSharedNav, Boolean bOnTopNav, Boolean bOnQuickLaunch, Page page, Boolean bDeleteOnError, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection`1& featureDependencyErrors)     at Microsoft.SharePoint.ApplicationPages.NewSubwebPage.BtnCreateSubweb_Click(Object sender, EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at ASP._layouts_15_newsbweb_aspx.ProcessRequest(HttpContex...	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.39*	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	ai1wu	Medium  	...t context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequest...	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.39*	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	ai1wu	Medium  	...Context, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)  	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.39 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Monitoring                    	b4ly	Verbose 	Leaving Monitored Scope (Applying Named Web Template: STS#0). Execution Time=1491.10403696559	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.39 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Monitoring                    	nass	Verbose 	____SQL Query Count=9	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.39 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Monitoring                    	nass	Verbose 	____SPRequest Objects=0	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.39 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Monitoring                    	nass	Verbose 	____CPU Cycles=2145813191	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.39 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Monitoring                    	nass	Verbose 	____Execution Time=1491.10403696559	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.39 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	c97d	Unexpected	Exception attempting to ApplyWebTemplate to SPWeb http://tgvsg01/sites/pmo/prog/testtest100: Microsoft.SharePoint.SPException: Cannot complete this action.  Please try again. ---> System.Runtime.InteropServices.COMException: <nativehr>0x8107058a</nativehr><nativestack>owssvr.dll: (unresolved symbol, module offset=00000000000E9464) at 0x000007FEEDA49464 owssvr.dll: (unresolved symbol, module offset=00000000000E0C50) at 0x000007FEEDA40C50 owssvr.dll: (unresolved symbol, module offset=00000000000E08EE) at 0x000007FEEDA408EE owssvr.dll: (unresolved symbol, module offset=0000000000063AB7) at 0x000007FEED9C3AB7 owssvr.dll: (unresolved symbol, module offset=00000000000241B5) at 0x000007FEED9841B5 Microsoft.SharePoint.Library.ni.dll: (unresolved symbol, module offset=00000000000C5FAF) at 0x0000...	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.39*	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	c97d	Unexpected	...07FEEEA95FAF Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002B8EC05) at 0x000007FECBB2EC05 Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002ACD3D0) at 0x000007FECBA6D3D0 Microsoft.SharePoint.ni.dll: (unresolved symbol, module offset=0000000002ACD887) at 0x000007FECBA6D887 </nativestack>Cannot complete this action.  Please try again.     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 fWebTemplateC...	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.39*	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	c97d	Unexpected	...ontentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate, Int32& plWebTemplateId)     --- End of inner exception stack trace ---     at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)     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 featureWebTemplate, Page page, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection`1& featureDependencyEr...	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.39*	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	c97d	Unexpected	...rors)     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.	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.39 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	8e1d	High    	Deleting the web at http://tgvsg01/sites/pmo/prog/testtest100 .	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.39 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Monitoring                    	nasq	Verbose 	Entering monitored scope (SPSqlClient). Parent Request (POST:http://tgvsg01:80/sites/pmo/prog/_layouts/15/newsbweb.aspx)	1c39ce9d-fc5d-d003-e007-3db63e066187

    so can anyone adivce what might be causing this problem ?

    now one note i have is that inside the new subsiteA there are 2 list columns with the following internal names nwf & nwf0 those are  workflow status columns which were created automatically as part of a global workflow 2010 which is linked to a content type.. so could those columns causing the problem,, as on the logs i find the following:-

    01/24/2017 16:52:52.28 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	Database                      	tkeb	Verbose 	Setting database session for 057ee984-be51-4fcb-ba0b-bc712c3a4f85 and site be322355-bf98-4f71-9d93-65f9991260bc.	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.28 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	al28d	Medium  	Replacing SourceId attribute value {$ListId:Lists/risk;} with list Id {F2895388-8240-44A0-AEBD-CFADD84A0816} for field Id {11ed43e8-ae2e-4089-bf4c-31c7b45b6324} (field name nwf) for list risk in web http://tgvsg01/sites/pmo/prog/testtest100	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.28 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	al28d	Medium  	Replacing SourceId attribute value {$ListId:Lists/risk;} with list Id {F2895388-8240-44A0-AEBD-CFADD84A0816} for field Id {eff88270-dfb0-49b3-b6a3-fcba4ea194ba} (field name nwf0) for list risk in web http://tgvsg01/sites/pmo/prog/testtest100	1c39ce9d-fc5d-d003-e007-3db63e066187
    01/24/2017 16:52:52.28 	w3wp.exe (0x20D4)                       	0x0EA8	SharePoint Foundation         	General                       	acq1g	High    	Feature  schema contain wrong field name : feature name = {00bfea71-de22-43b2-a848-c05709900100}, field name  nwf0 	1c39ce9d-fc5d-d003-e007-3db63e066187

    which seems is returning some error that a column nwf0 is not valid,, but i did not create these columns !! so not sure if this could be causing the problem ? and how i can remove these columns? as they are not part of the content type or list columns ,, they only appear inside the list view setting page ...


    • Edited by johnjohn11 Tuesday, January 24, 2017 5:22 PM
    Tuesday, January 24, 2017 5:19 PM

All replies

  • Hi,

    This column is orphaned now. You would have deactivated the feature that responsible for adding the field or content type before taking the site template.

    Now you can try

    Open the WSP in in visual studio through"Import Solution Package" project template.When its opening, It will be present like  this image,unselect contenttype that has nwf0 and nwf1 columns. and then repackage it and deploy.


    Murugesa Pandian | MCPD | MCTS | SharePoint 2010 |

    Tuesday, January 24, 2017 6:40 PM
  • Hi,

    This column is orphaned now. You would have deactivated the feature that responsible for adding the field or content type before taking the site template.

    Now you can try

    Open the WSP in in visual studio through"Import Solution Package" project template.When its opening, It will be present like  this image,unselect contenttype that has nwf0 and nwf1 columns. and then repackage it and deploy.



    Murugesa Pandian | MCPD | MCTS | SharePoint 2010 |

    Thanks for your reply. please find my comments to your reply.

    >>This column is orphaned now. You would have deactivated the feature that responsible for adding the field or content type before taking the site template.

    As i mentioned these fields will be added automatically when the global workflow is executed on the list items,, so which feature i need to deactivate?.. now even if i un-assocaite the global workflow from the content type (just for testing purposes),, these workflow status fields will not be removed from the list views ...!! so not sure if i understand your point..

    >>Open the WSP in in visual studio through"Import Solution Package" project template.When its opening, It will be present like  this image,unselect contenttype that has nwf0 and nwf1 columns. and then repackage it and deploy.

    but if i unselect the content types from the wsp will this mean that any new sub-site which is created based on this template will not have these content types and/or the lists which are using these content types will no longer work??

    now i tried this approach , but not sure if i am doing things correctly :-

    1. i run the following power-shell command twice to remove the 2 workflow fields from the related list (now both fields have the same display name nwf):-

    $web = Get-SPWeb -identity http://tgvsg01/sites/pmo/prog/subsiteA/
    $list = $web.Lists["risk"] 
    $column = $list.Fields[“nwf”] 
    $column.Hidden = $false 
    $column.ReadOnlyField = $false 
    $column.Update() 
    $list.Fields.Delete($column) 

    2. this have removed the 2 fields from my list.

    3. but now if i try to access the workflow section of any list item i will get an exception. i think the exception is related to the fact hat the workflow page will be referencing one of the workflow fields which is no longer exists.

    4. so i went to my global workflow,, i de-associated it from the site content type. then i re-associated it with the content type again and i give it a new name.

    5. after that i saved subsiteA as template

    6. and i was able to create new sub-site based on the site template...

    so i am totally confused of how i need to appraoch this.. i mean i did not do anything special ,, i just create global workflow using sharepoint designer and associate it with a content type,, save a sub-site as template, try to create new sub-site based on this template...but seems the workflow status fields is somehow causing problems ...

    Wednesday, January 25, 2017 1:49 AM