简体   繁体   English

在IIS中更改站点名称时工作流引发错误

[英]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. 您可以在“默认网站”上启动新的工作流程,但旧的工作流程将无法进行相关性查找。

SO: Workflow correlation issues on Azure SO:Azure上的工作流关联问题

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

相关问题 为什么IIS网站在添加站点名称时不起作用 - Why IIS web site not working when adding Site name 站点的状态属性在IIS Express中抛出“NotImplementedException” - State property of Site throwing “NotImplementedException” in IIS Express 自定义Sharepoint工作流抛出“WinWF内部错误,终止工作流”错误 - Custom Sharepoint Workflow throwing “WinWF Internal Error, terminating workflow” error 即使更改代码,Visual Studio 似乎也会抛出错误 - Visual Studio seems to be throwing an error even when changing the code 连接到远程完整IIS服务器(Visual Studio 2013)时ServerManager引发错误 - ServerManager is throwing error when connecting to a remote full IIS server (Visual Studio 2013) 获取 IIS 网站应用程序名称 - Get IIS Web Site Application Name 使用代码检查 IIS 上托管的站点名称 - check the site name hosted on IIS using code IIS更改错误页面响应 - IIS Changing Error Page Responses 在 IIS 的“默认网站”中添加应用程序时出现 404 错误(版本 10) - 404 error when add application in "Default web site" in IIS (Version 10) 在IIS中运行站点时从“ CompiledAssembly”获取值时出错,在Visual Studio中可以正常运行 - Error getting value from 'CompiledAssembly' when running site in IIS, fine within Visual Studio
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM