Workflow Soluiton

 View Only
  • 1.  Wait for All Workflow Components

    Posted Mar 06, 2012 11:11 AM

    I am working on a process that has multiple dialogs.  I want the multiple dialogs to move to the "Wait for All Workflow Components (merge) component before moving to another diaglog.  In the debugger, this process works.  When I publish out the project, the project hangs at the "Wait...." component.

    I didn't change anything in the component and under the passive merging tab, the check passive completion is checked and the check time span is set to 2 minutes.

    Can anyone provide any help?  Am I actually using the correct "Wait...." component - I tried the "Wait for Specified Workflow Compoents in Model" and that didn't work either.

    Thanks. 



  • 2.  RE: Wait for All Workflow Components

    Posted Mar 06, 2012 11:26 AM

    Are you using IIS Authentication in your project? If so, you will need to change the Authenticaion on the .ASMX web service files to Anonymous. If auth is the problem, the issue is that the web page is trying to execute, but it can't since it cannot authenticate to IIS. Setting the ASMX files to Anon will clear this error.

    The reason it works in debug is that it is running under your user context and thus CAN authenticate.

     

    rob



  • 3.  RE: Wait for All Workflow Components

    Posted Mar 06, 2012 11:54 AM

    Rob,

    This makes sense what you are saying but I am pulling the information of the user logged onto the machine and then pre-populating that way.  If the change the auth to anonymous, I have a feeling the project would not load at all.

    Can you actually change auth on certain files in IIS inside a site?

    Thanks



  • 4.  RE: Wait for All Workflow Components

    Posted Mar 06, 2012 01:07 PM

    yes you can change the Auth on just individual files.

     

    In IIS 7, go to the virtual directory in Inetmgr.exe.

    Click on Content View at the bottom of the screen. Click on the individual file and then click  Features View.

    The file should be selected, and now you can set the auth on individual items.

     

    Set the auth to Anonymous on all the .ASMX files.

     In IIS6, just right click on the file in InetMgr and select properties. Under Direcotry security you can set auth to Anon.

    rob



  • 5.  RE: Wait for All Workflow Components

    Posted Jun 13, 2012 09:43 AM

    It works fine for me. It took like 50 min to take effect even though I restarted whole Default Web Site on IIS. But since then it works like a charm:)

    Thanks,

    Vlastik