locked
problem of inter condition RRS feed

  • Question

  • hi dear

    problem of inter condition

    link img

    https://a.top4top.net/p_1152k5g5o1.jpg

    (-1, -1) Type System.CodeDom.CodeBinaryOperatorExpression is not marked as authorized in the application configuration file.)
    (0, 0) Activity 'ID225' validation failed: Property "Condition" has invalid value. Condition expression is invalid. The condition expression can not be null.)





    • Edited by ALDOPAEE Tuesday, February 26, 2019 5:31 AM
    Monday, February 25, 2019 5:56 AM

Answers

  • Hi Aldopaee,

    Try to add the necessary types to all web applications' web.config files.

    For SharePoint 2013 and later versions
    For SharePoint 2013 and later versions, add the following lines:

    <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" />

    Reference:

    SharePoint workflows stop working after you install .NET security updates for CVE-2018-8421

    Thanks

    Best Regards


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Wednesday, February 27, 2019 8:25 AM
  • Hi,

    You are adding the lines into wrong place, try to search authorizedType in web.config file:

    Then add the lines between the lines in capture above.

    Thanks

    Best Regards


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Thursday, February 28, 2019 5:49 AM
  • Thanks dear for your nice reply
    But when I added the tag to the file back this error

    https://b.top4top.net/p_1154pv2271.jpg

    https://e.top4top.net/p_1154wyrzm1.jpg

    • Marked as answer by ALDOPAEE Saturday, March 2, 2019 5:15 AM
    Thursday, February 28, 2019 5:39 AM

All replies

  • Hi,

    Please provide detailed situation and description of this question rather than just post error message, so that we could understand the question more clearly.

    Thanks

    Best Regards


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Monday, February 25, 2019 8:21 AM
  • hi dear

    look this link

    https://a.top4top.net/p_1152k5g5o1.jpg

    Tuesday, February 26, 2019 5:30 AM
  • Hi Aldopaee,

    Try to add the necessary types to all web applications' web.config files.

    For SharePoint 2013 and later versions
    For SharePoint 2013 and later versions, add the following lines:

    <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" />

    Reference:

    SharePoint workflows stop working after you install .NET security updates for CVE-2018-8421

    Thanks

    Best Regards


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Wednesday, February 27, 2019 8:25 AM
  • Thanks dear for your nice reply
    But when I added the tag to the file back this error

    https://b.top4top.net/p_1154pv2271.jpg

    https://e.top4top.net/p_1154wyrzm1.jpg

    • Marked as answer by ALDOPAEE Saturday, March 2, 2019 5:15 AM
    Thursday, February 28, 2019 5:39 AM
  • Hi,

    You are adding the lines into wrong place, try to search authorizedType in web.config file:

    Then add the lines between the lines in capture above.

    Thanks

    Best Regards


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Thursday, February 28, 2019 5:49 AM
  • Thank you so much
    I love you

    i love you

    i love you

    Thursday, February 28, 2019 8:59 AM
  • Hi Aldopaee,

    You are welcome and I would suggest you could Mark my replies above as answers so that it could help others who stuck with the same question in the forum.

    Thanks

    Best Regards


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Thursday, February 28, 2019 9:02 AM