Article ID: 925189 - Last Review: June 17, 2008 - Revision: 3.0 Error message when you try to use an existing site template to create a new SharePoint Server 2007 site: "Failed to apply template"
SYMPTOMSConsider the following scenario. You change an existing
Microsoft Office SharePoint Server 2007 site. You save the updated SharePoint
Server 2007 site as a template. Then, you try to use this template to create a
new SharePoint Server 2007 site. In this scenario, when you click Save Site as Template under Look and Feel on the Site Settings page, you receive the following error message: Failed to apply template
TemplateName.stp to web at URL
SharePointSiteName, error The template you have
chosen is invalid or cannot be found. CAUSEThis issue occurs if the top-level SharePoint Server 2007
site of the SharePoint Server 2007 site that you are trying to save as a
template has the publishing features turned on. In this case, Save Site
as Template appears under Look and Feel on the
Site Settings page. Note To prevent the use of the Save site as template feature for creating new sites, you must disable the Save site as template feature. However, if the top-level site has the publishing features turned on, the option to turn off the Save site as template feature is disabled when you try to create a new site. This behavior also occurs in SharePoint designer. The supported method to create templates for publishing sites is to use site definition templates. For more information, visit the following Microsoft Web site: http://msdn.microsoft.com/en-us/library/ms434313.aspx
(http://msdn.microsoft.com/en-us/library/ms434313.aspx)
WORKAROUNDTo work around this issue, open the Feature.xml file of the
Publishing feature. Then, manually add a new ElementManifest. For example, add
the following element. REFERENCESFor more information about the Feature.xml file, visit the
following Microsoft Web site: http://msdn2.microsoft.com/en-us/library/ms475601.aspx
(http://msdn2.microsoft.com/en-us/library/ms475601.aspx)
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|





















Back to the top