System.Workflow.Activities.EventDeliveryFailedException - makes me nuts

Topics: Web Client Software Factory
Jan 13, 2008 at 9:36 PM
Hi guys,
can someone give me an idea what could be wrong? I've triple checked everything and still not working... Argh!:)

Thanks,
Nikola

System.Workflow.Activities.EventDeliveryFailedException was unhandled by user code
Message="Event \"GetData\" on interface type \"Microsoft.Practices.PageFlow.WorkflowFoundation.IDataExchangeService\" for instance id \"09c3716c-89e0-4451-a38b-b329f50b71fd\" cannot be delivered."
Source="System.Workflow.Activities"
StackTrace:
at System.Workflow.Activities.WorkflowMessageEventHandler.EventHandler(Object sender, ExternalDataEventArgs eventArgs)
at Microsoft.Practices.PageFlow.WorkflowFoundation.DataExchangeService.Get(Guid instanceId, String key) in D:\Documents\Documents\Visual Studio 2005\Projects\WCSF Source\Blocks\PageFlow\Source\PageFlow.WorkflowFoundation\DataExchangeService.cs:line 91
at Microsoft.Practices.PageFlow.WorkflowFoundation.WorkflowFoundationPageFlowState.Get(String key) in D:\Documents\Documents\Visual Studio 2005\Projects\WCSF Source\Blocks\PageFlow\Source\PageFlow.WorkflowFoundation\WorkflowFoundationPageFlowState.cs:line 119
at Microsoft.Practices.PageFlow.WorkflowFoundation.WorkflowFoundationPageFlowState.Contains(String key) in D:\Documents\Documents\Visual Studio 2005\Projects\WCSF Source\Blocks\PageFlow\Source\PageFlow.WorkflowFoundation\WorkflowFoundationPageFlowState.cs:line 101
at Products.ProductsController.get_Products() in D:\VusCode\p4\Documents\Sessions\ProductsACME\Products\ProductsController.cs:line 27
at Products.Views.ProductListPresenter.OnViewLoaded() in D:\VusCode\p4\Documents\Sessions\ProductsACME\Products\Views\ProductListPresenter.cs:line 18
at ProductsACME.Products.Views.ProductList.Page_Load(Object sender, EventArgs e) in D:\VusCode\p4\Documents\Sessions\ProductsACME\WebSites\DevelopmentWebsite\Products\ProductList.aspx.cs:line 22
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
InnerException: System.Workflow.Runtime.QueueException
Message="Event Queue operation failed with MessageQueueErrorCode QueueNotFound for queue 'Message Properties\r\nInterface Type:Microsoft.Practices.PageFlow.WorkflowFoundation.IDataExchangeService\r\nMethod Name:GetData\r\nCorrelationValues:\r\n'."
Source="System.Workflow.Runtime"
StackTrace:
at System.Workflow.Runtime.WorkflowQueuingService.GetQueue(IComparable queueID)
at System.Workflow.Runtime.WorkflowQueuingService.EnqueueEvent(IComparable queueName, Object item)
at System.Workflow.Runtime.WorkflowExecutor.EnqueueItem(IComparable queueName, Object item, IPendingWork pendingWork, Object workItem)
at System.Workflow.Runtime.WorkflowInstance.EnqueueItem(IComparable queueName, Object item, IPendingWork pendingWork, Object workItem)
at System.Workflow.Activities.WorkflowMessageEventHandler.EventHandler(Object sender, ExternalDataEventArgs eventArgs)
InnerException:
Jan 13, 2008 at 9:46 PM
Just solved the mystery: Workflow was not running at the time I was accessing UserData


May 20, 2008 at 9:58 AM
Edited May 20, 2008 at 12:38 PM
Hi malovicn,

I am totally lost here with this PageFlow Application Block. You say that your workflow is not running. Can you eloborate? I am getting the same error and were following the WCSF HOL 2007 on the WCSF 2.0 release and boy been hitting every error in the book. Are you suppose to create some kind of service for WF to run?