Friday, February 14, 2014

BizTalk: Message is stuck with Ready to run status at Dynamic send port

Problem Statement:


A simple dynamic port in an orchestration that writes a file to a file location. Here is the configuration

MyDynamicSendPort(Microsoft.XLANGs.BaseTypes.Address) = "FILE://c:\\TestFolder\\Out\\Test.xml";

When I run this orchestration, the dynamic port does not write the file to the folder, however It does not show any error either. It is always in "Ready to Run" state where the message is "Queued Awaiting".
 It seems that Message is stuck with Ready to run status at Dynamic send port

Solution:

It is probably because of following reasons:

1. Default Host instance is not started.
or if started then
2. Default Host is not configured as Send Handler under corresponding Adapter (FILE in this case).


Concept behind BizTalk Dynamic Send Port:

Dynamic ports  in BizTalk always run under the default host instance, this is the internal server level logic as it is the only way BizTalk internals can guarantee that a BizTalk Hosts instance  is actually present.


Regards
Kundan












1 comment:

  1. Thank You Very much, I had the same issue and i solved it using the above steps.

    ReplyDelete