Skip to main content

Topic

Unable to publish or run workflows after installing SharePoint On-Premises September 2024 CU on SharePoint 2013, 2016, 2019, SPSE

 

The following error is encountered when trying to publish or run the workflow:

Failed to publish workflow: This feature has been temporarily disabled.    

Workflow Compilation XPath killswitch resulted in an exception: System.InvalidOperationException: This feature has been temporarily disabled 

 

The issue also generates event tag “c42q0” in SharePoint Unified Logging System (ULS) logs.


Instructions 

To resolve the issue, add the following line to SharePoint web application's web.config file on all servers in the farm:

<authorizedType Assembly="Microsoft.SharePoint.WorkflowActions, Version=16.0.0.0, Culture=neutral, PublicKeyToken=null" Namespace="Microsoft.SharePoint.WorkflowActions.WithKey" TypeName="*" Authorized="True" />

 

These need to be added in the authorizedTypes config section (configuration -> System.Workflow.ComponentModel.WorkflowCompiler -> authorizedTypes -> targetFx)

 

Note: After updating the web.config, restart the IIS and SharePoint Timer service for the changes to take effect.


Additional Information

This is a known issue with SharePoint's Sep 2024 CU which has been documented under known issues section within the KB release notes itself:

 

https://support.microsoft.com/en-gb/topic/description-of-the-security-update-for-sharepoint-enterprise-server-2016-september-10-2024-kb5002624-db6c8b15-b9e8-4fa5-a34a-b99a0341271e

 

https://blog.stefan-gossner.com/2024/09/13/trending-issue-problems-with-workflows-after-applying-september-2024-cu-for-sharepoint-2016-2019-se/

Be the first to reply!

Reply