Issue when upgrade Kentico from 8.2 to 9 and deploy to Azure

giang le asked on April 7, 2016 10:01

Hi all,

I have got a issue when we upgrade Kentico from 8.2 to 9 as below topic:

http://devnet.kentico.com/questions/could-not-load-file-or-assembly-cms-core-after-upgrade-form-8-2-to-9

I have tried to rebuild all solution and copy to Azure via FTP tool but it only works in 1-2 days then the error continue occurred. (My site in local is still working).

Please suggest me a other solution to resolve this issue.

Thanks!

Recent Answers


David te Kloese answered on April 7, 2016 11:04

Hi,

If you don't want to completely remove the Azure version i guess the quickest way would probably to get a complete copy of the version in Azure to your local machine and compare them... you could use some compare tool to check faster for differences.

But since you say the error is fixed for a few days did you make any other deployments in that time? Can you see differences in the files you uploaded after these few days?

David

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on April 7, 2016 14:10

Did your upgrade succeed when you ran the upgrade tool? Were there any errors in the event log? If it didn't succeed then you most likely will receive this error because not all the files were updated.

Are you using Azure Web Sites or Azure Cloud Services or an Azure VM? Each have different deployment methods and it helps to know.

0 votesVote for this answer Mark as a Correct answer

Chetan Sharma answered on April 9, 2016 09:37 (last edited on April 9, 2016 09:42)

0 votesVote for this answer Mark as a Correct answer

Chetan Sharma answered on April 9, 2016 09:43

First of all, as Brenden said that you need to check whether there were errors while upgrading from 8.2 to 9? You may check logs for that.

How much is the custom code that your project has? Can you do something on these lines that what I did to successfully upgrade my website from Kentico 8.2 to 9 in like an hour.

Steps:-

  1. Take export of all essential objects/Pages/Settings from your 8.2 instance which is in production working well.

  2. Install Kentico 8.2 locally and import this website on that.

  3. Run Kentico 8.2 to 9 upgrade utility locally. Make sure all is working well.

  4. Resolve any code changes suggestions by the tool.

  5. Now using Kentico content staging, sync your objects/pages between your local upgraded Kentico 9 instance and targeted server.

  6. Copy your custom code using FTP to the targeted folders.

This solution assumed that you are using Azure Websites deployment model.

Let us know if this works.

Thanks, Chetan

0 votesVote for this answer Mark as a Correct answer

giang le answered on April 11, 2016 08:39

Thank for your response!

I did not get any errors when upgrade from 8.2 to 9.

Now, I are trying to re-upgrade my site and I will let you know my result in the few next days.

0 votesVote for this answer Mark as a Correct answer

giang le answered on April 22, 2016 04:59

Hi all,

It seems I have detected my problem, the root cause is there are some DLL file in version 8 in my Bin folder. So that I have removed these DLL files and site continue works well. I hope this issue won't occurred.

Thank all for support me!

0 votesVote for this answer Mark as a Correct answer

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