Tuesday, June 23, 2009

MS CRM 4.0 Custom Workflow Activity assembly update not executing the new code

When you are developing a custom workflow activity for MS CRM 4.0, you have to register this activity with the Plugin Registration Tool provided by MS CRM 4.0 SDK.

When I changed the code of my workflow activity, and tried the Update action in de Plugin Registration Tool, the new code did not execute, it executed the cached version of the previous code. To get your new code to run, perform an IISRESET and restart the Microsoft CRM Asynchronous Processing Service after updating your assembly in the Plugin Registration Tool. It took me a while to find this out, but it’s actually quite logical.

2 comments:

Custom Paper Writing said...

Many institutions limit access to their online information. Making this information available will be an asset to all.

Anonymous said...

I find just restarting the the Microsoft CRM Asynchronous Processing Service is sufficient without the need for the IIS Reset