ASP.net and workflowaborted

Hi,

I have a state machine which works fine until it reaches the Completed State. At this point, it doesn't complete, but the runtime raises the workflowaborted event after a long period. Where's the problem

I use SqlPersistenceService for persistence.

Thanks



Answer this question

ASP.net and workflowaborted

  • BhavikS

    Here is how I usually debug problems like this. Run the workflow in the debugger - but before do Ctrl-Alt-E - this brings up the exceptions dialog - check next to CLR Exceptions. This causes the debugger to break wherever there is an exception. Most likely there is an exception happening that isn't finding its way out.

  • akqajohn

    So should it be an exception thrown by my statemachine

    Should I run debugger in the workflow project or in the website

    Thanks very much


  • Bernd VanSkiver

    I was having a similar problem the other day... adding the SharedConnectionWorkflowTransactionService fixed the problem.

    See this post for more info: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=391453&SiteID=1

    Ken


  • FiftyFeet

    No exception is thrown.

    Could it be a problem with scheduler (I tried both manual and default scheduler services)


  • blahmoo64

    Thanks, that works!
  • devalapa_k

    I substituted the SqlPersistenceService with a FilePersistenceService and the workflows completes successfully, so there is a problem with the SqlPersistenceService.

    Any idea


  • nrs251

    Doing it in the website will work fine.

  • ASP.net and workflowaborted