Okay, so for the record I was getting this same exception when accessing the SqlTrackingWorkflowInstance.ActivityEvents property and when I cleared the contents of the tacking database it went away :-).
So thanks to Shawn and Ranjesh for sharing this discussion.
Does this mean, though, that if I change the definition of my workflow in any way and I don't re-version the assembly that it contains then I will need to clear the tracking database? Or have I misunderstood something?
thanx -- /chris
|