Failed to instantiate file "Default.aspx" from module "ProjectPortalHome": The specified list does not exist.
Locked
-
Friday, October 26, 2007 1:50 PM
Hello, I have a problem creating a site collection from my onet.xml. I guess the list "Pages" is not created correctly. What do I need to get it created?
The error message;
Failed to instantiate file "Default.aspx" from module "ProjectPortalHome": The specified list does not exist.
The Module element;
Code Block<
Module Name="ProjectPortalHome" Url="$Resources:cmscore,List_Pages_UrlName;" Path="">
File Url="Default.aspx" Type="GhostableInLibrary"><
Property Name="Title" Value="$Resources:spscore,HomeLandingPage_Title;" /><
<Property Name="ContentType" Value="$Resources:saabprojectportal,ContentType_ProjectPortal_Name;" />
<Property Name="PublishingPageLayout" Value="~SiteCollection/_catalogs/masterpage/ProjectPortal.aspx, $Resources:saabprojectportal,PageLayout_ProjectPortal_Title;" />
</< FONT><File>
</< FONT><Module>
The Configuration element;
Code Block<
Configuration ID="0" Name="Default">
Lists /><
<
Modules>
Module Name="ProjectPortalHome" /><
</
Modules><
SiteFeatures>
PublishingSite --><!--
<
Feature ID="F6924D36-2FA8-4f0b-B16D-06B7250180FA" /><!--
BaseSite --><
Feature ID="B21B090C-C796-4b0f-AC0F-7EF1659C20AE" /><!--
BasicWebParts Feature --><
Feature ID="00BFEA71-1C5E-4A24-B310-BA51C3EB7A57" /><!--
Three-state Workflow Feature --><
Feature ID="FDE5D850-671E-4143-950A-87B473922DC7" /></
SiteFeatures><
WebFeatures>
Feature ID="00BFEA71-4EA5-48D4-A4AD-7EA5C011ABE5" /><
<!--
TeamCollab Feature --><
Feature ID="F41CC668-37E5-4743-B4A8-74D1DB3FD8A4" /><!--
MobilityRedirect --></
WebFeatures></
Configuration>
Answers
-
Friday, June 13, 2008 2:27 PM
Hi
In case anyone else has this problem try to change
Type="GhostableInLibrary" to
Type
="Ghostable"worked for me
All Replies
-
Friday, June 13, 2008 2:27 PM
Hi
In case anyone else has this problem try to change
Type="GhostableInLibrary" to
Type
="Ghostable"worked for me
-
Friday, March 04, 2011 10:34 AM
Hi Henrik,
I have came across this problem a few times.
I found the best thing to do, is to delete the module from the feature. Then add a new one and add the files which you want to upload in the .wsp and the problem should be solved.

