I have a standard WCF service workflow with several Persist actions (all created via UI drag and drop). Most of the persist actions succeed, but one fails.
Wrapping the failing Persist action in a Try/Catch block does not help - it just steps over the catch and terminates the workflow.
How do I find the specific reason why the persist failed? Is any exception logged anywhere?
I'm developing on Windows XP.
To get the specific details of the underlying error, run the workflow in debug mode (or attach to w3wp.exe). In Visual Studio, make sure that the "Just My Code" option is NOT enabled in Debug > Options and Settings and make sure you enable Debug > Exceptions > Common Language Runtime Exceptions. Then the IDE will give you the error when you step through.
Thing is - you can't do this on a production server, so not sure how you would get detailed error information in production, if only a high level message is given in the tracking event.