Upgrades Questions on upgrading to version 6.x.
Version 6.x > Upgrades > Upgrade from 5.5r2 to 6, Error loading layout View modes: 
User avatar
Certified Developer v7
Certified  Developer v7
adam - 10/9/2012 11:48:24 AM
   
Upgrade from 5.5r2 to 6, Error loading layout
We have upgraded a site from version 4.1 to 5.5r2 with no issues.
When upgrading to 6 we have no errors (have tried automatic and manual procedures)

When we go to view the site we get the following error

[Error loading the layout]
The file '/CMSAdhocTemplateLayouts/generic.ascx' does not exist.

We are using .net 3.5, iis 6 the site is uncompiled and on local environment.

any ideas?

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 10/10/2012 2:34:46 AM
   
RE:Upgrade from 5.5r2 to 6, Error loading layout
Hi Adam,

Could you please try the following steps:

1. If you navigate to CMS Desk --> Content and select Home document --> Properties --> Template section, which page template is this document using?

2. The problem may also be (I suppose this is your issue) from the root of your web site. If you check the page template for the root of your web site, is there a master page template assigned? If not, either select some master page template for root, or configure your home ad-hoc page template not to inherit anything from root with visual inheritance.

3. Also, are you using medium trust? if yes, could you please follow our guidelines for a medium trust environment? If not please try at least to go to Site Manager --> Administration --> System --> Deployment and click Save all virtual objects to disk. Afterwards please make sure such a file exists on your file system.

Best regards,
Martin Danko

User avatar
Certified Developer v7
Certified  Developer v7
adam - 10/10/2012 4:02:24 AM
   
RE:Upgrade from 5.5r2 to 6, Error loading layout
Thanks, there was no master page template set as the pages directly used the cmspages/portaltemplate.aspx. the pages were inheriting the master page so i set them not to inherit any content and it works fine now.

thanks