简体   繁体   English

无法在WorkFlowApplication主机中加载持久性WorkFlow实例-WF 4.5

[英]Unable to Load Persisted WorkFlow Instance in WorkFlowApplication Host - WF 4.5

I am trying to Load a persisted Workflow in order to resume a Bookmark in my process but I keep getting the error: "An instance ID has been generated for the WorkflowApplication because the 'Id' property was read. WorkflowApplication cannot be used to load an instance once an ID has been generated." 我试图加载一个持久化的工作流以便在我的流程中恢复书签,但是我不断收到错误消息:“由于读取了'Id'属性,已经为WorkflowApplication生成了实例ID。WorkflowApplication无法用于加载ID生成后立即进入实例。” I am using Windows Workflow 4.5. 我正在使用Windows Workflow 4.5。 The workflow creation works and the records are correctly persisted in the SQL database but the resume fails when I try to load the instance. 工作流创建工作正常,记录已正确保存在SQL数据库中,但是当我尝试加载实例时,恢复失败。 Please can you help me resolve this? 请您能帮我解决这个问题吗?

这是由于在Visual Studio的“监视”窗口中具有Instance.Id引起的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM