Microsoft Windows Server 2003 Enterprise Edition SP2
Intel Xeon CPU
E7330 @ 2.40 GHz
2.00 GB of RAM
.Net Framework 2. SP2
.Net Framework 3. SP2
.Net Framework 3.5 SP1
WSS 3.0 Service Pack 3.0
MOSS 2007 Service Pack 2.0
Behaviour:
A Workflow we are developing has tempremental problems that appear to be
based around the OnTaskCreated event.
Sometimes during the workflows life the workflow stops working and never
recovers. This appears to be happening around the OnTaskCreated event.
Randomly the workflow will run and debug at other times the workflow seems
to stop working.
If I need to supply more information please let me know.
I would like assistance how to progress with this workflow, with particular
attention to how I can resolve this problem.
Example During debug
{"Event \"OnTaskCreated\" on interface type
\"Microsoft.SharePoint.Workflow.ITaskService\" for instance id
\"ccf4e8d0-e59b-4526-88ca-b30e633e85a6\" cannot be delivered."}
Example ULS:
10/30/2009 14:00:47.26 w3wp.exe (0x1508)
0x117C Windows SharePoint Services Workflow Infrastructure
936l High
Engine RunWorkflow:
System.Workflow.Activities.EventDeliveryFailedException: Event
"OnTaskCreated"
on interface type "Microsoft.SharePoint.Workflow.ITaskService" for
instance id "ccf4e8d0-e59b-4526-88ca-b30e633e85a6"
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
Microsoft.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...
10/30/2009 14:00:47.26* w3wp.exe (0x1508)
0x117C Windows SharePoint Services Workflow Infrastructure
936l High
...ext context, WorkflowInstance workflowInstance) at
System.Workflow.Runtime.WorkflowRuntime.GetWorkflow(Guid instanceId)
at
System.Workflow.Activities.WorkflowMessageEventHandler.EventHandler(Object
sender, ExternalDataEventArgs eventArgs)
--- End of inner exception stack trace ---
at
System.Workflow.Activities.WorkflowMessageEventHandler.EventHandler(Object
sender, ExternalDataEventArgs eventArgs)
at
Microsoft.SharePoint.Workflow.SPWinOETaskService.RaiseEvent(SPWinOeWorkflow
workflow, SPWorkflowEvent workflowEvent,
Object workItem, IPendingWork workHandler) at
Microsoft.SharePoint.Workflow.SPWinOeHostServices.Send(SPWinOeWorkflow
winoeworkflow, SPWorkflowEvent e)
at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(Guid
trackingId, SPWorkflowHostService ho...
10/30/2009 14:00:47.26* w3wp.exe (0x1508)
0x117C Windows SharePoint Services Workflow Infrastructure
936l High
...st, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut)
10/30/2009 14:00:47.26 w3wp.exe (0x1508)
http://support.microsoft.com/kb/970548
I had it working on a project, then it stopped working for no
apparent
reason. There is no fix.
> Microsoft.SharePoint.Workflow.SPWorkflowHostServiceBase.LoadInstanceData(Guid
> instanceId, Boolean& compressedData)
> at
> Microsoft.SharePoint.Workflow.SPWinOePersistenceService.LoadWorkflowInstanceState(Guid instanceId)
This leaves me with lots of problems.
I am trying to send mails to additional task approvers right after the task
has completed. I need the task to have rehydrated and to exist in order to
set up specific task emails that look identical to original email.
Other issues with this is I am unable to secure a new task with either the
hybrid dictionary method or just plain list item security methods.
In the List method I get the Ontaskcreated can not be delivered
In the Hybrid dictionary method I get the OnTaskChanged can not be delivered.
Sharepoint has introduced me to a new level of difficulty.
Should it be this hard!
"spconsultant" wrote:
> .
>