<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Eric's BizTalk &amp; HL7 blog</title>
        <link>http://blog.hl7-info.com/Default.aspx</link>
        <description>Experiences with BizTalk and HL7</description>
        <language>en-US</language>
        <copyright>Eric Stott</copyright>
        <managingEditor>eric@stottcreations.com</managingEditor>
        <generator>Subtext Version 1.9.3.51</generator>
        <image>
            <title>Eric's BizTalk &amp; HL7 blog</title>
            <url>http://blog.hl7-info.com/images/RSS2Image.gif</url>
            <link>http://blog.hl7-info.com/Default.aspx</link>
            <width>77</width>
            <height>60</height>
        </image>
        <item>
            <title>Preserve Order while mapping</title>
            <link>http://blog.hl7-info.com/archive/2008/08/28/Preserve_Order_while_mapping.aspx</link>
            <description>&lt;p&gt;There is the issue of the behavior of the mapping process creates invalid XML.&lt;/p&gt;  &lt;p&gt;The input instance looks like this:&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;div style="padding-right: 0px; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px; display: inline" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:eff36e78-ffba-41e9-8152-8a4fe165276b" class="wlWriterSmartContent"&gt;&lt;pre style="background-color:White;;overflow: auto;"&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;xml&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
 &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;loopA &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;/&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
 &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;loopB &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;/&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
 &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;loopA &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;/&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
 &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;loopB &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;/&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;xml&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;However, when using the mapper, you create your output and it ends up looking like this:&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;div style="padding-right: 0px; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px; display: inline" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:0e6158d3-1687-492c-bf41-0bc8e9692592" class="wlWriterSmartContent"&gt;&lt;pre style="background-color:White;;overflow: auto;"&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;xml&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
 &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;loopA &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;/&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
 &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;loopA &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;/&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
 &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;loopB &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;/&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
 &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;loopB &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;/&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;xml&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;How to get this to work (&lt;strong&gt;only in R2&lt;/strong&gt;) is to open up the btm file and change the following attribute from its default value of No to Yes in the &lt;strong&gt;mapsource&lt;/strong&gt; element&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;PreserveSequenceOrder&lt;/strong&gt;="No"&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;div style="padding-right: 0px; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; width: 1125px; padding-top: 0px; display: inline" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:807aa1d4-3d93-4074-a205-10afcf80b4e9" class="wlWriterSmartContent"&gt;&lt;pre style="background-color:White;;overflow: auto;"&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;mapsource &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;Name&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="BizTalk Map"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; BizTalkServerMapperTool_Version&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="2.0"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; Version&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="2"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; XRange&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="100"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; YRange&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="420"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; OmitXmlDeclaration&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="Yes"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; TreatElementsAsRecords&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="No"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; OptimizeValueMapping&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="No"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; GenerateDefaultFixedNodes&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="Yes"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; PreserveSequenceOrder&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="No"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; CopyPIs&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="No"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; method&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="xml"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; xmlVersion&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="1.0"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; IgnoreNamespacesForLinks&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="Yes"&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;

&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;Here is the new code:&lt;/p&gt;

&lt;div style="padding-right: 0px; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px; display: inline" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:3cfbcf82-021b-4431-a2fc-73dcee0c2cab" class="wlWriterSmartContent"&gt;&lt;pre style="background-color:White;;overflow: auto;"&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;mapsource &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;Name&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="BizTalk Map"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; BizTalkServerMapperTool_Version&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="2.0"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; Version&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="2"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; XRange&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="100"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; YRange&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="420"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; OmitXmlDeclaration&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="Yes"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; TreatElementsAsRecords&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="No"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; OptimizeValueMapping&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="No"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; GenerateDefaultFixedNodes&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="Yes"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; PreserveSequenceOrder&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="Yes"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; CopyPIs&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="No"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; method&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="xml"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; xmlVersion&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="1.0"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; IgnoreNamespacesForLinks&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="Yes"&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;

&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;&lt;img src="http://blog.hl7-info.com/aggbug/283.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Eric Stott</dc:creator>
            <guid>http://blog.hl7-info.com/archive/2008/08/28/Preserve_Order_while_mapping.aspx</guid>
            <pubDate>Thu, 28 Aug 2008 19:36:16 GMT</pubDate>
            <wfw:comment>http://blog.hl7-info.com/comments/283.aspx</wfw:comment>
            <comments>http://blog.hl7-info.com/archive/2008/08/28/Preserve_Order_while_mapping.aspx#feedback</comments>
            <wfw:commentRss>http://blog.hl7-info.com/comments/commentRss/283.aspx</wfw:commentRss>
            <trackback:ping>http://blog.hl7-info.com/services/trackbacks/283.aspx</trackback:ping>
        </item>
        <item>
            <title>Online Support</title>
            <link>http://blog.hl7-info.com/archive/2008/08/11/Online_SupportAgain.aspx</link>
            <description>&lt;p&gt;I have just installed an online support link on the right of the blog. Seeing how it works. Try it out!&lt;/p&gt;&lt;img src="http://blog.hl7-info.com/aggbug/264.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Eric Stott</dc:creator>
            <guid>http://blog.hl7-info.com/archive/2008/08/11/Online_SupportAgain.aspx</guid>
            <pubDate>Mon, 11 Aug 2008 12:19:17 GMT</pubDate>
            <wfw:comment>http://blog.hl7-info.com/comments/264.aspx</wfw:comment>
            <comments>http://blog.hl7-info.com/archive/2008/08/11/Online_SupportAgain.aspx#feedback</comments>
            <wfw:commentRss>http://blog.hl7-info.com/comments/commentRss/264.aspx</wfw:commentRss>
            <trackback:ping>http://blog.hl7-info.com/services/trackbacks/264.aspx</trackback:ping>
        </item>
        <item>
            <title>Online Support</title>
            <link>http://blog.hl7-info.com/archive/2008/08/11/Online_Support.aspx</link>
            <description>&lt;p&gt;I have just installed an online support link on the left of the blog. Seeing how it works. Try it out!&lt;/p&gt;&lt;img src="http://blog.hl7-info.com/aggbug/262.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Eric Stott</dc:creator>
            <guid>http://blog.hl7-info.com/archive/2008/08/11/Online_Support.aspx</guid>
            <pubDate>Mon, 11 Aug 2008 12:08:47 GMT</pubDate>
            <wfw:comment>http://blog.hl7-info.com/comments/262.aspx</wfw:comment>
            <comments>http://blog.hl7-info.com/archive/2008/08/11/Online_Support.aspx#feedback</comments>
            <wfw:commentRss>http://blog.hl7-info.com/comments/commentRss/262.aspx</wfw:commentRss>
            <trackback:ping>http://blog.hl7-info.com/services/trackbacks/262.aspx</trackback:ping>
        </item>
        <item>
            <title>HL7 Message Encoding</title>
            <link>http://blog.hl7-info.com/archive/2008/08/06/HL7_Message_Encoding.aspx</link>
            <description>&lt;p&gt;To extend what I wrote about for the &lt;a href="http://blog.hl7-info.com/archive/2008/04/30/Encoding_for_HL7_messages.aspx" target="_blank"&gt;Encoding for HL7 messages post&lt;/a&gt;. There are two values that are used for the Message Encoding context properties. It isn't obvious but follow the logic:&lt;/p&gt;  &lt;p&gt;According to &lt;a href="http://msdn.microsoft.com/en-us/library/bb945593.aspx" target="_blank"&gt;Extended Encoding Support&lt;/a&gt; page in the Note section of step 5 you can only choose Western European or UTF8, so if I look at the &lt;a href="http://msdn.microsoft.com/en-us/library/system.text.encoding.aspx" target="_blank"&gt;Encoding Class documentation&lt;/a&gt;, the table below are the values you can use:&lt;/p&gt;  &lt;table cellspacing="1" cellpadding="2" width="366" border="1"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="104"&gt;&lt;strong&gt;Value To Set&lt;/strong&gt;&lt;/td&gt;        &lt;td valign="top" width="72"&gt;&lt;strong&gt;Name&lt;/strong&gt;&lt;/td&gt;        &lt;td valign="top" width="184"&gt;&lt;strong&gt;Display&lt;/strong&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="105"&gt;65001&lt;/td&gt;        &lt;td valign="top" width="76"&gt;utf-8&lt;/td&gt;        &lt;td valign="top" width="184"&gt;Unicode (UTF-8)&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="105"&gt;850&lt;/td&gt;        &lt;td valign="top" width="79"&gt;ibm850&lt;/td&gt;        &lt;td valign="top" width="184"&gt;         &lt;p&gt;Western European (DOS) &lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;&lt;img src="http://blog.hl7-info.com/aggbug/259.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Eric Stott</dc:creator>
            <guid>http://blog.hl7-info.com/archive/2008/08/06/HL7_Message_Encoding.aspx</guid>
            <pubDate>Wed, 06 Aug 2008 21:51:13 GMT</pubDate>
            <wfw:comment>http://blog.hl7-info.com/comments/259.aspx</wfw:comment>
            <comments>http://blog.hl7-info.com/archive/2008/08/06/HL7_Message_Encoding.aspx#feedback</comments>
            <wfw:commentRss>http://blog.hl7-info.com/comments/commentRss/259.aspx</wfw:commentRss>
            <trackback:ping>http://blog.hl7-info.com/services/trackbacks/259.aspx</trackback:ping>
        </item>
        <item>
            <title>Event ID 5720, BTAHL7Schemas.MessageEncoding</title>
            <link>http://blog.hl7-info.com/archive/2008/08/05/Event_ID_5720_BTAHL7Schemas.MessageEncoding.aspx</link>
            <description>&lt;p&gt;In a follow up to my initial &lt;a href="http://blog.hl7-info.com/archive/2008/04/30/Encoding_for_HL7_messages.aspx" target="_blank"&gt;discovery of the new context property&lt;/a&gt; (&lt;a href="http://msdn.microsoft.com/en-us/library/btahl7schemas.messageencoding.aspx" target="_blank"&gt;largely undocumented&lt;/a&gt; as far as I can tell) called &lt;strong&gt;BTAHL7Schemas.MessageEncoding&lt;/strong&gt; we were converting a working process from 2004 to 2006 R2 and we started getting this error:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Event Type: Error      &lt;br /&gt;Event Source: BizTalk Server 2006       &lt;br /&gt;Event Category: BizTalk Server 2006       &lt;br /&gt;Event ID: 5720       &lt;br /&gt;Date: &lt;var&gt;Date&lt;/var&gt;       &lt;br /&gt;Time: &lt;var&gt;Time&lt;/var&gt;       &lt;br /&gt;User: N/A       &lt;br /&gt;Computer: &lt;var&gt;ComputerName&lt;/var&gt;       &lt;br /&gt;Description:       &lt;br /&gt;There was a failure executing the send pipeline: "BTAHL72XPipelines.BTAHL72XSendPipeline, BTAHL72XPipelines, Version=1.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source: "BTAHL7 2.X Assembler" Send Port: "MLLPSendPort" URI: "localhost:11000" Reason: Object reference not set to an instance of an object.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;So we put the MessageEncoding in and then started getting the following error:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Event Type: Error      &lt;br /&gt;Event Source: BizTalk Server 2006       &lt;br /&gt;Event Category: BizTalk Server 2006       &lt;br /&gt;Event ID: 5720       &lt;br /&gt;Date: &lt;var&gt;Date&lt;/var&gt;       &lt;br /&gt;Time: &lt;var&gt;Time&lt;/var&gt;       &lt;br /&gt;User: N/A       &lt;br /&gt;Computer: &lt;var&gt;ComputerName&lt;/var&gt;       &lt;br /&gt;Description:       &lt;br /&gt;There was a failure executing the send pipeline: "BTAHL72XPipelines.BTAHL72XSendPipeline, BTAHL72XPipelines, Version=1.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source: "BTAHL7 2.X Assembler" Send Port: "HL7_SP" URI: "C:\Labs\HL7_Outbound\%MessageID%.txt" Reason: Specified cast is not valid. &lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Low and behold, &lt;a href="http://support.microsoft.com/kb/941261" target="_blank"&gt;hot fix 947261&lt;/a&gt; that deals with these two error message. If you check version the following file Microsoft.solutions.btahl7.hl72fasm.dll, ours was at 2.0.302.0&lt;/p&gt;&lt;img src="http://blog.hl7-info.com/aggbug/256.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Eric Stott</dc:creator>
            <guid>http://blog.hl7-info.com/archive/2008/08/05/Event_ID_5720_BTAHL7Schemas.MessageEncoding.aspx</guid>
            <pubDate>Tue, 05 Aug 2008 07:07:51 GMT</pubDate>
            <wfw:comment>http://blog.hl7-info.com/comments/256.aspx</wfw:comment>
            <comments>http://blog.hl7-info.com/archive/2008/08/05/Event_ID_5720_BTAHL7Schemas.MessageEncoding.aspx#feedback</comments>
            <wfw:commentRss>http://blog.hl7-info.com/comments/commentRss/256.aspx</wfw:commentRss>
            <trackback:ping>http://blog.hl7-info.com/services/trackbacks/256.aspx</trackback:ping>
        </item>
        <item>
            <title>Acknowledgment Event ID: 5778 - The published message message could not be routed because no subscribers were found</title>
            <link>http://blog.hl7-info.com/archive/2008/08/04/Acknowledgment_Event_ID_5778__The_published_message_message_could.aspx</link>
            <description>&lt;p&gt;&lt;strong&gt;Another&lt;/strong&gt; one of the gotchas (yes, my blog seems to be full of them) is the 'association' of the acknowledgment with the original message that  is generated from the BTAHL7 receive pipeline. In the BTAHL7 Configuration explorer, by default the Acknowledgment settings are as follows:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.hl7-info.com/images/AcknowledgmentEventID5778Thepublishedmes_14FCB/partnerdefaultsetup.png"&gt;&lt;img height="480" alt="partnerdefaultsetup" src="http://blog.hl7-info.com/images/AcknowledgmentEventID5778Thepublishedmes_14FCB/partnerdefaultsetup_thumb.png" width="527" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Notice that the MSH15 and MSH16 overrides are set to AL- Always generate the System and Application Acknowledgment, and that below the Route ACK to send pipeline on request-response receive port is checked. This means that the default behavior of the pipeline is to generate two acknowledgments, and route one of them back along the receive location's send pipeline. What is it supposed to do with the second acknowledgment that it created?&lt;/p&gt;  &lt;p&gt;That is where the error message is generated: &lt;em&gt;Event ID 5778: The Messaging engine failed to process a message submitted by adapter: MLLP Source &lt;/em&gt;&lt;a href="{whaver"&gt;&lt;em&gt;URL:{whaver&lt;/em&gt;&lt;/a&gt;&lt;em&gt; server:port} Details: The published message could not be routed because no subscribers were found. This error occurs if the subscribing orchestration or send port has not been enlisted, or if some of the message properties necessary for subscription evaluation have not been promoted&lt;/em&gt;.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.hl7-info.com/images/AcknowledgmentEventID5778Thepublishedmes_14FCB/ackeventerror.png"&gt;&lt;img height="446" alt="ackeventerror" src="http://blog.hl7-info.com/images/AcknowledgmentEventID5778Thepublishedmes_14FCB/ackeventerror_thumb.png" width="399" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The resolution: a simple solution is to create a send port for this data and drop it off as a file.&lt;/p&gt;  &lt;p&gt;Not quite the elegant solution that I want to deal with, as now there is a maintenance aspect of making sure that this folder is purged.&lt;/p&gt;  &lt;p&gt;Let's just not create the application acknowledgment. You do this by changing the parties definition from Original to Enhanced mode and turning the application acknowledgment to NE (never).&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.hl7-info.com/images/AcknowledgmentEventID5778Thepublishedmes_14FCB/newpartnersetup.png"&gt;&lt;img height="480" alt="newpartnersetup" src="http://blog.hl7-info.com/images/AcknowledgmentEventID5778Thepublishedmes_14FCB/newpartnersetup_thumb.png" width="527" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blog.hl7-info.com/aggbug/255.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Eric Stott</dc:creator>
            <guid>http://blog.hl7-info.com/archive/2008/08/04/Acknowledgment_Event_ID_5778__The_published_message_message_could.aspx</guid>
            <pubDate>Tue, 05 Aug 2008 06:52:44 GMT</pubDate>
            <wfw:comment>http://blog.hl7-info.com/comments/255.aspx</wfw:comment>
            <comments>http://blog.hl7-info.com/archive/2008/08/04/Acknowledgment_Event_ID_5778__The_published_message_message_could.aspx#feedback</comments>
            <wfw:commentRss>http://blog.hl7-info.com/comments/commentRss/255.aspx</wfw:commentRss>
            <trackback:ping>http://blog.hl7-info.com/services/trackbacks/255.aspx</trackback:ping>
        </item>
        <item>
            <title>MS-HUG August 26-27</title>
            <link>http://blog.hl7-info.com/archive/2008/07/28/MSHUG_August_2627.aspx</link>
            <description>&lt;p&gt;&lt;a href="http://www.mshug.org/events/techforum_redmond2008.aspx" target="_blank"&gt;&lt;img height="210" alt="MicrosoftHUG_GoldenTicket_only" src="http://blog.hl7-info.com/images/MSHUGAugust2627_97E2/MicrosoftHUG_GoldenTicket_only_3.gif" width="350" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Is anyone going there this year?&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.hl7-info.com/contact.aspx" target="_blank"&gt;Let me know.&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blog.hl7-info.com/aggbug/251.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Eric Stott</dc:creator>
            <guid>http://blog.hl7-info.com/archive/2008/07/28/MSHUG_August_2627.aspx</guid>
            <pubDate>Mon, 28 Jul 2008 17:51:12 GMT</pubDate>
            <wfw:comment>http://blog.hl7-info.com/comments/251.aspx</wfw:comment>
            <comments>http://blog.hl7-info.com/archive/2008/07/28/MSHUG_August_2627.aspx#feedback</comments>
            <wfw:commentRss>http://blog.hl7-info.com/comments/commentRss/251.aspx</wfw:commentRss>
            <trackback:ping>http://blog.hl7-info.com/services/trackbacks/251.aspx</trackback:ping>
        </item>
        <item>
            <title>Encoding for HL7 messages</title>
            <link>http://blog.hl7-info.com/archive/2008/04/30/Encoding_for_HL7_messages.aspx</link>
            <description>&lt;p&gt;I was helping a friend with a HL7 question about how to change the MSH1, and I decided to make sure that my syntax was correct so I looked at the help and&lt;/p&gt;  &lt;p&gt;BAM&lt;/p&gt;  &lt;p&gt;I noticed that there is a new context property&lt;/p&gt;  &lt;div class="wlWriterSmartContent" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:84274bd6-e22b-4117-ac9f-868de839b950" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;&lt;pre style="background-color:White;;overflow: auto;"&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #000000;"&gt;DoorbellFinalMessage(BTAHL7Schemas.MessageEncoding) &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #800080;"&gt;65001&lt;/span&gt;&lt;span style="color: #000000;"&gt;;
&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;&lt;img src="http://blog.hl7-info.com/aggbug/217.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Eric Stott</dc:creator>
            <guid>http://blog.hl7-info.com/archive/2008/04/30/Encoding_for_HL7_messages.aspx</guid>
            <pubDate>Wed, 30 Apr 2008 19:00:00 GMT</pubDate>
            <wfw:comment>http://blog.hl7-info.com/comments/217.aspx</wfw:comment>
            <comments>http://blog.hl7-info.com/archive/2008/04/30/Encoding_for_HL7_messages.aspx#feedback</comments>
            <slash:comments>4</slash:comments>
            <wfw:commentRss>http://blog.hl7-info.com/comments/commentRss/217.aspx</wfw:commentRss>
            <trackback:ping>http://blog.hl7-info.com/services/trackbacks/217.aspx</trackback:ping>
        </item>
        <item>
            <title>Using BTAHL7 pipelines in multiple applications</title>
            <link>http://blog.hl7-info.com/archive/2008/04/07/Using_BTAHL7_pipelines_in_multiple_applications.aspx</link>
            <description>&lt;p&gt;A question was recently posted on the forums on how you can use the default pipelines in multiple applications.&lt;/p&gt;  &lt;p&gt;I actually was stumped when I started testing the beta of BizTalk 2006 also.&lt;/p&gt;  &lt;p&gt;The steps are pretty easy:&lt;/p&gt;  &lt;p&gt;In your new application, right click the application and in the context menu click properties&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.hl7-info.com/images/UsingBTAHL7pipelinesinmultipleapplicatio_12C50/contextmenu.png"&gt;&lt;img height="186" alt="context menu" src="http://blog.hl7-info.com/images/UsingBTAHL7pipelinesinmultipleapplicatio_12C50/contextmenu_thumb.png" width="103" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;In the properties click on references and Add BizTalk Application 1 (which is where the pipeline is installed to)&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.hl7-info.com/images/UsingBTAHL7pipelinesinmultipleapplicatio_12C50/references.png"&gt;&lt;img height="514" alt="references" src="http://blog.hl7-info.com/images/UsingBTAHL7pipelinesinmultipleapplicatio_12C50/references_thumb.png" width="644" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Now you can access the pipeline within your own application.&lt;/p&gt;&lt;img src="http://blog.hl7-info.com/aggbug/210.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Eric Stott</dc:creator>
            <guid>http://blog.hl7-info.com/archive/2008/04/07/Using_BTAHL7_pipelines_in_multiple_applications.aspx</guid>
            <pubDate>Mon, 07 Apr 2008 19:00:00 GMT</pubDate>
            <wfw:comment>http://blog.hl7-info.com/comments/210.aspx</wfw:comment>
            <comments>http://blog.hl7-info.com/archive/2008/04/07/Using_BTAHL7_pipelines_in_multiple_applications.aspx#feedback</comments>
            <slash:comments>5</slash:comments>
            <wfw:commentRss>http://blog.hl7-info.com/comments/commentRss/210.aspx</wfw:commentRss>
            <trackback:ping>http://blog.hl7-info.com/services/trackbacks/210.aspx</trackback:ping>
        </item>
        <item>
            <title>BizTalk Guru Newsletter - BAM Uninstall</title>
            <link>http://blog.hl7-info.com/archive/2008/03/04/BizTalk_Guru_Newsletter__BAM_Uninstall.aspx</link>
            <description>&lt;p&gt;Stephen Thomas hit me up to write an article for his newsletter (if you aren't automatically getting it, you should sign up for it &lt;a href="http://www.biztalkgurus.com/newsletter/index.aspx" target="_blank"&gt;here&lt;/a&gt;).&lt;/p&gt; &lt;p&gt;I wrote about how to automatically uninstall a BAM definition as part of the MSI uninstall. You can read about it here: &lt;a title="http://www.biztalkgurus.com/newsletter/TheBizTalker-Volume-11.html" href="http://www.biztalkgurus.com/newsletter/TheBizTalker-Volume-11.html"&gt;http://www.biztalkgurus.com/newsletter/TheBizTalker-Volume-11.html&lt;/a&gt;&lt;/p&gt; &lt;p&gt;The one dilemma I have is that I cannot seem to figure out how to get a batch script to resolve the installation path by using this code in a batch script:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;&lt;strong&gt;for /f "skip=2 tokens=2,*" %%a in ('reg query "HKLM\SOFTWARE\Microsoft\BizTalk Server\3.0" /v "InstallPath"') do SET BTSbm="%%~bTracking\bm.exe remove-all -DefinitionFile:"&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;I am looking into it and will update this blog entry when I finally do figure it out.&lt;/p&gt;&lt;img src="http://blog.hl7-info.com/aggbug/197.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Eric Stott</dc:creator>
            <guid>http://blog.hl7-info.com/archive/2008/03/04/BizTalk_Guru_Newsletter__BAM_Uninstall.aspx</guid>
            <pubDate>Tue, 04 Mar 2008 19:00:00 GMT</pubDate>
            <wfw:comment>http://blog.hl7-info.com/comments/197.aspx</wfw:comment>
            <comments>http://blog.hl7-info.com/archive/2008/03/04/BizTalk_Guru_Newsletter__BAM_Uninstall.aspx#feedback</comments>
            <wfw:commentRss>http://blog.hl7-info.com/comments/commentRss/197.aspx</wfw:commentRss>
            <trackback:ping>http://blog.hl7-info.com/services/trackbacks/197.aspx</trackback:ping>
        </item>
    </channel>
</rss>