locked
Error when trying to deploy a workflow assembly for CRM 2011 Online RRS feed

  • Question

  • I'm trying to register a custom workflow activity when I take a deploy an error is generated:

    "Error registering plugins and/or workflows. Exception retrieving custom activity info - The type initializer for 'Microsoft.Crm.Workflow.ObjectModel.CustomActivityHelper' threw an exception.

    C:\Program Files (x86)\MSBuild\Microsoft\CRM\Microsoft.CrmDeveloperTools.CrmClient.targets"

    Anyone know what could be wrong?

    Tks,

    Jose.Freitas



    Friday, February 1, 2013 8:57 PM

All replies

  • Has your organization already been updated to UR 12? Custom workflows in CRM Online aren't available to you until that update is applied.

    Jason Lattimer
    My Blog -  Follow me on Twitter -  LinkedIn

    Friday, February 1, 2013 9:40 PM
    Moderator
  • Jason Lattimer,

    Yes, I know, is the RU12. Have you any idea what it is?

    Tks
    Jose.Freitas

    Friday, February 1, 2013 9:46 PM
  • Jose,

    • Please ensure you are using the latest version of plug-in registration tool. Download the latest SDK and look for pluginregistration.exe file in the bin folder.
    • Make sure that your assembly is built using .NET framework 4.0.3 or 4.5
    • It must be registered in sandbox mode.

    Hope that helps!

    --Moe


    Mohamed Salti

    Monday, February 4, 2013 9:04 AM