Hi
I have a workflow which includes several web services input activities.
This workflow is hosted of course by asp.net as a web service. (I use the VS2005 web server CASINI for now)
I want to use sql persistence service . So in web.config I wrote:
<WorkflowRuntime Name="WorkflowServiceContainer">
<CommonParameters>
<add name="ConnectionString" value="Data Source=.;Initial Catalog=WorkflowPersistenceStore;Integrated Security=True"/>
</CommonParameters>
<Services>
<add type="System.Workflow.Runtime.Hosting.ManualWorkflowSchedulerService, System.Workflow.Runtime, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add type="System.Workflow.Runtime.Hosting.DefaultWorkflowCommitWorkBatchService, System.Workflow.Runtime, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add type="System.Workflow.Runtime.Hosting.SqlWorkflowPersistenceService, System.Workflow.Runtime, Version=3.0.00000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
UnloadOnIdle="true"/>
</Services>
</WorkflowRuntime>
But when persistence should happen I get the following exception:
Workflow with id "XXX" not found in state persistence store.
for workflows that are hosted in a self host I have no trouble using the persistance service, but when the host is asp.net it looks like it does not reach the persistence database.
I thought about permissions problem but it did not lead me anywhere.
In examples I saw I did not see anything special that should be done for persistence service under web service workflow.
Any Ideas
Thanks
manu cohen-yashar