CMSAppBase error after upgrading

santhoshkumar budhihal asked on July 20, 2016 07:43

Hi,

It's been three days I am trying to finish the upgrading process and i am getting new errors everytime I fix the existing

I have tried to upgrade the kentico project from 7 to 8 but the thing is it is giving me too many CMSappbase errors, it says it doesnt exist in this context

I think that is a file but where did that came from ? just after the upgrade ? all of this is making me tinker around APP-Code folder

may i know what to do for this ?

Recent Answers


Juraj Ondrus answered on July 20, 2016 11:46

Hi,

The CMSAppBase.cs file was present in Kentico 7 and previous version. It was used to manage the application events. This file was removed in Kentico 8 and later. It was a system file not designed for customization. It looks like it was customized and now your custom code is throwing errors since this file was removed.

You need to find the file in the older version and check what events were handled in the code and then rewrite this code to the version 8 format, using the custom event handlers: https://docs.kentico.com/display/K8/Handling+global+events and https://docs.kentico.com/display/K8/Reference+-+Global+system+events

1 votesVote for this answer Mark as a Correct answer

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