Running Orchestration instances in Breakpoint RRS feed

  • Question

  • Hi,

    I have some occhestrations instances(same orchestration) (arround 1000), those are in Running state with Break point in production environment.

    I am clearing the messages by given step( for single orchestration instance.)
    Orchestration debugger - Debug -attach - continue

    Is there any way (or script), I can do it one go for all instance rather tan one by one.

    Thanks in advance.


    Tuesday, February 9, 2010 11:20 AM


All replies

  • Hi Surjit,

    You review this: I am not aware/know any script for this, maybe another forum member could help you on this.

    Kind Regards,

    Steef-Jan Wiggers
    BizTalk Server
    Tuesday, February 9, 2010 11:41 AM
  • Thanks Steef,

    Reviewed the article,It is a warning not to put class level breakpoint in production, human interaction is required to resume . For my case it is arround 1000 such instance ,Manually through orchestration debugger it will take lot of time so I though a script could help. Let me check in another forum.

    The breakpoint will be active for all subsequent messages. Messages can only be resumed through human interaction using the Orchestration Debugger.
    Class-level breakpoints should be used with caution in production environments, especially in high-volume environments. 


    Tuesday, February 9, 2010 1:24 PM
  • Hi Surjit,

    I thought of alternatives in your case, through using WMI or go into BizTalk databases to do some kind of automation done to remove the breakpoints for you instances. You could review this post:!2CEC2165026E6288!301.entry, it explains how to see status of running instances. You might be able to use WMI also to remove breakpoints. Might be worth to check out.

    Kind Regards,

    Steef-Jan Wiggers
    BizTalk Server
    Tuesday, February 9, 2010 2:08 PM
  • One way is to stop the orchestration that would suspend your messages. Then you can remove your breakpoints from HAT. The messages suspended will be in a resumable state. You can resume them again after removing breakpoints.

    Beware that before suspending all the instances do this on test for one message if it succeeds then go for production.

    Abdul Rafay - MVP & MCTS BizTalk Server
    Please mark this as answer if it helps.
    Tuesday, February 9, 2010 7:15 PM
  • Hi Surjit,

    I found a way of resuming the instances in breakpoint via .NET code. See this post:

    Thiago Almeida -
    • Proposed as answer by eliasen Wednesday, February 10, 2010 7:50 AM
    • Marked as answer by gsurjit Wednesday, February 10, 2010 3:22 PM
    Tuesday, February 9, 2010 8:44 PM