Indigo Cowboy

Hi I have workflows that are persisted in sqlpersistenceservice database in state 1 that has eventdrivenactivity with handleexternaleventactivity that listens to ISeller interface event. I changed the code activity inside workflow class that is inside state 5(I have more that 30 states inside workflow, which means that workflows that are persisted didn't execute code activity that was changed). I deployed new version of workflow, and tried to execute handle external activity on persisted workflows in order to transfer them to state 2, but I receive this exception:

Message "Event Queue operation failed with MessageQueueErrorCode QueueNotFound for queue 'Message Properties\r\nInterface Type:Pexim.PDFlow.Workflow.ExternalActivities.ISeller\r\nMethod Name:SellerCarRecorded\r\nCorrelationValues:\r\n'."

STACK TRACE:

at System.Workflow.Runtime.WorkflowQueuingService.GetQueue(IComparable queueID)\r\n at System.Workflow.Runtime.WorkflowQueuingService.EnqueueEvent(IComparable queueName, Object item)\r\n at System.Workflow.Runtime.WorkflowExecutor.EnqueueItemOnIdle(IComparable queueName, Object item, IPendingWork pendingWork, Object workItem)\r\n at System.Workflow.Runtime.WorkflowInstance.EnqueueItemOnIdle(IComparable queueName, Object item, IPendingWork pendingWork, Object workItem)\r\n at System.Workflow.Activities.WorkflowMessageEventHandler.EventHandler(Object sender, ExternalDataEventArgs eventArgs)

As I said, i changed only code activity, I didn't add any new activities or state.

Can someone help me

Indigo Cowboy



Re: Windows Workflow Foundation Event Queue operation failed with MessageQueueErrorCode QueueNotFound for queue

Tom Lake

Did you change the version number when you made the change Is the old assembly still accessible to the runtime If you did change the version number and it is still accessible then your change should in no way effect any instances of the old type that are running. If you did not change the version and the old assembly is not accessible to the runtime and the new is then there will be error when the instance is reloaded.




Re: Windows Workflow Foundation Event Queue operation failed with MessageQueueErrorCode QueueNotFound for queue

Indigo Cowboy

Thanks !

Indigo Cowboy





Re: Windows Workflow Foundation Event Queue operation failed with MessageQueueErrorCode QueueNotFound for queue

Nizar

Indigo,

Were you able to solve this problem that you had faced I am faced with the exact same issue and am not sure how to proceed. Any pointers you could give me would be very much appreciated. Thanks!





Re: Windows Workflow Foundation Event Queue operation failed with MessageQueueErrorCode QueueNotFound for queue

jfkrueger

I have the same problem and i DID change the version number and all versions are available in the GAC. What the hell has anyone in the history of WF ever gotten it to work correctly when there are multiple versions of the workflow How can we get past this short of never changing our workflow




Re: Windows Workflow Foundation Event Queue operation failed with MessageQueueErrorCode QueueNotFound for queue

jfkrueger

Tom,

Please provide a resolution for this, it is crippling and if not resolved will result in us never using WF again. I have a workflow in production and need to update it. If I can't solve this issue I can never update my workflow which means it will be pretty much useless and I might as well quit using it. Please help.