Upgrade 7.0 to 8.0 : The file '/CMSVirtualFiles/Templates/Shared/Listing.ascx' does not exist.

Paul Higgs asked on March 20, 2021 13:41

Hi,

Trying to upgrade an old site from 7.0 to 8.0, before upgrading some more. However, when following the link to enter the new Licence code for V8.0 it reports this error:

[Error loading the layout] The file '/CMSVirtualFiles/Templates/Shared/Listing.ascx' does not exist.

File is indeed not there, and also not there in the V7 version where the keys can be changed.

Any idea where that file should come from, or why it is missing?

Thanks

Correct Answer

Juraj Ondrus answered on March 22, 2021 05:56

Isn't it possible that the deployment mode is turned on on your Kentico 7 before the upgrade but for some reason the CMSVirtualFiles folder was deleted? Deployment mode should be turned off prior the upgrade. Otherwise the system is looking for the files on disk and not in the DB.
Another issue could be that upgrade has not been finished completely. Do you see the UPGRADE FINISH event logged in the CMS_EventLog DB table?

In general, every upgrade consists of three steps:

  1. Replacing files in project folder
  2. Upgrading a database
  3. Performing certain C# routines upon first load of the web site.

In your case, it seems that step no. 3 was not performed. Could you please provide more info about your project? How big in your database? What project type do you use (web site vs web application)? Which .NET Framework version is your site based on? Any customizations? What environment is your web site hosted in?

1 votesVote for this answer Unmark Correct answer

Recent Answers


Paul Higgs answered on March 23, 2021 19:23

Many thanks for the hint, the site was in deployment mode and once I took it out of deployment mode then repeated the upgrade it then loaded the licence pages ok to take the new keys.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.