Portal Engine
Version 2.x > Portal Engine > [Error loading the layout 'Layout'] View modes: 
User avatar
Member
Member
sedonatek - 1/27/2008 6:12:48 AM
   
[Error loading the layout 'Layout']
We keep getting this error:
[Error loading the layout 'Layout'] 
The file '/CMSTemplateLayouts/BlankMasterPage.ascx' does not exist.

Does anybody know where or why this error is generated?

User avatar
Member
Member
kentico_vitaja - 1/29/2008 12:07:39 PM
   
RE:[Error loading the layout 'Layout']
Hello.

It seems that you have switched VirtualPathProvider off. Could you please open your web.config file and if there is following declaration:
<add key="CMSUseVirtualPathProvider" value="false" />

try to change it to:
<add key="CMSUseVirtualPathProvider" value="true" />

If you want to have VirtualPathProvider switched off, you should save virtual objects to disk (SiteManager -> Administration -> System -> Deployment -> Save all virtual object to disk).

Best regards,
Vita Janecek

User avatar
Member
Member
alamir.youssef-oryx.com - 1/4/2010 1:50:02 AM
   
RE:[Error loading the layout 'Layout']
Dear All,
I have faced the same error :
[Error loading the layout 'Layout'] , The file '/CMSTemplateLayouts/EcommerceMasterPage.ascx' does not exist.

I solved the problem by restarting the application

just go to Kentico CMS site manager >> Administration >> System >> General , and then click on "Restart Application"

I hope this helps you.

Best Regards,
Alamir youssef