Sharepoint 2013 Workflow timer job

Olivier C 36 Reputation points
2021-02-23T07:44:24.907+00:00

Hello all, I have a strange issue with workflow timer job which stay to running for a long time despite it should be executed every five minutes. I had a look into the logs and found multiple occurence of the following errors :
RunWorkflow: Microsoft.SharePoint.SPException: <Error><CompilerError Line="-1" Column="-1" Text="Type System.CodeDom.CodeBinaryOperatorExpression is not marked as authorized in the application configuration file." /><CompilerError Line="0" Column="0" Text="Activity 'ID5' validation failed: Property "Condition" has invalid value. Condition expression is invalid. The condition expression can not be null." /></Error>

Microsoft.SharePoint.SPException: <Error><CompilerError Line="-1" Column="-1" Text="Type System.CodeDom.CodeBinaryOperatorExpression is not marked as authorized in the application configuration file." /><CompilerError Line="0" Column="0" Text="Activity 'ID5' validation failed: Property "Condition" has invalid value. Condition expression is invalid. The condition expression can not be null." /></Error>
I already applied the workaround in config.web for all web application but it's not related to web application, it's related to owstimer. how can i solve that ?
Thanks in advance for your help.
Olivier

SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,900 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vincent Collogan 26 Reputation points
    2021-03-01T18:17:44.593+00:00

    I'm guessing you've restarted timer svc and IISreset since making the web config change?

    0 comments No comments