URGENT - Cannot publish content after applying hotfix

Sharon Parry asked on June 21, 2020 21:30

On Saturday (20th) I applied hotfix 9.0.51 to the local version of this site, without any errors or warnings. Since then, on my local site version, have been creating content, checking in/out, publishing etc without any errors.

I then (same day - 20th) applied the hotfix to the live site following the instructions in the pdf:

  • run hotfix.exe /deploy=net45site /path=[My Deploy Folder]
  • copied everything from the live server into a backup location, as well as creating a backup of the live database
  • took the live site offline (stopped both the website and the app pool on the server)
  • uploaded everything from [My Deploy Folder] and replaced all the relevant files on the live server
  • executed the sql scripts on on the live database via SQL Server Management studio

There were no errors reported on the live server.

I then ran the live site, logged into Admin, browsed around, no issues at all. The site has been running live ever since.

HOWEVER -- I have (just now) tried to create a new page on the live site and publish it, and the error below is thrown. I don't get this error on my local site. I get the same error if I check out an already-published page, check it back in and try to publish.

HELP! I can't just roll-back the database now as there have been many member-users who have logged in and out since Saturday and all their records will be lost (I can see in the event log that some of them have even modified their password!).

This is the error:

An error occurred during the page action. Please see event log for more details. Message: Method not found: 'CMS.WorkflowEngine.WorkflowStepInfo CMS.WorkflowEngine.AbstractWorkflowManager`3.HandleStepInternal(!0, !1, CMS.Membership.UserInfo, CMS.WorkflowEngine.WorkflowInfo, CMS.WorkflowEngine.WorkflowStepInfo, CMS.WorkflowEngine.WorkflowStepInfo, System.String, Boolean)'.

Exception type: System.MissingMethodException Stack Trace: at CMS.DocumentEngine.WorkflowManager.MoveToStepInternal(TreeNode node, WorkflowStepInfo currentStep, WorkflowStepInfo step, String comment, Boolean increasePublishVersionNumber, WorkflowTransitionTypeEnum transitionType, Boolean handleActions) at CMS.DocumentEngine.WorkflowManager.MoveToStepInternal(TreeNode node, BaseInfo stateObj, WorkflowStepInfo currentStep, WorkflowStepInfo step, String comment, WorkflowTransitionTypeEnum transitionType, Boolean handleActions) at CMS.DocumentEngine.WorkflowManager.MoveToStepInternal(TreeNode node, WorkflowStepInfo currentStep, WorkflowStepInfo step, String comment, WorkflowTransitionTypeEnum transitionType) at CMS.DocumentEngine.WorkflowManager.MoveToNextStepInternal(TreeNode node, String comment, WorkflowTransitionTypeEnum transitionType) at CMS.DocumentEngine.WorkflowManager.MoveToNextStep(TreeNode node, String comment, WorkflowTransitionTypeEnum transitionType) at CMS.FormControls.CMSDocumentManager.ApproveDocument(Int32 stepId, String comment)

Correct Answer

Sharon Parry answered on June 21, 2020 22:12

RESOLVED!

Comparing contents of the Bin on the live server to the Bin on my local project, discovered some of the dll versions on the live server hadn't updated - in particular CMS.WorkflowEngine!! I zipped up everything in the Bin from my local project, uploaded to the live server, unzipped via RDA on the live server and replaced everything in the Bin of the live site.

Can publish OK now. (Sorry for the panic!)

0 votesVote for this answer Unmark Correct answer

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