Workflow 4.5 DefinitionIdentity problem

Workflow 4.5 DefinitionIdentity problem

Postby EmilyFong » Thu 22 Nov 2012 04:17

Hi,

We are using dotConnect for Oracle 6.80.350 for workflow service.
Currently, we would like to move from WF 4.0 to WF 4.5. We use the same workflow service (xamlx file) as we used in WF 4.0, but adding the DefinitionIdentity with version number in the workflow service.
Then, after we copied the file to IIS and browse it in IE, we found the following error. How can we fix it?

The execution of an InstancePersistenceCommand was interrupted because the instance owner registration has become invalid. This error indicates that the in-memory copy of all instances locked by this owner have become stale and should be discarded, along with the InstanceHandles. Typically, this error is best handled by restarting the host.


The configuation is as following:

<behavior>
<oracleInstanceStore connectionString="xxxxx" instanceEncodingOption="GZip" instanceLockedExceptionAction="AggressiveRetry" hostLockRenewalPeriod="00:00:30" instanceCompletionAction="DeleteNothing" runnableInstancesDetectionPeriod="00:00:02"/>
<workflowIdle timeToPersist="0" timeToUnload="0"/>
<oracleTracking connectionString="xxxxx" profileName="Tracking Profile"/>
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="true"/>
</behavior>


The DefinitionIdentity in xamlx as following:

<WorkflowService mc:Ignorable="sads sap sap2010" mva:VisualBasic.Settings="{x:Null}" ConfigurationName="WorkflowServiceTemplate" DefinitionIdentity="WorkflowServiceTemplate; Version=1.0.0.0" sap2010:WorkflowViewState.IdRef="WorkflowService_1" Name="WorkflowServiceTemplate"
....>


Thanks!
EmilyFong
 
Posts: 12
Joined: Sun 20 May 2012 04:25

Re: Workflow 4.5 DefinitionIdentity problem

Postby Shalex » Wed 28 Nov 2012 11:09

Thank you for your report. We have reproduced the problem and are investigating it. As a temporary workaround, please avoid using the WorkflowService.DefinitionIdentity property.

We will post here about the results of our investigation.
Shalex
Devart Team
 
Posts: 7530
Joined: Thu 14 Aug 2008 12:44

Re: Workflow 4.5 DefinitionIdentity problem

Postby Shalex » Fri 05 Apr 2013 12:32

New version of dotConnect for Oracle 7.7 is released!
It can be downloaded from http://www.devart.com/dotconnect/oracle/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=1&t=26313. This version supports Workflow Foundation 4.5.
Shalex
Devart Team
 
Posts: 7530
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle