joseph gugu

I have a StateMachine workflow published, which is also persisted. There are lots of instances based on this workflow.

Now I have to change the workflow(added an EventDriven item to the workflow) because of some reason.

But after chenged, instances already in the database can't be resumed. An 'IndexOutOfRange' Exception threwed out.

My WF version is beta 2

I want to learn how to resume the instaneces.

btw, I have read this post. I think it should be useful. but I don't know how to make workflow runtime to 'have access to the assemblies of all versions'. I also want to learn how to do this.

Thanks



Re: Windows Workflow Foundation IndexOutOfRange Exception after changing workflow definition

Tom Lake - MSFT

Take a look at the article at http://msdn2.microsoft.com/en-us/library/aa349375.aspx.




Re: Windows Workflow Foundation IndexOutOfRange Exception after changing workflow definition

joseph gugu

I've read the article. But I find that I don't know how to build the two versions.If I should do something with the config file,or create a new project in the solution

Thanks.






Re: Windows Workflow Foundation IndexOutOfRange Exception after changing workflow definition

Tom Lake - MSFT

In the AssemblyInfo.cs / vb file for your project update the following attribute:

[assembly: AssemblyVersion("1.0.0.0")] for C#

<Assembly: AssemblyFileVersion("1.0.0.0")> for VB






Re: Windows Workflow Foundation IndexOutOfRange Exception after changing workflow definition

joseph gugu

I changed the AssemblyVersion attribute in the AssemblyInfo.cs file. But There is a new Exception: System.Argument NullException. parameter name: profile at System.Workflow.Runtime.RTTrackingProfile. what should I do

Thanks