Type or namespace name 'WorkflowManager' could not be found

Sofia Khatoon asked on December 1, 2014 23:07

I installed Ketico Installation Manager and created a new ASPX site. I keep getting this error when I access the site. Please give me any suggestions.

Server Error in '/' Application.

Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0246: The type or namespace name 'WorkflowManager' could not be found (are you missing a using directive or an assembly reference?)

Source Error:

Line 16: protected TreeProvider mTreeProvider = null; Line 17: protected WorkflowStepInfo mWorkflowStepInfo = null; Line 18: protected WorkflowManager mWorkflowManager = null; Line 19: protected VersionManager mVersionManager = null; Line 20: protected TreeNode mNode = null;

Source File: c:\inetpub\KenticoCMS_Dev\App_Code\CMSModules\Content\VersionHistoryControl.cs Line: 18

Show Detailed Compiler Output:

Show Complete Compilation Source:


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34237

Correct Answer

Brenden Kehren answered on December 2, 2014 03:04

If you want to take advantage of all the out of the box features and allow your upgrades to go much smoother (along with about 100 other reasons), you should choose a Blank Portal site. If you start off with Portal, you can always add ASPX later. But you can't go backwards that easy.

When you do your install, are you doing a vanilla install of v6 or v7 then run the site, then apply the hotfix up to 42 or 58? After every fresh install, hotfix, or upgrade, you need to run the site. You might also try to download the latest .exe from the DevNet and see about running a fresh install of the program files or upgrading your program files.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Brenden Kehren answered on December 2, 2014 01:24

Three questions:

  1. Did you do an upgrade at all or just a straight install?
  2. What version and hotfix?
  3. Any reason you're using ASPX vs. Portal?

I believe that class is obsolete now.

1 votesVote for this answer Mark as a Correct answer

Sofia Khatoon answered on December 2, 2014 02:04

Hi Brenden, Thanks for the reply. I am using Kentico 7 with Hotfix 58. I need to setup a basic site. Should I be using portal site instead of blank ASPX site? Thanks for your advice.

0 votesVote for this answer Mark as a Correct answer

Sofia Khatoon answered on December 2, 2014 02:38

I also created another site using Kentico Installation Manager 6.0 and installed a Kentico 6 site with Hotfix 42. I still get the same error on workflow manager when I access/manage the site.

0 votesVote for this answer Mark as a Correct answer

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