The Workflows using the Share Record step stay Waiting

Dec 29, 2009 at 8:29 PM


The solution to publish the workflows was successfull, thank you.

But when I run any workflow using the Share Record step they stay in the staus reason: Waiting and when I open de job an error appears.

The Error Code is -2147201001 and the Message is the following:

"Workflow paused due to error: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.  at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)  at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)  at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)  at System.Activator.CreateInstance(Type type, Boolean nonPublic)  at System.Workflow.Runtime.Hosting.DefaultWorkflowLoaderService.CreateInstance(Type workflowType)  at System.Workflow.Runtime.WorkflowDefinitionDispenser.LoadRootActivity(Type workflowType, Boolean createDefinition, Boolean initForRuntime)  at System.Workflow.Runtime.WorkflowDefinitionDispenser.GetRootActivity(Type workflowType, Boolean createNew, Boolean initForRuntime)  at System.Workflow.Runtime.WorkflowRuntime.InitializeExecutor(Guid instanceId, CreationContext context, WorkflowExecutor executor, WorkflowInstance workflowInstance)  at System.Workflow.Runtime.WorkflowRuntime.Load(Guid key, CreationContext context, WorkflowInstance workflowInstance)  at System.Workflow.Runtime.WorkflowRuntime.GetWorkflowExecutor(Guid instanceId, CreationContext context)  at System.Workflow.Runtime.WorkflowRuntime.InternalCreateWorkflow(CreationContext context, Guid instanceId)  at System.Workflow.Runtime.WorkflowRuntime.CreateWorkflow(Type workflowType, Dictionary`2 namedArgumentValues, Guid instanceId)  at Microsoft.Crm.Workflow.WorkflowHost.StartWorkflowFromType(Guid instanceId, Type workflowType, WorkflowContext context) Inner Exception: System.IO.FileLoadException: Could not load file or assembly 'Infusion.CRM.WF.CRM40ShareStep, Version=, Culture=neutral, PublicKeyToken=838be80295bbee47' or one of its dependencies. Access is denied.  at Compiled.Workflow604be321a9f4de11b8120003ffee03d6.InitializeComponent()  at Compiled.Workflow604be321a9f4de11b8120003ffee03d6..ctor()"

Help please!

Jan 28, 2010 at 8:26 AM

I'm wondering,

is there any installation guide for this available ?

What's the correct procedure to register this assembly.




Feb 22, 2010 at 7:11 PM

Hi folks, sorry for the late answer, but there is nothing special that should be considered when registering the plugin. Once deployed (and the registration should not need any special parameters) it should become available as one of the actions that can be selected in a workflow. There have been some errors mainly related to the version of the plugin registration tool used, but these should not depend on this assembly in particular.