Error: Workflow contains an invalid custom activity

Jan 14, 2013 at 4:58 PM

Hi,

I have successfully installed the CRM Workflow Utilities 2.0.1.2 in an CRM 2011, Rollup 11 environment.

Now, when I try to insert a new step (using the menu CRM WorkflowUtilities (2.0.1.2) -> Share) the system comes up with the following error message:

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Workflow contains an invalid custom activity.Detail: 
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
<ErrorCode>-2147200968</ErrorCode>
<ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
<Message>Workflow contains an invalid custom activity.</Message>
<Timestamp>2013-01-14T16:56:52.7993422Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>

Can anyone help me?

Thanks in advance.

Jan 14, 2013 at 5:22 PM
Edited Jan 14, 2013 at 5:26 PM

I have just recognized that I had imported "Managed Solution - CRM Online (R8)" -> the installation was fine. When I try to import "Managed Solution - On Premise", which is the installation/environment we have, the system comes up with the error

....

<Cell ss:StyleID="s137" name="ErrorText"><Data ss:Type="String">Action failed for assembly 'CRM2011WorkflowUtilities Version=2.0.1.2, Culture=neutral, PublicKeyToken=56e578f179199f26': Assembly must be registered in isolation.</Data></Cell>

....

I have seen in previous posts, that one would need admin rights to get the solution properly done, but I cannot imagine that this is my problem, as I am the system administrator.

Any other idea?

Thanks in advance.

Coordinator
Jan 14, 2013 at 6:39 PM

Hi Habermann,

 

Not only you need to be the System Administrator, but also the Deployment Administrator. Otherwise you cannot import custom workflow activities. You can do so by opening the Deployment Manager in your CRM Server and adding your account to the Deployment Admins list.

Jan 14, 2013 at 7:56 PM

Dear GonzRuiz,

thank you for the quick response and your advise -> it works now ;-)