Workflow with id xxxxx not found in state persistence store

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
 
N

Norman Yuan

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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top