Wednesday, June 30, 2010

Error publishing Workflows with 'Send Email' step (CRM 4.0)

You might encounter an error while trying to publish workflows with an 'Email Step' added
Error : "An error occured when the workflow was being created. Try to save the workflow again."


The crm logs shows the error as
"Type System.Globalization.CultureInfo is not marked as safe ... in web.config"


Here is the resolution
Add the below entry into the web.config file available in the crm installation directory
Eg : c:\program files\microsoft dynamics crm\crmweb


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


Try publishing the workflow again. That should work  :-) !!

No comments:

Post a Comment