Work Flow 4.0 Exception Handling RRS feed

  • Question

  • HI,

    I have 2 activities in a sequence. In activity1 (im using Invoke method and connecting to DB). Every thing works fine. When I intentionally changed the DB connection string to some false connection string, I m getting error at Work Flow Invoke method.

    Execution point is not even entering into Activity1. WF is giving error at start point only. How does WF know where the error even before it entered into the WF?

    Friday, August 20, 2010 3:34 PM


  • Have you set up workflow debugging properly, so you can see breakpoints being hit in the workflow?


    If so, go ahead and post your host/workflow code so we can get a better look at what might be happening- are you using the connection string for persistence, or just within the activities themselves?

    • Marked as answer by Andrew_Zhu Friday, August 27, 2010 7:03 AM
    Friday, August 20, 2010 5:13 PM