Logo 
Search:

MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

Cannot apply standard templates to newly created subsites

  Asked By: Shasta    Date: Oct 16    Category: MOSS    Views: 3280

When I create a subsite and then apply the Team or any built-in
template and "unknown" error is displayed. When I then navigate to
the newly created site I am shown a 404. Essentially the site is
being created - it shows up in the site listing but no built-in
template can be applied. I can apply the fab 40 and any custom
template that I have created. Short of exporting the built-ins as
"custom" templates from my dev MOSS box does anyone know how to fix this?

Win2k3 SP2 Standalone MOSS Enterprise
SQL 2005

Fully patched

No 3rd party solutions installed

The error messages displayed in the MOSS log:

10/27/2008 09:53:38.11 STSADM.EXE (0x1EF0)
0x1B7C Windows SharePoint Services General
761g High Failed to activate template-associated
site-scoped features for template 'STS#1' in site
'https://mysite/myweb'.

10/27/2008 09:53:38.11 STSADM.EXE (0x1EF0)
0x1B7C Windows SharePoint Services General
72h9 High Failed to apply template "STS#1" to web at
URL "https://mysite/myweb".

10/27/2008 09:53:38.11 STSADM.EXE (0x1EF0)
0x1B7C Windows SharePoint Services General
72k2 High Failed to apply template "STS#1" to web at
URL "https://mysite/myweb", error Input string was not in a correct
format. 0x8107058a

10/27/2008 09:53:38.11 STSADM.EXE (0x1EF0)
0x1B7C Windows SharePoint Services General
72ju High stsadm: Input string was not in a correct
format. Callstack: at System.Number.StringToNumber(String str,
NumberStyles options, NumberBuffer& number, NumberFormatInfo info,
Boolean parseDecimal) at System.Number.ParseInt32(String s,
NumberStyles style, NumberFormatInfo info) at
System.Convert.ToInt32(String value) at
MS.IT.SiteDeleteCapture.DeleteFeatureCallOut.RegisterEventReceiver(SPWeb
web) at
MS.IT.SiteDeleteCapture.DeleteFeatureCallOut.FeatureActivated(SPFeatureReceiverP\
roperties
properties) at
Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate,
Boolean fForce) at Microsoft.SharePoint.SPFeature.Activate(SPSite
siteParent, SPWeb webParent, SPFeaturePropertyCollection props,
Boolean fForce) at
Microsoft.SharePoint.SPFeatureCollection.AddIn...

10/27/2008 09:53:38.11* STSADM.EXE (0x1EF0)
0x1B7C Windows SharePoint Services General
72ju High ...ternal(Guid featureId,
SPFeaturePropertyCollection properties, Boolean force, Boolean
fMarkOnly) at Microsoft.SharePoint.SPFeatureCollection.Add(Guid
featureId, SPFeaturePropertyCollection properties, Boolean fForce)
at
Microsoft.SharePoint.SPTemplateAssociationElement.EnsureTemplateAssociatedWebFea\
turesActivated(SPSite
site, SPWeb web, String sTemplateName) at
Microsoft.SharePoint.SPFeatureManager.<>c__DisplayClass13.<EnsureTemplateAssocia\
tedWebFeaturesActivated>b__12()
at Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object
state) at Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken
userToken, Boolean bResetContext, WaitCallback code, Object param)
at Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken userToken,
CodeToRunElevated code) at Mic...

10/27/2008 09:53:38.11* STSADM.EXE (0x1EF0)
0x1B7C Windows SharePoint Services General
72ju High
...rosoft.SharePoint.SPFeatureManager.EnsureTemplateAssociatedWebFeaturesActivat\
ed(Byte[]&
userToken, Int32 nZone, Guid siteid, Guid webid, String sTemplateName)
at
Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String
bstrUrl, String& bstrWebTemplate, Int32& plWebTemplateId) at
Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String
bstrUrl, String& bstrWebTemplate, Int32& plWebTemplateId) at
Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate)
at Microsoft.SharePoint.SPSite.CreateWeb(String strUrl, String
strTitle, String strDescription, UInt32 nLCID, String strWebTemplate,
Boolean bCreateUniqueSubweb, Boolean bConvertIfThere, Guid webId, Guid
rootFolderId, Boolean createSystemCatalogs) at
Microsoft.SharePoint.SPSite.SPWebCollec...

10/27/2008 09:53:38.11* STSADM.EXE (0x1EF0)
0x1B7C Windows SharePoint Services General
72ju High ...tionProvider.CreateWeb(String
strWebUrl, String strTitle, String strDescription, UInt32 nLCID,
String strWebTemplate, Boolean bCreateUniqueSubweb, Boolean
bConvertIfThere) at
Microsoft.SharePoint.SPWebCollection.Add(String strWebUrl, String
strTitle, String strDescription, UInt32 nLCID, String strWebTemplate,
Boolean useUniquePermissions, Boolean bConvertIfThere) at
Microsoft.SharePoint.SPWebCollection.Add(String strFullWebUrl, String
strWebUrl, String strTitle, String strDescription, UInt32 nLCID,
String strWebTemplate, Boolean useUniquePermissions, Boolean
bConvertIfThere) at
Microsoft.SharePoint.Administration.SPSiteAdministration.AddWeb(String
strFullWebUrl, String strWebUrl, String strTitle, String
strDescription, UInt32 nLCID, String strWebTemplate, Boolean
useUniquePermi...

10/27/2008 09:53:38.11* STSADM.EXE (0x1EF0)
0x1B7C Windows SharePoint Services General
72ju High ...ssions, Boolean bConvertIfThere) at
Microsoft.SharePoint.StsAdmin.SPCreateWeb.Run(StringDictionary
keyValues) at
Microsoft.SharePoint.StsAdmin.SPStsAdmin.RunOperation(SPGlobalAdmin
globalAdmin, String strOperation, StringDictionary keyValues,
SPParamCollection pars)

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Lakeshia Gould     Answered On: Oct 16

STS#1 is the site  definition for Blank Site. Have you added an additional
feature by editing the site definition or by "stapling" a feature to the
template? It appears that one of the site scoped features is misfiring.

 
Didn't find what you were looking for? Find more on Cannot apply standard templates to newly created subsites Or get search suggestion and latest updates.




Tagged: