我们都知道,企业会定期对SharePoint环境做patching更新。近期在安装SharePoint 2018年6月份的CU后遇到一个workflow不好用的问题,并且在SharePoint不同On-Promise版本均存在问题。
在安装完CU patch后,点击workflow查看workflow instance,status会显示Failed to Start。即使是SharePoint OOTB的workflow也是不好用的。
在对应的log中会有此错误信息"Type System.CodeDom.CodeBinaryOperatorExpression is not marked as authorized in the application configuration file."
经过查询主要是因为安装了September 2018 .NET Framework security updates导致。
此问题可以通过修改SharePoint Farm的Web Application的web.config文件解决。具体步骤请参考下面微软方案链接:
感谢阅读。