Upgrade Utility 11 to 12 Error

Alan Wells asked on April 14, 2022 17:46

I created a clone of my dev server & DB as I want to test upgrading from v11 to v12. I have all the sites up and running on that server with no issues.

I checked the prerequisites and it says I need .Net 4.6.1 or higher. I attempted to install the 4.6.1 version linked in the prereqs site but it told me I already have a higher version. The same message with 4.7 so I think OK that is fine I do have to latest version.

I ran the Upgrade_11_0_12_0.exe install. It started the update but when I got to the end where it was about to copy files I got the message Unhandled Exception from the upgrade utility and it said NetVersionEnum.Net45 is not supported. Since I do have the correct versions installed I can't seem to get past this error.

Recent Answers


Suneel Jhangiani answered on April 15, 2022 01:13

It's been a while but I think you need to install Net 4.8

0 votesVote for this answer Mark as a Correct answer

Dmitry Bastron answered on April 15, 2022 06:16

Hi Alan,

We've faced similar issue during one of our recent upgrades. We've installed .Net 4.8, updated framework on current Kentico 11 site, and only then run Kentico upgrade. This time it run with no issues.

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on April 18, 2022 05:27

What is the target framework set for the original project in the VS or in the web.config file? Is it set to the framework version supported in version 11?

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on April 19, 2022 13:41

What it sounds like us your current project is .Net 4.5. So prior to starting the upgrade, you'd want to update your current site to a supported .Net version, then run your upgrade.

Updating your project is as simple as opening your project in Visual Studio, going to the projects properties, selecting the .net version, saving the project and rebuilding to ensure it all works.

1 votesVote for this answer Mark as a Correct answer

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