Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,


I was trying to get the Side by side workflow services to work ( followed the MSDN article.. http://msdn.microsoft.com/en-us/library/hh314045%28v=vs.110%29.aspx). Unfortunately my persisted workflows broke.. It has thrown very generic exception, given below..

System.ServiceModel.FaultException: The workflow has been aborted.

at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)

at System.ServiceModel.Activities.Dispatcher.ControlOperationInvoker.InvokeEnd(Object instance, Object[]& outputs, IAsyncResult result)

at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeEnd(MessageRpc& rpc)

at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage7(MessageRpc& rpc)

at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

Below are the steps..

I have developed the sample workflow service using framework 4.5 ( set the Definition Identity too )

named CusotmerService.xamlx.

Hosted in App fabric

Updated the persistence store schema too (SqlWorkflowInstanceStoreSchemaUpgrade.sql)


Before start making the changes to the existing workflow definition , done the following changes

Created the CustomerService ( as service name is CustomerService.xamlx) folder under App_Code and then moved the existing work defintion(CustomerService.Xamlx) to this folder.

And also renamed it to CustomerServiceV1.xamlx.

Then after that I have made changes to CustomerService.xamlx ( Added one extra Assign Activity)

Modified the Defintion Identity ( changed the version to 2.0.0.0)

Then I published my changes to IIS ( Publish) ( restarted the IIS too after published..)

As soon as I published my changes to IIS then the persisted workflows broke. New instances worked without any issues..

I'm not sure why it broke.. Is there any way to publish the side by side workflow services in IIS / Appfabric? Am I doing anything wrong here... Please advice me..


Appreciate your quick response..


Thanks

Deepa
Posted
Updated 26-Nov-12 23:11pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900