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

  • satnik12

    Doing it in the website will work fine.

  • brownmb

    No exception is thrown.

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


  • Prakash Jha

    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.

  • Jonas Folleso

    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


  • TheBigIrishman

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

    Any idea


  • Brian Leslie

    Thanks, that works!
  • SrikanthR

    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


  • ASP.net and workflowaborted