- Toll Free: 1-866-SONOMA1
- Email Newsletter
- Blog
- YouTube
- Contact Us
Sonoma Partners
Can't publish a workflow after installing a Rollup Update? Read on...
Posted by Mike Snyder on January 22, 2009 |If you have installed the Microsoft CRM Update Rollup 1 or Update Rollup 2, you might experience an error where you cannot publish a workflow rule anymore. According to Microsoft this might happen if you modified the web.config file in your deployment:
If you have modified the Microsoft CRM website web.config file, then you need to manually open the Microsoft CRM Web site web.config file in an editor like Notepad and add the following section to it in order to continue being able to publish workflows:
In the section <authorizedTypes>
…multiple lines here
<authorizedType Assembly="mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Namespace="System.Globalization" TypeName="CultureInfo" Authorized="True"/>
</authorizedTypes>
Microsoft said they are looking at modifying the install notes to include this warning and/or revising the Update Rollup 2 installation files.
Comments
Post a Comment
Contact Us for a Quote, or Personalized Demonstrationof Microsoft Dynamics CRM for Your Business.
Contact Us
Previous Post
Back to Blog
We experienced this issue when testing Update Rollup 2 on our test platform before releasing it into our hosted production platform. I thought that modifying the web.config file was an unsupported change. It turns out that the most likely culprit for modifying our web.config file was the ExactTarget integration service...
Posted by: Neil Benson | Jan 27, 2009 6:15:11 AM
I checked into this and it turns out tha the ExactTarget integration service does not modify the web.config...so I think you'll need to keep searching for the culprit!
Posted by: Mike Snyder | Feb 18, 2009 3:22:22 PM
Just had this very issue with Rollup 5.0 and the solution above worked perfectly. Thanks! We had not editied our web.config manually previously.
Posted by: Ian Luxton | Jul 28, 2009 11:35:39 PM
It work on Rollup 8.0 too! Thanks you
Posted by: Ching | Jan 13, 2010 7:13:51 PM
We are experiencing this problem where we can't publish any of our workflows.
Our environment is CRM 4.0 Rollup 7 in MS Server 2008 R2, SQL 2008, IIS 7, all in one server.
We already checked the web.config and added the line indicated in this posting.
(BTW this seems to be the common ground for all the postings found related to this issue)
We then restarted the ISS.
Still the same negative result. Any ideas will be gratly appreciated.
Posted by: Miguel Riano | Feb 3, 2010 10:25:52 AM
Miguel-
I did a quick test of removing the line detailed in the posting from a functioning environment. I then used the CRM Diagnostic tool to run a trace during a failed publish and was given the following error details below. I would expect that you would see something similar if your issue was related to the same type not being authorized.
Error: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Error Number: 0x80045001
Error Message: Workflow compilation failed:
WF1399: Activity 'SetStateStep1_policy' validation failed: Property "RuleSetReference" has an invalid value. Rule set is invalid. Rule "main" validation failed. Type System.Globalization.CultureInfo is not marked as authorized in the application configuration file.
Posted by: Neil Erickson | Feb 3, 2010 11:14:21 AM
Thanks ! Works !
Posted by: Ronald Top | Mar 9, 2010 2:47:31 PM
Works, thanks.
Posted by: Jan | Jul 19, 2010 8:16:22 AM
Where is the web.config file located, when I do a search of my computer I find multiple web.config and don't want to use the wrong one.
Posted by: Chris | Sep 22, 2011 9:50:35 AM