Kentico10 Upgradation

somen ghosh asked on August 16, 2017 10:15

I am Facing new problem when upgrade from kentico9 to kentico10. It shows the Hotfix errors "Directory Violation".

Can anyone help me.

Recent Answers


Trevor Fayas answered on August 16, 2017 13:58

please post the full error message with as much context as you can.

0 votesVote for this answer Mark as a Correct answer

somen ghosh answered on August 16, 2017 16:08

Hello Trevor,

This is the error message

The selected web project has been upgraded from a previous version, but the process is incomplete. Before starting further upgrades, you need to open the site in a browser and wait until the first request finishes.

0 votesVote for this answer Mark as a Correct answer

Trevor Fayas answered on August 16, 2017 16:16

Then you did not follow the proper steps for upgrading a site.

After each hotfix/upgrade, you need to run the site before moving onto the next one. This is because the upgrade takes 3 steps:

  1. Update the database
  2. Update the files
  3. On site run, run remaining processes

If you don't run the site, #3 doesn't run and thus your upgrade will be corrupted. You'll have to start back and upgrade again. Kentico has upgrade documentation, i would read through and follow it closely!

1 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on August 16, 2017 18:32

Nicely stated Trevor!

To add to this, upgrades are not cumulative. You need to run the upgrade for every version you are behind. Check out the upgrade docs. For instance if you're on v8.0.21, you need to upgrade to 8.1, then upgrade to 8.2, then upgrade to 9.0, then finally upgrade to 10.0.

Only hotfixes are cumulative, meaning if you were on hotfix 9.0.6 could you simply apply hotfix 9.0.50 without needing to apply each individual hotfix.

As Trevor stated, make sure after you run each upgrade (code and database), you run your website by simply navigating to domain.com/admin. If you don't, guaranteed future upgrades and hotfixes will fail.

0 votesVote for this answer Mark as a Correct answer

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