Workflow with id xxxxx not found in state persistence store

  • Thread starter Thread starter linux2k8
  • Start date Start date
L

linux2k8

Hi,

I'm testing Web Approval Starter Kit with Visual Studio 2005 over Windows XP
SP2, .NET Framework 3.0 & 3.5 versions installed.

When try to complete an activity, the following error araises:


System.InvalidOperationException was unhandled by user code
Message="Workflow with id \"47773eee-c181-44a9-b045-30f5b7b1de51\" not
found in state persistence store."
Source="System.Workflow.Runtime"



Any idea?



Thanks in advance
 
Assume you use default SQL Server persisence provider. Use a SQL Server
management tool, such as SSMS to open the database (WorkflowPersistence),
and then open the table dbo.InstanceState. You can then verify if the
workflow's instance ID exists in the table (column "uidInstanceID"). If not,
that means the not-completed Workflow instance did not get persisted for
some reason when the workflow runtime is stopped.

The reason could be when you do the testing, the testing app was not
finished normally. Or you modified the workflow design...
 
Back
Top