Thursday 22 May 2014

The template you have chosen is invalid or cannot be found..

I was updating one of our custom Site Definitions from SharePoint 2010 to SharePoint 2013 recently and everything was going good until I tried to create a site from the updated definition.  I kept getting the error:

Microsoft.SharePoint.SPException: The template you have 
chosen is invalid or cannot be found.

Searching on the internet told me the most common cause of this error was a conflicting ID for the template.

Microsoft has introduced a site template with id="10000" in SharePoint 2013 and the site we migrated from SharePoint 2010 to SharePoint 2013 was having a template with an ID ="10000" as a reason it was conflicting with SharePoint 2013 site template and was throwing an error.

Solution:

Changing the template ID from "10000" to a different ID had fixed our problem.

No comments:

Post a Comment