When you publish a workflow in Microsoft Dynamics CRM 4.0 after you install Update Rollup 2, you receive Error message

When you publish a workflow in Microsoft Dynamics CRM 4.0 after you install Update Rollup 2, you may receive the following error message:
The selected workflow has errors and cannot be published. Please open the workflow, remove the errors and try again.

If platform tracing is enabled, you may see the following error message:
Type System.Globalization.CultureInfo is not marked as authorized in the application configuration file., ErrorCode: -2147201023

To resolve this issue, open the Microsoft CRM Web site Web.config file in a text editor such as Notepad, and then add the following lines to the authorizedTypes section:

<authorizedType Assembly="mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Namespace="System.Globalization" TypeName="CultureInfo" Authorized="True"/>

參見http://support.microsoft.com/kb/959419

Known issue after you install Update Rollup 2

When you publish a workflow in Microsoft Dynamics CRM 4.0 after you install Update Rollup 2, you may receive the following error message:

The selected workflow has errors and cannot be published. Please open the workflow, remove the errors and try again.
If platform tracing is enabled, you may see the following error message:
Type System.Globalization.CultureInfo is not marked as authorized in the application configuration file., ErrorCode: -2147201023
To resolve this issue, open the Microsoft CRM Web site Web.config file in a text editor such as Notepad, and then add the following lines to the authorizedTypes section:


<authorizedType Assembly="mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Namespace="System.Globalization" TypeName="CultureInfo" Authorized="True"/>

</authorizedTypes>

原文地址:https://www.cnblogs.com/janmson/p/1584374.html