locked
The custom activity does not contain a valid CrmWorkflowActivity attribute- Importing organisation from CRM 4 to CRM 2011 RRS feed

  • Question

  • Hi All

    We are facing issues with importing a CRM 4 organisation into CRM 2011, we get the following error.

    --- End of inner exception stack trace --- at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo) 08:25:46| Error| Import Organization (Name=PKGH, Id=05904475-3fc3-df11-9ea7-005056a46f05) failed with Exception: Microsoft.Crm.CrmException: Upgrade Organization with Id=05504475-3fc3-dd11-9ea7-005056a46f05 failed with Exception: System.Exception: Action Microsoft.Crm.Tools.Admin.UpgradeWorkflowActivitiesAction failed. ---> Microsoft.Crm.CrmException: The custom activity does not contain a valid CrmWorkflowActivity attribute at Microsoft.Crm.Tools.Admin.UpgradeWorkflowActivitiesAction.CustomActivityData.LoadActivityParameters() at Microsoft.Crm.Tools.Admin.UpgradeWorkflowActivitiesAction.CustomActivityData.get_ActivityName() at Microsoft.Crm.Tools.Admin.UpgradeWorkflowActivitiesAction.MarshalByRefWorkflowActivityAction.UpgradeCustomActivityBatch(Int32 batchSize, Guid organizationId) at Microsoft.Crm.Tools.Admin.UpgradeWorkflowActivitiesAction.MarshalByRefWorkflowActivityAction.UpgradeCustomActivityBatch(Int32 batchSize, Guid organizationId) at Microsoft.Crm.Tools.Admin.UpgradeWorkflowActivitiesAction.Upgrade(Guid organizationId) at Microsoft.Crm.Tools.Admin.UpgradeWorkflowActivitiesAction.Do(IDictionary parameters) at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo) --- End of inner exception stack trace --- at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo) at Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver) at Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver) at Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver) at Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute() at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo) ---> System.Exception: Action Microsoft.Crm.Tools.Admin.UpgradeWorkflowActivitiesAction failed. ---> Microsoft.Crm.CrmException: The custom activity does not contain a valid CrmWorkflowActivity attribute at Microsoft.Crm.Tools.Admin.UpgradeWorkflowActivitiesAction.CustomActivityData.LoadActivityParameters() at Microsoft.Crm.Tools.Admin.UpgradeWorkflowActivitiesAction.CustomActivityData.get_ActivityName() at Microsoft.Crm.Tools.Admin.UpgradeWorkflowActivitiesAction.MarshalByRefWorkflowActivityAction.UpgradeCustomActivityBatch(Int32 batchSize, Guid organizationId) at Microsoft.Crm.Tools.Admin.UpgradeWorkflowActivitiesAction.MarshalByRefWorkflowActivityAction.UpgradeCustomActivityBatch(Int32 batchSize, Guid organizationId) at Microsoft.Crm.Tools.Admin.UpgradeWorkflowActivitiesAction.Upgrade(Guid organizationId) at Microsoft.Crm.Tools.Admin.UpgradeWorkflowActivitiesAction.Do(IDictionary parameters) at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo) --- End of inner exception stack trace --- at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo) at Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver) at Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver) at Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver) at Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute() at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo) --- End of inner exception stack trace --- at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo) at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.Execute(Object obj) 08:25:46| Info| GetDBUpdateRevisionThresholdForServer(): Threshold = 2243.

    It would be great if you can provide the solution. thanks in advance.


    Regards,
    Srikanth Reddy




    Friday, June 13, 2014 12:51 PM

All replies