VS2010工作流程错误
我正在尝试运行微软工作流程软件的示例。我在一行中收到以下错误:
wsh.Description.Behaviors.Add(new SqlWorkflowInstanceStoreBehavior(ApprovalProcessDBConnectionString));
WorkflowIdleBehavior wib = new WorkflowIdleBehavior();
wib.TimeToUnload = new TimeSpan(0, 0, 2);
wsh.Description.Behaviors.Add(wib);
wsh.Open(); <-- error: The InstanceStore could not be initialized.
任何人都可以帮助我吗?
i m trying to run an example of microsoft workflow software. I get the following error in a line:
wsh.Description.Behaviors.Add(new SqlWorkflowInstanceStoreBehavior(ApprovalProcessDBConnectionString));
WorkflowIdleBehavior wib = new WorkflowIdleBehavior();
wib.TimeToUnload = new TimeSpan(0, 0, 2);
wsh.Description.Behaviors.Add(wib);
wsh.Open(); <-- error: The InstanceStore could not be initialized.
Can anyone help me?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
听起来您需要运行几个查询才能在数据库中设置 InstanceStore。
查找:
在文件夹中:
只需在您通过 ApprovalProcessDBConnectionString 连接到的任何数据库上运行这两个查询。
Sounds like you need to run a couple of queries to set up an InstanceStore in your database.
Look for:
in the folder:
Just run those two queries on whatever database you're connecting to via your ApprovalProcessDBConnectionString.