Getting this error message today: Engine RunWorkflow: System.Workflow.ComponentModel.Compiler.WorkflowValidationFailedException: The workflow failed validation. at System.Workflow.Runtime.WorkflowDefinitionDispenser.ValidateDefinition(Activity root, Boolean isNewType, ITypeProvider typeProvider) 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 [...]
Posts Tagged ‘workflow’
Engine RunWorkflow: System.Workflow.ComponentModel.Compiler.WorkflowValidationFailedException: The workflow failed validation.
Posted in sharepoint, tagged rules, sharepoint, workflow on January 21, 2010 | Leave a Comment »
SharePoint custom workflow activity. “Failed to load toolbox item. It will be removed from toolbox.”
Posted in sharepoint, workflow, tagged activity, bug, custom activity, custom workflow, sharepoint, workflow on December 27, 2009 | 6 Comments »
I was getting this error message in Visual Studio 2008 when adding a custom activity to an existing workflow. Solution This worked for me, your mileage, may and probably will vary. It was necessary for me to un-gac the workflow project, then the custom activities could be added to the design surface as expected.