Error Applying Training Management Template

Nov 9, 2009 at 12:01 PM

Hi,

I have successfully installed the training management template and activated it within the site collection. When I try to create a new site based on the Training Management template it fails. I get the following error in the log:


11/09/2009 11:57:11.00  w3wp.exe (0x1754)                        0x0590 Windows SharePoint Services    General                        72h9 High     Failed to apply template "CONTOSOTRAINING#0" to web at URL "http://www.contoso.com/TM2". 
11/09/2009 11:57:11.00  w3wp.exe (0x1754)                        0x0590 Windows SharePoint Services    General                        72k2 High     Failed to apply template "CONTOSOTRAINING#0" to web at URL "http://www.contoso.com/TM2", error The template you have chosen is invalid or cannot be found. 0x81071e44 
11/09/2009 11:57:11.00  w3wp.exe (0x1754)                        0x0590 Windows SharePoint Services    General                        8kh7 High     The template you have chosen is invalid or cannot be found.

Any ideas?

James :-)

Nov 9, 2009 at 4:24 PM

Found out what it was. The id for the template matched another one:

<?xml version="1.0" encoding="utf-8"?>
<Templates>
  <Template Name="CONTOSOTRAINING" ID="99999">
    <Configuration ID="0" Title="Contoso Training Management Site" Description="Contoso Training Management Site" Hidden="FALSE" ImageUrl="/_layouts/images/stsprev.png" DisplayCategory="Contoso" />
  </Template>
</Templates>
I changed it to 99998 and it worked fine.