Workflow Exception

i get this error when i try it to fire event  on statemachine workflow

{"Event \"MyEvent\" on interface type \"IService\" for instance id \"679c2cb7-371a-4c19-af1c-9b91b72558ee\" cannot be delivered."}

{"The object with ID 144 implements the IObjectReference interface for which all dependencies cannot be resolved. The likely cause is two instances of IObjectReference that have a mutual dependency on each other."}

does anyone know what is the problem

 



Answer this question

Workflow Exception

  • ATAMAN

    Thanks for your reply actually i fixed it

    The problem is my state workflow was refrence a normal interface then i moved my interface to a separate solution and i changed all the refrences with the new one but because i presist the workflow the presistance is a little smart  everytime i load the instances keep refrence to the old interface even if when i create new instance  i truncate the presistance DB and start the workflow again and it works fine so is there's any way to update this refrences on the DB


  • Greg3055

    I am assuming you are using a windows host for the state machine workflow. If so, you might be running into a case where you are sending a message to a state before the workflow reaches that state and hence gives throws this exception (most of the cases I have seen). Please see post : http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=344911&SiteID=1 for a discussion on this.

    Let me know if that helps...

    _Vignesh



  • Workflow Exception