Value does not fall within the expected range, when starting application
Roni was phased by this one for a while, and I didn’t have a clue either, but starting an application which had worked just fine and to which he simply added another orchestration failed with the error -
Could not enlist orchestration <type details here>.
Could not enlist orchestration <type details here>. Value does not fall within the expected range
Turns out there’s a bug in BizTalk 2006 that prevents orchestrations from enlisting if not all orchestrations in an application are configured to run on the same host.
Very unlikely to be the case, which – I guess – is why we haven’t seen this so far; in fact, even now this is only the case because we don’t really care about the configured host, this value will never be used - When you ‘call’ an orchestration, as opposed to ‘start’-ing an orchestration, the host of the calling orchestration is used, regardless of what’s configured in the admin console.
For that reason Roni had left the default host in place, instead of changing it to the one hosting the other orchestrations in the application, which had surfaced this bug.
In any case – a kb, and a hotfix, does exist, and you can find it here