Issue with Tasks After 12 SP to 13 Upgrade

Patrick Blume asked on September 19, 2022 06:17

Hi, After upgrading from Kentico 12 SP to Kentico 13.0.82. I am facing an issue where on login the WebFarm tasks are being started and therefore I receive the following error.

Task type 'CMS.DataEngine.DictionaryCommandWebFarmTask' is not supported. The task needs to be registered using CMS.Helpers.WebFarmHelper.RegisterTask method.

So far I have:

Any suggestions on what else I could try?

Correct Answer

Patrick Blume answered on September 19, 2022 09:51

Re-doing the process worked this time.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Juraj Ondrus answered on September 19, 2022 06:24

This usually happens if there is a Kentico API used externally or the deployment of the solution is not complete and some DLLs are missing. How was the upgrade done? How was the copy of the Kentico 12 instance created?
Another cause could be something in the environment - are you running on the same server. same IIS? What is the environment setup like?

0 votesVote for this answer Mark as a Correct answer

Patrick Blume answered on September 19, 2022 06:31

This is using a local instance of the Kentico 12 App. I am doing this on my local machine to the environment comparison is one to one (besides 13 being used with 4.8). When doing cleans, I have been manually deleting the bin folder just in case.

The process:

  1. Update projects to use .NET Framework 4.8
  2. Run Upgrade tool against code and database copy in MSSQL Express
  3. Fix build errors and finished update of code that was customized
  4. Upgrade Kentico Packages to use latest version
  5. Run latest hotfix
  6. Fix package refs where required
  7. Build
  8. Turned off WIF
  9. Reset Admin Username and Password in Config
  10. Login and got error above
0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on September 19, 2022 06:44

Between steps 4. and 5. - did you finished the upgrade as described in the documentation by launching the admin app? Did you get the Upgrade Start and Finish events logged in the Event log?

0 votesVote for this answer Mark as a Correct answer

Patrick Blume answered on September 19, 2022 06:53

I can't remember, I will re-do the process just in case.

0 votesVote for this answer Mark as a Correct answer

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