Workflow State not changing in asp.net
i m trying to change the state for workflow from one state to another on button click its working fine w开发者_如何学编程ith windows but not with web application and its instance id does not persist i have used SqlWorkflowPersistenceService also. what can b the solution for this.
thanks
Hmm...a little more detail would be useful...unfortunately my reputation does not allow me to comment yet, so I will post advice as an answer:
If your persistence service is not working on the web application then I would strongly suggest that this is a database connectivity issue.
What is the connection string that you're using for the persistence service?
What are the security settings on the web application?
Which user does the application pool run as?
Check the logs on the SQL Server - are there any errors there regarding login failures etc?
As you're hosting the WF Runtime under IIS then it's definitely worth making sure of these things.
精彩评论