Tuesday, February 15, 2011

Failed to instantiate file "default.master" from module "DefaultMasterPage"

I ran into this error while trying to create a new Site Definition in SharePoint 2010.  It turns out that the TemplateName you select in your webtemp_custom.xml file:

<Template Name="CustonSiteDefinitions" ID="10000">

Must match the folder in your SiteTemplates directory:

14/TEMPLATE/SiteTemplates/CustomSiteDefinitions

otherwise you'll get the error above.

8 comments:

Laura said...

Wow! Thanks. I have been digging for this answer and you have saved me. It is one of those simple things nobody ever thinks to mention ...

b`No. said...

Thanks a LOT ! You saved me :)

Nikhil Kaimal said...

thanks for this ! very helpful

Dewey Vozel said...

Thank you.

Sharepoint 2010 said...

Thanx dude !!!

Syed Shoaib Adil said...

Thanx... it worked for me....

Anonymous said...

Thanks.. it worked for me.

Anonymous said...

Thanks!