Unable to publish / update SPD 2010 workflow

Sevigny, Josee 1 Reputation point
2024-11-12T14:30:58.6333333+00:00

May be related to SP176418.

After installing KB5002645, I'm no longer able to create nor update existing 2010 workflows using SPD 2013.

Image

Then I tried to manually associate the workflow, only to find this:

Image

How do I fix this issue.

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,385 questions
SharePoint Workflow
SharePoint Workflow
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Workflow: An orchestrated and repeatable pattern of business activity, enabling data transformation, service provision, and information retrieval.
606 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Emily Du-MSFT 47,626 Reputation points Microsoft Vendor
    2024-11-13T03:02:08.1333333+00:00

    This known issue caused by the recent security update that was installed on your SharePoint server 2016.

    SharePoint workflows can’t be published because the unauthorized type is blocked after patching. The issue generates event tag “c42q0” in SharePoint ULS logs.

    Firstly, I suggest you check ULS logs to see if has the "c42q0" event tag.

    If so, to work around this issue, register the safe types in the Web.config file. You can look for event tag "c42q0" in ULS logs to find the blocked type. If the type and assembly are safe, add the type to the authorized list in the Web.config file.

    For example:

    <System.Workflow.ComponentModel.WorkflowCompiler>    
       <authorizedTypes>      
         <targetFx version="v4.0">         
           <authorizedType Assembly="Microsoft.SharePoint.WorkflowActions, Version=16.0.0.0, Culture=neutral, PublicKeyToken=null" Namespace="Microsoft.SharePoint.WorkflowActions.WithKey" TypeName="*" Authorized="True" />
       </targetFx>    
       </authorizedTypes>
    

    Reference:

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


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Emily Du-MSFT 47,626 Reputation points Microsoft Vendor
    2024-11-14T10:07:29.2033333+00:00

    I'm glad to hear you solve this issue, if you have any issue about SharePoint, you are welcome to raise a ticket in this forum.

    By the way, since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others.". So, I would make a brief summary of this thread.

    You could click the "Accept Answer" button for this summary to close this thread, and this can make it easier for other community members to see the useful information when reading this thread. Thanks for your understanding!

    [Unable to publish / update SPD 2010 workflow]

    Issue Symptom:

    After installing KB5002645, OP was no longer able to create nor update existing 2010 workflows using SPD 2013.

    Image

    Current status:

    OP solved the issue by workaround in this article.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.