Sunday, October 10, 2010

Error When Publishing Workflows in Dynamics CRM 4.0 (an error occurred when the workflow was being created. try to save the workflow again).

A couple of days ago I received the above error when trying to publish a workflow in CRM. After some searching I found out that this error may occur after installing Update Rollup2 Update Rollup2 For Microsoft Dynamics CRM 4.0  .
What actually happened is the the following line has been removed from web.config for CRM Web Application.

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

So what you need to do is adding the above line under <authorizedType> Node in web.config  and execute IISReset /Noforce .

That’s it.

No comments:

Post a Comment