Kentico 11.0 code upgrade tool Error

Ramakrishnan G asked on September 16, 2019 16:46

I am going to upgrade the kentico site 10 to 11.

  • I downloaded the "Kentico 11.0 code upgrade, Tool_VS2017" file after that, In comand prompt I put the CodeUpgrade.exe C:\kadena-k10-core\kadena2.0\WebApp.sln path.

  • If I try to run the "CodeUpgrade.exe" file, the window also automicaaly closing witin a second. I getting below error message.

'CodeUpgrade.exe' is not recognized as an internal or external command,operable program or batch file.

I following below link instructions.

https://docs.kentico.com/k11/installation/upgrading-to-kentico-11/upgrading-custom-code

Recent Answers


Brenden Kehren answered on September 16, 2019 16:54

When you're attempting to execute the CodeUpgrade tool from command line, what directory are you starting in? Typically we have it installed in the root of the drive on the machine we're working on. For instance C:\CodeUpgrade. So you'd need to do a CD C:\CodeUpgrade to change the working directory for the console to be pointing to. Once your starting path on the console reads the the directory of where your CodeUpgrade.exe file is, you're command line will work without issue.

0 votesVote for this answer Mark as a Correct answer

Ramakrishnan G answered on September 16, 2019 17:28

Thanks for reply.

Again I got below error message.

The Application could not be started. Do you want to view information about the issue?

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on September 16, 2019 19:44

Did you view the information about the issue? What did it say? Sounds like an IIS issue.

0 votesVote for this answer Mark as a Correct answer

Ramakrishnan G answered on September 17, 2019 13:18

The kentico source code configured in IIS, Tool_VS2017" files are in "C:\Windows\System32\Tool_VS2017" path.

The Kentico source path is "C:\kadena-k10-core\kadena2.0\WebApp.sln"

I using visual studio 2019.

Again I getting same error message. If I click yes button means below page will be open.

https://docs.microsoft.com/en-us/dotnet/framework/deployment/initialization-errors-managing-the-user-experience?version=(null)&processName=CodeUpgrade.exe&platform=0009&osver=6&isServer=0&shimver=4.0.30319.0

0 votesVote for this answer Mark as a Correct answer

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