Wednesday, June 15, 2011

Updating CRM 4.0 Custom Workflows/Plugins

I was running into an issue as I merged a couple of development branches, in that none of the new plugins that were added appeared to work, resulting in a rather unhelpful error message on the function:

Microsoft.Crm.Application.Platform.CustomActivityInfoMetadata.GetActivityInfo(Guid pluginTypeId ...

Searching on the web gained only results suggesting that one reset IIS and restart the Async Service, which did not help the issue.

In the end, it was a combination of assigning a different version value and checking the Modules loaded that we found that despite the resets and re-registrations of the DLLs, the CRM was still using a cached version of the DLL. Deleting the temp ASP directories, solved the issue, and the spice flowed.

No comments:

Post a Comment