Video Screencast Help

dialog workflow message listener working in debug but not after publishing

Created: 07 Mar 2013 | 2 comments

hello everyone, anyone have any ideas on why a message listener on a dialog workflow component in a workflow project would work in debugger but not after publishing?  sending an empty message and calling the dialog by task ID.


Operating Systems:

Comments 2 CommentsJump to latest comment

rhamner's picture

Are you sure that your timeouts and escalations are working in general for this project or server? For example, if you set the timeout on the Dialog Workflow for a few minutes does that hit?

If not:

  1. Make sure timeouts and escalations are enabled in the Workflow Server settings.
  2. If you're using windows authentication on your virtual directory make sure HTTP Authentication is checked and user is supplied to the WebService Auto Invoke section of the Workflow Server Configuration settings

One easy way to check this is to browse to the projects's web service using http://localhost. Click on the CheckTimeoutsAndEscalations and Invoke. *Note that you have to be on the machine using localhost to invoke the method. If this makes everything work then likely one of the solutions above should fix the problem.

africo's picture

The message finally processed about an hour later.  Since that time, messages are going through almost immediately.  Not sure what the hangup was.  I restarted IIS and restarted server extensions as the first step in troubleshooting (along with deleting the existing published project, resetting the workflow cache, and republishing) and nothing happened.  after waiting the hour though, the process worked and has worked since.  i'm going to chalk it up as mischievous spirits and move on.

Thanks for the helps anyways rhamner.