zoukankan      html  css  js  c++  java
  • SharePoint 2013 workflows stop working (Failed on started.)

      前言

      最近,使用工作流的时候碰到了一个问题,突然间所有工作流都无法启动,报错Failed on started. 同时,工作流内部报错,工作流被系统账号取消了。

      查了很久,发现系统打了windows server security patches造成的,有两种方法可以解决。

      原因

      问题的原因就是我们工作流的很多依赖项,在安装了这个安全补丁以后,需要在web.config中进行授权信任。

      方法一 

      很简单,卸载打的补丁。KB4457916/4457035

      方法二

      修改每一个前端服务器中,每个web application下的配置文件。

      配置文件路径一般在:C:inetpubwwwrootwssVirtualDirectoriesPort

      SharePoint 默认工作流需要添加:

    <authorizedType Assembly="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" NameSpace="System.CodeDom" TypeName="CodeBinaryOperatorExpression" Authorized="True" />
    <authorizedType Assembly="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" NameSpace="System.CodeDom" TypeName="CodePrimitiveExpression" Authorized="True" />
    <authorizedType Assembly="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" NameSpace="System.CodeDom" TypeName="CodeMethodInvokeExpression" Authorized="True" />
    <authorizedType Assembly="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" NameSpace="System.CodeDom" TypeName="CodeMethodReferenceExpression" Authorized="True" />
    <authorizedType Assembly="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" NameSpace="System.CodeDom" TypeName="CodeFieldReferenceExpression" Authorized="True" />
    <authorizedType Assembly="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" NameSpace="System.CodeDom" TypeName="CodeThisReferenceExpression" Authorized="True" />
    <authorizedType Assembly="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" NameSpace="System.CodeDom" TypeName="CodePropertyReferenceExpression" Authorized="True" />

      Nintex工作流需要添加:
    <authorizedType Assembly="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" NameSpace="System.CodeDom" TypeName="CodeTypeReferenceExpression" Authorized="True" />​

      添加路径:

    <System.Workflow.ComponentModel.WorkflowCompiler>
    <authorizedTypes>
    <targetFx version="v4.0">

      参考链接

    https://blogs.msdn.microsoft.com/rodneyviana/2018/09/13/after-installing-net-security-patches-to-address-cve-2018-8421-sharepoint-workflows-stop-working/

  • 相关阅读:
    『CEO日报』-商业版的今日头条,《财富》(中文版)出品 on the App Store
    Hosted Web Scraper Online
    名巢靓家_百度百科
    服装消费3.0时代的试验者: Pretty Yes 通过穿搭问答解决中产女性的时尚衣着问题
    好市多_百度百科
    新闻:融资600万 他用一套系统优化15大HR工作场景 精简入转调离 月开通214家 | IT桔子
    眨眼网杨莹,能写代码能玩时尚的美女CEO-搜狐
    新闻:全球独立设计师平台眨眼网推出男装系列 | IT桔子
    漏洞盒子 | 互联网安全测试平台
    浙江设立200亿元省产业基金·杭州日报
  • 原文地址:https://www.cnblogs.com/jianyus/p/9854798.html
Copyright © 2011-2022 走看看