Exception thrown while loading an instance using WorkflowApplication RRS feed

  • Question

  • Hi,

    The code was loading the instance using WorkflowApplication and received the following exception. What could be the cause and remedy for the exception. The code is executing on a Form of WindowsFormApplication and I am using ManualresetEvent to wait till the workflow goes idle.

    The execution of an InstancePersistenceCommand was interrupted because another valid InstanceHandle holds a lock on instance '08394b29-447f-47da-9b9c-7a7db0559925', indicating that a non-stale copy of the instance is already loaded. The loaded copy of the instance and its associated InstanceHandle should be used or unloaded.


    Friday, June 4, 2010 5:51 AM