I have been playing around with a custom workflow using SharePoint Designer 2007. We have a production SharePoint environment, and a test environment located on the same server, but different site collection. I successfully implemented the workflow on the test environment, fully tested and everything worked perfect. Created the workflow on the production site collection using the same list template. Once the workflow was started, I checked the workflow history and received this message under the status: "Failed on Start (retrying)". So after restarting SPD, recreating the workflow, I decided to create just a simple workflow, one step, very simple. Got the same error. Here is the portion of the log from the server at the time of the workflow start (sorry for the ugly formatting).
04/18/2008 13:20:46.74 w3wp.exe (0x12C8) 0x1484 Windows SharePoint Services Workflow Infrastructure 936l High Engine RunWorkflow: System.TypeLoadException: The signature is incorrect. at System.ModuleHandle.Resolv
eType(Int3
2 typeToken, RuntimeTypeHandle* typeInstArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs, Int32 methodInstCount) at System.ModuleHandle.Resolv
eTypeHandl
e(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext
) at System.Reflection.Module.R
esolveType
(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) at System.Reflection.CustomAt
tribute.Fi
lterCustom
AttributeR
ecord(Cust
omAttribut
eRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, Module decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] ...
04/18/2008 13:20:46.74* w3wp.exe (0x12C8) 0x1484 Windows SharePoint Services Workflow Infrastructure 936l High ...attributes, IList derivedAttributes, RuntimeType& attributeType, RuntimeMethodHandle& ctor, Boolean& ctorHasParameters, Boolean& isVarArg) at System.Reflection.CustomAt
tribute.Ge
tCustomAtt
ributes(Mo
dule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes) at System.Reflection.CustomAt
tribute.Ge
tCustomAtt
ributes(As
sembly assembly, RuntimeType caType) at System.Reflection.Assembly
.GetCustom
Attributes
(Boolean inherit) at System.Workflow.Activities
.Rules.Rul
eValidatio
n.<LoadExt
ensionAttr
ibuteType>
b__0(Assem
bly a) at System.Array.ForEach[T](T[
] array, Action`1 action) at System.Workflow.Activities
.Rules.Rul
eValidatio
n.LoadExte
nsionAttri
buteType(B
oolean loadAttributes) at Sy...
04/18/2008 13:20:46.74* w3wp.exe (0x12C8) 0x1484 Windows SharePoint Services Workflow Infrastructure 936l High ...stem.Workflow.Activitie
s.Rules.Ru
leValidati
on..ctor(A
ctivity activity, ITypeProvider typeProvider, Boolean checkStaticType) at System.Workflow.Activities
.Rules.Rul
eCondition
ReferenceV
alidator.V
alidate(Va
lidationMa
nager manager, Object obj) at System.Workflow.ComponentM
odel.Compi
ler.Valida
tionHelper
s.Validate
Object(Val
idationMan
ager manager, Object obj) at System.Workflow.ComponentM
odel.Compi
ler.Depend
encyObject
Validator.
ValidateDe
pendencyPr
operty(Dep
endencyObj
ect dependencyObject, DependencyProperty dependencyProperty, ValidationManager manager) at System.Workflow.ComponentM
odel.Compi
ler.Depend
encyObject
Validator.
Validate(V
alidationM
anager manager, Object obj) at System.Workflow.ComponentM
odel.Compi
ler.Activi
tyValidato
r.Validate
(Validatio
nManager manager, Object obj) ...
04/18/2008 13:20:46.74* w3wp.exe (0x12C8) 0x1484 Windows SharePoint Services Workflow Infrastructure 936l High ... at System.Workflow.ComponentM
odel.Compi
ler.Compos
iteActivit
yValidator
.Validate(
Validation
Manager manager, Object obj) at System.Workflow.Activities
.IfElseBra
nchValidat
or.Validat
e(Validati
onManager manager, Object obj) at System.Workflow.ComponentM
odel.Compi
ler.Valida
tionHelper
s.Validate
Object(Val
idationMan
ager manager, Object obj) at System.Workflow.ComponentM
odel.Compi
ler.Valida
tionHelper
s.Validate
Activity(V
alidationM
anager manager, Activity activity) at System.Workflow.ComponentM
odel.Compi
ler.Compos
iteActivit
yValidator
.Validate(
Validation
Manager manager, Object obj) at System.Workflow.Activities
.IfElseVal
idator.Val
idate(Vali
dationMana
ger manager, Object obj) at System.Workflow.ComponentM
odel.Compi
ler.Valida
tionHelper
s.Validate
Object(Val
idationMan
ager manager, Ob...
04/18/2008 13:20:46.74* w3wp.exe (0x12C8) 0x1484 Windows SharePoint Services Workflow Infrastructure 936l High ...ject obj) at System.Workflow.ComponentM
odel.Compi
ler.Valida
tionHelper
s.Validate
Activity(V
alidationM
anager manager, Activity activity) at System.Workflow.ComponentM
odel.Compi
ler.Compos
iteActivit
yValidator
.Validate(
Validation
Manager manager, Object obj) at System.Workflow.Runtime.Wo
rkflowDefi
nitionDisp
enser.Vali
dateDefini
tion(Activ
ity root, Boolean isNewType, ITypeProvider typeProvider) at System.Workflow.Runtime.Wo
rkflowDefi
nitionDisp
enser.Load
RootActivi
ty(Type workflowType, Boolean createDefinition, Boolean initForRuntime) at System.Workflow.Runtime.Wo
rkflowDefi
nitionDisp
enser.GetR
ootActivit
y(Type workflowType, Boolean createNew, Boolean initForRuntime) at System.Workflow.Runtime.Wo
rkflowRunt
ime.Initia
lizeExecut
or(Guid instanceId, CreationContext context, WorkflowEx...
04/18/2008 13:20:46.74* w3wp.exe (0x12C8) 0x1484 Windows SharePoint Services Workflow Infrastructure 936l High ...ecutor executor, WorkflowInstance workflowInstance) at System.Workflow.Runtime.Wo
rkflowRunt
ime.Load(G
uid key, CreationContext context, WorkflowInstance workflowInstance) at System.Workflow.Runtime.Wo
rkflowRunt
ime.GetWor
kflowExecu
tor(Guid instanceId, CreationContext context) at System.Workflow.Runtime.Wo
rkflowRunt
ime.Intern
alCreateWo
rkflow(Cre
ationConte
xt context, Guid instanceId) at System.Workflow.Runtime.Wo
rkflowRunt
ime.Create
Workflow(T
ype workflowType, Dictionary`2 namedArgumentValues, Guid instanceId) at Microsoft.SharePoint.Workf
low.SPWinO
eHostServi
ces.Send(S
PWinOeWork
flow winoeworkflow, SPWorkflowEvent e) at Microsoft.SharePoint.Workf
low.SPWinO
eEngine.Ru
nWorkflow(
Guid trackingId, SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan ti...
04/18/2008 13:20:46.74* w3wp.exe (0x12C8) 0x1484 Windows SharePoint Services Workflow Infrastructure 936l High ...meOut)
So it looks like it has nothing to do with the workflow, but I'm not sure where to go from here. Any help would be greatly appreciated.
Start Free Trial