Just finished upgrading Kentico 11.0.0 with MVC, to Kentico 12 SP1 using https://docs.kentico.com/k12sp/installation/upgrading-to-kentico-12
No issues during upgrade.
Kentico CMS is coming up fine on local IIS and Azure app.
MVC site came up fine on local IIS.
But staging MVC site is showing this error in Azure app:
Server Error in '/' Application. Could not load file or assembly 'CMS.DataEngine, Version=126.96.36.199, Culture=neutral, PublicKeyToken=834b12a258f213f9' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Had to delete old files when publishing
Backup your Kentico CMS published version's media folder before doing this. That is where media library files are stored. Database only contains a reference. Once published and you confirm CMS is up, you will see a yellow exclamation mark next to every image in media library application. Restore the folder from backup so that Media Library files get synced up.
Once I deleted them all started working fine and the website loaded successfully.
I have the same error. The Lib folder was exist inside the folder of the solution with file explorer, but unlike the previous version (Kentico 11), when I have performed the upgrade, the Lib folder was not under the solution in visual studio! I have added the folder in visual studio under the solution with all the DLL and XML files from Lib folder. I have perform "clean solution", build all the projects and published it. Now it works.
User contributions licensed under CC BY-SA 3.0