Updating Kentico 12 to Kentico 13

Chandra Bhattarai asked on June 30, 2022 10:17

I was running the Upgrade_12_0_13.exe to upgrade my project from K12.0.29 to K13. But at the last moment i got the following error. Can anybody please help me how can i resolve this, Do i need to add something on web.config.

Updating project registration (kim.xml) File ......\CMS\web.config was modified by a user and needs to merged with the new file manually. Message: Unable to insert new xml element. Parent element on '/configuration/system.webServer/modules[not(@*)]' was not found.

Recent Answers

Juraj Ondrus answered on June 30, 2022 11:18

Was the web.config file modified? If yes, I would try using the default v12 config file just for the upgrade purpose.

0 votesVote for this answer Mark as a Correct answer

Liam Goldfinch answered on June 30, 2022 20:30

It does sound like you've modified the CMS web.config, Kentico isn't able to insert a new XML element in a specific location because it has been removed.

Like Juraj has said you can probably just take the relevant section from the default web.config (configuration/system.webServer/modules).

0 votesVote for this answer Mark as a Correct answer

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