SharePoint Workflow errors
Posted on 2011-05-03
I have SharePoint 2007 Standard edition implemented on one of our production servers (windows 2003 with SP2). I have SharePoint Service Pack 2 installed on it (220.127.116.1121). It is a single Web front end installation.
We have several Visual Studio Custom Developed Workflows running on it.
The worklfows were working fine till last week. Suddently this week we have started receiving the below errors in the SharePoint Log and as a result some workflows get stuck and don't move to the next task.
This doesnt happen with all workflows but randomly happens with some of them.
I searched online and this was supposed to a known bug that was solved by a patch and the service pack2 . But for some reason it is happening again. The only thing that was recently changed on the server was in the regional settings Date and number formats were chnaged from "English (United States)" to "English (United Kingdom)"
Any idea what could be the reason for the below errors?
Note: I have these worklfows running on the Development environment without any issues.
Engine RunWorkflow: System.Workflow.Activities.EventDeliveryFailedException: Event "OnTaskChanged" on interface type "Microsoft.SharePoint.Workflow.ITaskService" for instance id
"54dfb6f1-2884-4a12-b645-3a4aca5c94f9" cannot be delivered. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array. at
System.Workflow.ComponentModel.Serialization.ActivitySurrogate.ActivitySerializedRef.System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(Object sender) at System.Runtime.Serialization.DeserializationEventHandler.Invoke(Object sender) at System.Runtime.Serialization.ObjectManager.RaiseDeserializationEvent() at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fC...
RunWorkflow: System.ArgumentException: Item has already been added. Key in dictionary: 'e02d2b49-8fb9-4231-9920-c5683cc7bbaa' Key being added: 'e02d2b49-8fb9-
Engine RunWorkflow: System.Workflow.Activities.EventDeliveryFailedException: Event "OnTaskCreated" on interface type "Microsoft.SharePoint.Workflow.ITaskService" for instance id
"f81db9e3-7957-4520-bf3a-38ea198fd952" cannot be delivered. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.SharePoint.Workflow.SPWorkflowHostServiceBase.LoadInstanceData(Guid instanceId, Boolean& compressedData) at icrosoft.SharePoint.Workflow.SPWinOePersistenceService.LoadWorkflowInstanceState(Guid instanceId) at System.Workflow.Runtime.WorkflowRuntime.InitializeExecutor(Guid instanceId, CreationContext context, WorkflowExecutor executor, WorkflowInstance workflowInstance) at System.Workflow.Runtime.WorkflowRuntime.Load(Guid key, CreationCont.