problem with workflows

Mar 31, 2009 at 11:05 AM
Edited Mar 31, 2009 at 12:52 PM
After installing the solution all the work-flows that are using a "condition" to start working stopped working and are giving "Failed on Start (retrying)" error.
When I remove the condition the work-flow works. (by condition I mean - compare a field item for example)
I tried removing the solution but I still see the the custom options in my spd and the problem remains.
any ideas ?

this is what the logs say :

03/31/2009 13:20:10.34  w3wp.exe (0x0ECC)                        0x0F90 Windows SharePoint Services    Workflow Infrastructure        936l High     Engine RunWorkflow: System.IO.FileNotFoundException: Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.  File name: 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'     at System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle* typeInstArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs, Int32 methodInstCount)     at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)     at System.Reflection.Module.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)  ... 

03/31/2009 13:20:10.34* w3wp.exe (0x0ECC)                        0x0F90 Windows SharePoint Services    Workflow Infrastructure        936l High     ...   at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, Module decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, RuntimeMethodHandle& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)     at System.Reflection.CustomAttribute.GetCustomAttributes(Module decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes)     at System.Reflection.CustomAttribute.GetCustomAttributes(Assembly assembly, RuntimeType caType)     at System.Reflection.Assembly.GetCustomAttributes(Boolean inherit... 

03/31/2009 13:20:10.34* w3wp.exe (0x0ECC)                        0x0F90 Windows SharePoint Services    Workflow Infrastructure        936l High     ...)     at System.Workflow.Activities.Rules.RuleValidation.<LoadExtensionAttributeType>b__0(Assembly a)     at System.Array.ForEach[T](T[] array, Action`1 action)     at System.Workflow.Activities.Rules.RuleValidation.LoadExtensionAttributeType(Boolean loadAttributes)     at System.Workflow.Activities.Rules.RuleValidation..ctor(Activity activity, ITypeProvider typeProvider, Boolean checkStaticType)     at System.Workflow.Activities.Rules.RuleConditionReferenceValidator.Validate(ValidationManager manager, Object obj)     at System.Workflow.ComponentModel.Compiler.ValidationHelpers.ValidateObject(ValidationManager manager, Object obj)     at System.Workflow.ComponentModel.Compiler.DependencyObjectValidator.ValidateDependencyProperty(DependencyObject dependencyObject, DependencyProperty depende... 

03/31/2009 13:20:10.34* w3wp.exe (0x0ECC)                        0x0F90 Windows SharePoint Services    Workflow Infrastructure        936l High     ...ncyProperty, ValidationManager manager)     at System.Workflow.ComponentModel.Compiler.DependencyObjectValidator.Validate(ValidationManager manager, Object obj)     at System.Workflow.ComponentModel.Compiler.ActivityValidator.Validate(ValidationManager manager, Object obj)     at System.Workflow.ComponentModel.Compiler.CompositeActivityValidator.Validate(ValidationManager manager, Object obj)     at System.Workflow.Activities.IfElseBranchValidator.Validate(ValidationManager manager, Object obj)     at System.Workflow.ComponentModel.Compiler.ValidationHelpers.ValidateObject(ValidationManager manager, Object obj)     at System.Workflow.ComponentModel.Compiler.ValidationHelpers.ValidateActivity(ValidationManager manager, Activity activity)     at System.Workflow.ComponentModel.Compiler.Compos... 

03/31/2009 13:20:10.34* w3wp.exe (0x0ECC)                        0x0F90 Windows SharePoint Services    Workflow Infrastructure        936l High     ...iteActivityValidator.Validate(ValidationManager manager, Object obj)     at System.Workflow.Activities.IfElseValidator.Validate(ValidationManager manager, Object obj)     at System.Workflow.ComponentModel.Compiler.ValidationHelpers.ValidateObject(ValidationManager manager, Object obj)     at System.Workflow.ComponentModel.Compiler.ValidationHelpers.ValidateActivity(ValidationManager manager, Activity activity)     at System.Workflow.ComponentModel.Compiler.CompositeActivityValidator.Validate(ValidationManager manager, Object obj)     at System.Workflow.Runtime.WorkflowDefinitionDispenser.ValidateDefinition(Activity root, Boolean isNewType, ITypeProvider typeProvider)     at System.Workflow.Runtime.WorkflowDefinitionDispenser.LoadRootActivity(Type workflowType, Boolean createDefinition, Boo... 

03/31/2009 13:20:10.34* w3wp.exe (0x0ECC)                        0x0F90 Windows SharePoint Services    Workflow Infrastructure        936l High     ...lean 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 instanceI... 

03/31/2009 13:20:10.34* w3wp.exe (0x0ECC)                        0x0F90 Windows SharePoint Services    Workflow Infrastructure        936l High     ...d)     at Microsoft.SharePoint.Workflow.SPWinOeHostServices.Send(SPWinOeWorkflow winoeworkflow, SPWorkflowEvent e)     at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(Guid trackingId, SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut)     

Jun 4, 2009 at 1:51 PM

I am having the same problems after installing this solution. I get "Failed on start(retrying)" error on all SPD worflows. Even the ones that used to work before and don't use any new activities.


Any help is much appreciated.

Thanks in advance.

Jun 4, 2009 at 1:57 PM
Edited Jun 4, 2009 at 1:57 PM

hi Suleyman,

This is how we managed to solve the problem. the new SPD activities are built in .NET Framework 3.5. we didn't have that version on the server. if you look at the error we got it says :

The system cannot find the file specified.  File name: 'System.Web.Extensions, Version=3.5.0.0

we ended up installing .NET Framework 3.5 and everything started working again.