[英]Workflow throwing error when changing site name in IIS
Initially our workflow configured under Test Site name and Test virtual directory name. 最初,我们的工作流是在“ 测试站点”名称和“ 测试虚拟目录”名称下配置的。 we are trying to rename Test Site to Default Web Site and workflow throwing below error for existing instances.
我们正在尝试将“测试网站”重命名为“默认网站”,并且工作流抛出现有实例以下错误。 I have updated the SiteName from Test to Default Web Site in ServiceDeploymentsTable table but still throwing same error.
我已将SiteName从“测试”更新为ServiceDeploymentsTable表中的“默认网站”,但仍然抛出相同的错误。 Is there a way i can update this site name as i want my workflow to run under Default Web Site.
有没有一种方法可以更新此站点名称,因为我希望我的工作流在“默认网站”下运行。
System.ServiceModel.FaultException: The execution of an InstancePersistenceCommand was interrupted because the instance key '0e168682-17c0-6395-e3d8-1057af08c935' was not associated to an instance.
System.ServiceModel.FaultException:InstancePersistenceCommand的执行被中断,因为实例密钥“ 0e168682-17c0-6395-e3d8-1057af08c935”未与实例相关联。 This can occur because the instance or key has been cleaned up, or because the key is invalid.
发生这种情况的原因可能是实例或密钥已经清除,或者密钥无效。 The key may be invalid if the message it was generated from was sent at the wrong time or contained incorrect correlation data.
如果从中生成密钥的消息在错误的时间发送或包含不正确的关联数据,则密钥可能无效。
This has to do with how correlation keys are calculated. 这与如何计算相关密钥有关。 See 1 for more information on that.
有关更多信息,请参见1 。
It uses the site name in the surrogate key creation so you'll have this problem with lookups. 它在代理密钥创建中使用站点名称,因此查找时会遇到此问题。 You can start new workflows on the Default Web Site, but old ones won't be able to do the correlation lookup.
您可以在“默认网站”上启动新的工作流程,但旧的工作流程将无法进行相关性查找。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.