<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>BizTalk</title>
        <link>http://geekswithblogs.net/LifeLongTechie/category/10633.aspx</link>
        <description>BizTalk</description>
        <language>en-US</language>
        <copyright>Kevin Shyr</copyright>
        <managingEditor>kevinshyr@gmail.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>Monitoring BizTalk Server Without SCCM, using SQL query</title>
            <link>http://geekswithblogs.net/LifeLongTechie/archive/2011/09/14/monitoring-biztalk-server-without-sccm-using-sql-query.aspx</link>
            <description>&lt;p&gt;For the environment that does not have SCCM to monitor BizTalk server health, the following SQL query can be incorporate into a SQL job and have BizTalk server at least on a "constant" check.&lt;/p&gt;
&lt;p&gt;Note: be aware that the following was tested only against a single suspended instance with a send port.  Since BizTalk SQL server does not allow select against the ServiceClass table, I couldn't use a single table join.  With the data I currently have, I am not 100% sure the Receive Port, Pipeline, Orchestration parts work.&lt;/p&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt; &lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;color:blue;"&gt;SELECT&lt;/span&gt;&lt;span style="font-size:10.0pt;Courier New&amp;quot;;"&gt; &lt;span style="color:blue"&gt;TOP&lt;/span&gt; 1000 &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;      _M&lt;span style="color:gray"&gt;.&lt;/span&gt;nvcName &lt;span style="color:blue"&gt;AS&lt;/span&gt; ApplicationName&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;      &lt;span style="color:gray"&gt;,&lt;/span&gt; &lt;span style="color:blue"&gt;CASE&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;            &lt;span style="color:blue"&gt;WHEN&lt;/span&gt; _BSP&lt;span style="color:gray"&gt;.&lt;/span&gt;nvcName &lt;span style="color:gray"&gt;IS&lt;/span&gt; &lt;span style="color:gray"&gt;NOT&lt;/span&gt; &lt;span style="color:gray"&gt;NULL&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;                  &lt;span style="color:blue"&gt;THEN&lt;/span&gt; &lt;span style="color:red"&gt;'Send Port: '&lt;/span&gt; &lt;span style="color:gray"&gt;+&lt;/span&gt; _BSP&lt;span style="color:gray"&gt;.&lt;/span&gt;nvcName&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;            &lt;span style="color:blue"&gt;WHEN&lt;/span&gt; _BSP&lt;span style="color:gray"&gt;.&lt;/span&gt;nvcName &lt;span style="color:gray"&gt;IS&lt;/span&gt; &lt;span style="color:gray"&gt;NOT&lt;/span&gt; &lt;span style="color:gray"&gt;NULL&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;                  &lt;span style="color:blue"&gt;THEN&lt;/span&gt; &lt;span style="color:red"&gt;'Receive Port: '&lt;/span&gt; &lt;span style="color:gray"&gt;+&lt;/span&gt; _BSP&lt;span style="color:gray"&gt;.&lt;/span&gt;nvcName&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;            &lt;span style="color:blue"&gt;WHEN&lt;/span&gt; _BPL&lt;span style="color:gray"&gt;.&lt;/span&gt;Name &lt;span style="color:gray"&gt;IS&lt;/span&gt; &lt;span style="color:gray"&gt;NOT&lt;/span&gt; &lt;span style="color:gray"&gt;NULL&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;                  &lt;span style="color:blue"&gt;THEN&lt;/span&gt; &lt;span style="color:red"&gt;'Pipeline: '&lt;/span&gt; &lt;span style="color:gray"&gt;+&lt;/span&gt; _BPL&lt;span style="color:gray"&gt;.&lt;/span&gt;Name&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;            &lt;span style="color:blue"&gt;WHEN&lt;/span&gt; _BO&lt;span style="color:gray"&gt;.&lt;/span&gt;nvcName &lt;span style="color:gray"&gt;IS&lt;/span&gt; &lt;span style="color:gray"&gt;NOT&lt;/span&gt; &lt;span style="color:gray"&gt;NULL&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;                  &lt;span style="color:blue"&gt;THEN&lt;/span&gt; &lt;span style="color:red"&gt;'Orchestration: '&lt;/span&gt; &lt;span style="color:gray"&gt;+&lt;/span&gt; _BO&lt;span style="color:gray"&gt;.&lt;/span&gt;nvcName&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;            &lt;span style="color:blue"&gt;ELSE&lt;/span&gt; &lt;span style="color:red"&gt;'Unknown'&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;      &lt;span style="color:blue"&gt;END&lt;/span&gt; &lt;span style="color:blue"&gt;AS&lt;/span&gt; ServiceName&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;      &lt;span style="color:gray"&gt;,&lt;/span&gt; _IS&lt;span style="color:gray"&gt;.&lt;/span&gt;dtCreated&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;      &lt;span style="color:gray"&gt;,&lt;/span&gt; _IS&lt;span style="color:gray"&gt;.&lt;/span&gt;dtSuspendTimeStamp&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;      &lt;span style="color:gray"&gt;,&lt;/span&gt; _IS&lt;span style="color:gray"&gt;.&lt;/span&gt;nvcAdapter&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;      &lt;span style="color:gray"&gt;,&lt;/span&gt; _IS&lt;span style="color:gray"&gt;.&lt;/span&gt;nvcURI&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;      &lt;span style="color:gray"&gt;,&lt;/span&gt; _IS&lt;span style="color:gray"&gt;.&lt;/span&gt;nvcErrorDescription&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;      &lt;span style="color:gray"&gt;,&lt;/span&gt; _IS&lt;span style="color:gray"&gt;.&lt;/span&gt;nvcErrorProcessingServer&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;color:blue;"&gt;FROM&lt;/span&gt;&lt;span style="font-size:10.0pt;Courier New&amp;quot;;"&gt; [BizTalkMsgBoxDb]&lt;span style="color:gray"&gt;.&lt;/span&gt;[dbo]&lt;span style="color:gray"&gt;.&lt;/span&gt;[InstancesSuspended] &lt;span style="color:blue"&gt;AS&lt;/span&gt; _IS &lt;span style="color:blue"&gt;WITH&lt;/span&gt;&lt;span style="color:gray"&gt;(&lt;/span&gt;&lt;span style="color:blue"&gt;READPAST&lt;/span&gt;&lt;span style="color:gray"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;      &lt;span style="color:gray"&gt;INNER&lt;/span&gt; &lt;span style="color:gray"&gt;JOIN&lt;/span&gt; [BizTalkMsgBoxDb]&lt;span style="color:gray"&gt;.&lt;/span&gt;[dbo]&lt;span style="color:gray"&gt;.&lt;/span&gt;[Services] &lt;span style="color:blue"&gt;AS&lt;/span&gt; _S &lt;span style="color:blue"&gt;WITH&lt;/span&gt;&lt;span style="color:gray"&gt;(&lt;/span&gt;&lt;span style="color:blue"&gt;READPAST&lt;/span&gt;&lt;span style="color:gray"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;            &lt;span style="color:blue"&gt;ON&lt;/span&gt; _IS&lt;span style="color:gray"&gt;.&lt;/span&gt;[uidServiceID] &lt;span style="color:gray"&gt;=&lt;/span&gt; _S&lt;span style="color:gray"&gt;.&lt;/span&gt;uidServiceID&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;      &lt;span style="color:gray"&gt;INNER&lt;/span&gt; &lt;span style="color:gray"&gt;JOIN&lt;/span&gt; [BizTalkMsgBoxDb]&lt;span style="color:gray"&gt;.&lt;/span&gt;[dbo]&lt;span style="color:gray"&gt;.&lt;/span&gt;[Modules] &lt;span style="color:blue"&gt;AS&lt;/span&gt; _M &lt;span style="color:blue"&gt;WITH&lt;/span&gt;&lt;span style="color:gray"&gt;(&lt;/span&gt;&lt;span style="color:blue"&gt;READPAST&lt;/span&gt;&lt;span style="color:gray"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;            &lt;span style="color:blue"&gt;ON&lt;/span&gt; _S&lt;span style="color:gray"&gt;.&lt;/span&gt;nModuleID &lt;span style="color:gray"&gt;=&lt;/span&gt; _M&lt;span style="color:gray"&gt;.&lt;/span&gt;nModuleID&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;      &lt;span style="color:gray"&gt;LEFT&lt;/span&gt; &lt;span style="color:gray"&gt;OUTER&lt;/span&gt; &lt;span style="color:gray"&gt;JOIN&lt;/span&gt; [BizTalkMgmtDb]&lt;span style="color:gray"&gt;.&lt;/span&gt;[dbo]&lt;span style="color:gray"&gt;.&lt;/span&gt;[bts_sendport] &lt;span style="color:blue"&gt;AS&lt;/span&gt; _BSP &lt;span style="color:blue"&gt;WITH&lt;/span&gt;&lt;span style="color:gray"&gt;(&lt;/span&gt;&lt;span style="color:blue"&gt;READPAST&lt;/span&gt;&lt;span style="color:gray"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;            &lt;span style="color:blue"&gt;ON&lt;/span&gt; _IS&lt;span style="color:gray"&gt;.&lt;/span&gt;uidServiceID &lt;span style="color:gray"&gt;=&lt;/span&gt; _BSP&lt;span style="color:gray"&gt;.&lt;/span&gt;uidGUID&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;      &lt;span style="color:gray"&gt;LEFT&lt;/span&gt; &lt;span style="color:gray"&gt;OUTER&lt;/span&gt; &lt;span style="color:gray"&gt;JOIN&lt;/span&gt; [BizTalkMgmtDb]&lt;span style="color:gray"&gt;.&lt;/span&gt;[dbo]&lt;span style="color:gray"&gt;.&lt;/span&gt;[bts_receiveport] &lt;span style="color:blue"&gt;AS&lt;/span&gt; _BRP &lt;span style="color:blue"&gt;WITH&lt;/span&gt;&lt;span style="color:gray"&gt;(&lt;/span&gt;&lt;span style="color:blue"&gt;READPAST&lt;/span&gt;&lt;span style="color:gray"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;            &lt;span style="color:blue"&gt;ON&lt;/span&gt; _IS&lt;span style="color:gray"&gt;.&lt;/span&gt;uidServiceID &lt;span style="color:gray"&gt;=&lt;/span&gt; _BRP&lt;span style="color:gray"&gt;.&lt;/span&gt;uidGUID&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;      &lt;span style="color:gray"&gt;LEFT&lt;/span&gt; &lt;span style="color:gray"&gt;OUTER&lt;/span&gt; &lt;span style="color:gray"&gt;JOIN&lt;/span&gt; [BizTalkMgmtDb]&lt;span style="color:gray"&gt;.&lt;/span&gt;[dbo]&lt;span style="color:gray"&gt;.&lt;/span&gt;[bts_pipeline] &lt;span style="color:blue"&gt;AS&lt;/span&gt; _BPL &lt;span style="color:blue"&gt;WITH&lt;/span&gt;&lt;span style="color:gray"&gt;(&lt;/span&gt;&lt;span style="color:blue"&gt;READPAST&lt;/span&gt;&lt;span style="color:gray"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;            &lt;span style="color:blue"&gt;ON&lt;/span&gt; _IS&lt;span style="color:gray"&gt;.&lt;/span&gt;uidServiceID &lt;span style="color:gray"&gt;=&lt;/span&gt; _BPL&lt;span style="color:gray"&gt;.&lt;/span&gt;PipelineID&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;      &lt;span style="color:gray"&gt;LEFT&lt;/span&gt; &lt;span style="color:gray"&gt;OUTER&lt;/span&gt; &lt;span style="color:gray"&gt;JOIN&lt;/span&gt; [BizTalkMgmtDb]&lt;span style="color:gray"&gt;.&lt;/span&gt;[dbo]&lt;span style="color:gray"&gt;.&lt;/span&gt;[bts_orchestration] &lt;span style="color:blue"&gt;AS&lt;/span&gt; _BO &lt;span style="color:blue"&gt;WITH&lt;/span&gt;&lt;span style="color:gray"&gt;(&lt;/span&gt;&lt;span style="color:blue"&gt;READPAST&lt;/span&gt;&lt;span style="color:gray"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;            &lt;span style="color:blue"&gt;ON&lt;/span&gt; _IS&lt;span style="color:gray"&gt;.&lt;/span&gt;uidServiceID &lt;span style="color:gray"&gt;=&lt;/span&gt; _BO&lt;span style="color:gray"&gt;.&lt;/span&gt;uidGUID&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;color:blue;"&gt;WHERE&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;10.0pt;Courier New&amp;quot;;"&gt;      _M&lt;span style="color:gray"&gt;.&lt;/span&gt;nvcName &lt;span style="color:gray"&gt;=&lt;/span&gt; &lt;span style="color:red"&gt;'Your application name'&lt;/span&gt; &lt;span style="color:green"&gt;-- change application name here to monitor different applications&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;p&gt; &lt;/p&gt; &lt;img src="http://geekswithblogs.net/LifeLongTechie/aggbug/146891.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Kevin Shyr</dc:creator>
            <guid>http://geekswithblogs.net/LifeLongTechie/archive/2011/09/14/monitoring-biztalk-server-without-sccm-using-sql-query.aspx</guid>
            <pubDate>Thu, 15 Sep 2011 03:37:04 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/LifeLongTechie/comments/146891.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/LifeLongTechie/archive/2011/09/14/monitoring-biztalk-server-without-sccm-using-sql-query.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/LifeLongTechie/comments/commentRss/146891.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/LifeLongTechie/services/trackbacks/146891.aspx</trackback:ping>
        </item>
        <item>
            <title>BizTalk documentator</title>
            <link>http://geekswithblogs.net/LifeLongTechie/archive/2011/05/06/biztalk-documentator.aspx</link>
            <description>&lt;p&gt;This looks like a very useful tool:  &lt;!--[if gte mso 9]&gt;&lt;xml&gt;
&lt;w:WordDocument&gt;
&lt;w:View&gt;Normal&lt;/w:View&gt;
&lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
&lt;w:TrackMoves /&gt;
&lt;w:TrackFormatting /&gt;
&lt;w:PunctuationKerning /&gt;
&lt;w:ValidateAgainstSchemas /&gt;
&lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
&lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
&lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
&lt;w:DoNotPromoteQF /&gt;
&lt;w:LidThemeOther&gt;EN-US&lt;/w:LidThemeOther&gt;
&lt;w:LidThemeAsian&gt;X-NONE&lt;/w:LidThemeAsian&gt;
&lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;
&lt;w:Compatibility&gt;
&lt;w:BreakWrappedTables /&gt;
&lt;w:SnapToGridInCell /&gt;
&lt;w:WrapTextWithPunct /&gt;
&lt;w:UseAsianBreakRules /&gt;
&lt;w:DontGrowAutofit /&gt;
&lt;w:SplitPgBreakAndParaMark /&gt;
&lt;w:DontVertAlignCellWithSp /&gt;
&lt;w:DontBreakConstrainedForcedTables /&gt;
&lt;w:DontVertAlignInTxbx /&gt;
&lt;w:Word11KerningPairs /&gt;
&lt;w:CachedColBalance /&gt;
&lt;/w:Compatibility&gt;
&lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
&lt;m:mathPr&gt;
&lt;m:mathFont m:val="Cambria Math" /&gt;
&lt;m:brkBin m:val="before" /&gt;
&lt;m:brkBinSub m:val="&amp;#45;-" /&gt;
&lt;m:smallFrac m:val="off" /&gt;
&lt;m:dispDef /&gt;
&lt;m:lMargin m:val="0" /&gt;
&lt;m:rMargin m:val="0" /&gt;
&lt;m:defJc m:val="centerGroup" /&gt;
&lt;m:wrapIndent m:val="1440" /&gt;
&lt;m:intLim m:val="subSup" /&gt;
&lt;m:naryLim m:val="undOvr" /&gt;
&lt;/m:mathPr&gt;&lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
&lt;w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267"&gt;
&lt;w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal" /&gt;
&lt;w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 1" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 2" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 3" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 4" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 5" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 6" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 7" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 8" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 9" /&gt;
&lt;w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption" /&gt;
&lt;w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title" /&gt;
&lt;w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font" /&gt;
&lt;w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle" /&gt;
&lt;w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong" /&gt;
&lt;w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis" /&gt;
&lt;w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid" /&gt;
&lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text" /&gt;
&lt;w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1" /&gt;
&lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision" /&gt;
&lt;w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph" /&gt;
&lt;w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote" /&gt;
&lt;w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis" /&gt;
&lt;w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis" /&gt;
&lt;w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference" /&gt;
&lt;w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference" /&gt;
&lt;w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title" /&gt;
&lt;w:LsdException Locked="false" Priority="37" Name="Bibliography" /&gt;
&lt;w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading" /&gt;
&lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
&lt;/style&gt;
&lt;![endif]--&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; color: black;"&gt;&lt;a href="http://biztalkdocumenter.codeplex.com/"&gt;http://biztalkdocumenter.codeplex.com/&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Notes:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;For this tool to be effective, populate the "Description" property of BizTalk projects.&lt;/li&gt;
    &lt;li&gt;Documents ports, business rules policies, etc.&lt;/li&gt;
&lt;/ul&gt; &lt;img src="http://geekswithblogs.net/LifeLongTechie/aggbug/145219.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Kevin Shyr</dc:creator>
            <guid>http://geekswithblogs.net/LifeLongTechie/archive/2011/05/06/biztalk-documentator.aspx</guid>
            <pubDate>Fri, 06 May 2011 16:53:59 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/LifeLongTechie/comments/145219.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/LifeLongTechie/archive/2011/05/06/biztalk-documentator.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/LifeLongTechie/comments/commentRss/145219.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/LifeLongTechie/services/trackbacks/145219.aspx</trackback:ping>
        </item>
        <item>
            <title>Automated BizTalk documentation</title>
            <link>http://geekswithblogs.net/LifeLongTechie/archive/2011/02/15/automated-biztalk-documentation.aspx</link>
            <description>&lt;p&gt;Yay, this should help us going through old legacy app with no doc, at least some help.&lt;/p&gt;
&lt;p&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
&lt;w:WordDocument&gt;
&lt;w:View&gt;Normal&lt;/w:View&gt;
&lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
&lt;w:TrackMoves /&gt;
&lt;w:TrackFormatting /&gt;
&lt;w:PunctuationKerning /&gt;
&lt;w:ValidateAgainstSchemas /&gt;
&lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
&lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
&lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
&lt;w:DoNotPromoteQF /&gt;
&lt;w:LidThemeOther&gt;EN-US&lt;/w:LidThemeOther&gt;
&lt;w:LidThemeAsian&gt;X-NONE&lt;/w:LidThemeAsian&gt;
&lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;
&lt;w:Compatibility&gt;
&lt;w:BreakWrappedTables /&gt;
&lt;w:SnapToGridInCell /&gt;
&lt;w:WrapTextWithPunct /&gt;
&lt;w:UseAsianBreakRules /&gt;
&lt;w:DontGrowAutofit /&gt;
&lt;w:SplitPgBreakAndParaMark /&gt;
&lt;w:DontVertAlignCellWithSp /&gt;
&lt;w:DontBreakConstrainedForcedTables /&gt;
&lt;w:DontVertAlignInTxbx /&gt;
&lt;w:Word11KerningPairs /&gt;
&lt;w:CachedColBalance /&gt;
&lt;/w:Compatibility&gt;
&lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
&lt;m:mathPr&gt;
&lt;m:mathFont m:val="Cambria Math" /&gt;
&lt;m:brkBin m:val="before" /&gt;
&lt;m:brkBinSub m:val="&amp;#45;-" /&gt;
&lt;m:smallFrac m:val="off" /&gt;
&lt;m:dispDef /&gt;
&lt;m:lMargin m:val="0" /&gt;
&lt;m:rMargin m:val="0" /&gt;
&lt;m:defJc m:val="centerGroup" /&gt;
&lt;m:wrapIndent m:val="1440" /&gt;
&lt;m:intLim m:val="subSup" /&gt;
&lt;m:naryLim m:val="undOvr" /&gt;
&lt;/m:mathPr&gt;&lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
&lt;w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267"&gt;
&lt;w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal" /&gt;
&lt;w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 1" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 2" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 3" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 4" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 5" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 6" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 7" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 8" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 9" /&gt;
&lt;w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption" /&gt;
&lt;w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title" /&gt;
&lt;w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font" /&gt;
&lt;w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle" /&gt;
&lt;w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong" /&gt;
&lt;w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis" /&gt;
&lt;w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid" /&gt;
&lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text" /&gt;
&lt;w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1" /&gt;
&lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision" /&gt;
&lt;w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph" /&gt;
&lt;w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote" /&gt;
&lt;w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis" /&gt;
&lt;w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis" /&gt;
&lt;w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference" /&gt;
&lt;w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference" /&gt;
&lt;w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title" /&gt;
&lt;w:LsdException Locked="false" Priority="37" Name="Bibliography" /&gt;
&lt;w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading" /&gt;
&lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
&lt;/style&gt;
&lt;![endif]--&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; color: black;"&gt;&lt;a href="http://biztalkdocumenter.codeplex.com/"&gt;http://biztalkdocumenter.codeplex.com/&lt;/a&gt;&lt;/span&gt;&lt;/p&gt; &lt;img src="http://geekswithblogs.net/LifeLongTechie/aggbug/143951.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Kevin Shyr</dc:creator>
            <guid>http://geekswithblogs.net/LifeLongTechie/archive/2011/02/15/automated-biztalk-documentation.aspx</guid>
            <pubDate>Tue, 15 Feb 2011 20:09:08 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/LifeLongTechie/comments/143951.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/LifeLongTechie/archive/2011/02/15/automated-biztalk-documentation.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/LifeLongTechie/comments/commentRss/143951.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/LifeLongTechie/services/trackbacks/143951.aspx</trackback:ping>
        </item>
        <item>
            <title>Using BizTalk to bridge SQL Job and Human Intervention (Requesting Permission)</title>
            <link>http://geekswithblogs.net/LifeLongTechie/archive/2011/02/04/using-biztalk-to-bridge-sql-job-and-human-intervention-requesting.aspx</link>
            <description>&lt;p&gt;I start off the process with either a BizTalk Scheduler (http://biztalkscheduledtask.codeplex.com/releases/view/50363) or a manual file drop of the XML message.  The manual file drop is to allow the SQL &lt;/p&gt;
&lt;p&gt;Job to call a "File Copy" SSIS step to copy the trigger file for the next process and allows SQL &lt;/p&gt;
&lt;p&gt;Job to be linked back into BizTalk processing.&lt;/p&gt;
&lt;p&gt;The Process Trigger XML looks like the following.  It is basically the configuration hub of the business process&lt;/p&gt;
&lt;p&gt;&amp;lt;ns0:MsgSchedulerTriggerSQLJobReceive xmlns:ns0="urn:com:something something"&amp;gt;&lt;br /&gt;
  &amp;lt;ns0:IsProcessAsync&amp;gt;YES&amp;lt;/ns0:IsProcessAsync&amp;gt;&lt;br /&gt;
  &amp;lt;ns0:IsPermissionRequired&amp;gt;YES&amp;lt;/ns0:IsPermissionRequired&amp;gt;&lt;br /&gt;
  &amp;lt;ns0:BusinessProcessName&amp;gt;Data Push&amp;lt;/ns0:BusinessProcessName&amp;gt; &lt;br /&gt;
  &amp;lt;ns0:EmailFrom&amp;gt;DoNotReply@company.com&amp;lt;/ns0:EmailFrom&amp;gt;&lt;br /&gt;
  &amp;lt;ns0:EmailRecipientToList&amp;gt;ProjectManagers@company.com&amp;lt;/ns0:EmailRecipientToList&amp;gt;&lt;br /&gt;
  &amp;lt;ns0:EmailRecipientCCList&amp;gt;Developers@company.com&amp;lt;/ns0:EmailRecipientCCList&amp;gt;&lt;br /&gt;
  &amp;lt;ns0:EmailMessageBodyForPermissionRequest&amp;gt;This message was sent to request permission to start the Data Push process.  The SQL Job to be run is WeeklyProcessing_DataPush&amp;lt;/ns0:EmailMessageBodyForPermissionRequest&amp;gt;&lt;br /&gt;
  &amp;lt;ns0:SQLJobName&amp;gt;WeeklyProcessing_DataPush&amp;lt;/ns0:SQLJobName&amp;gt;&lt;br /&gt;
  &amp;lt;ns0:SQLJobStepName&amp;gt;Push_To_Production&amp;lt;/ns0:SQLJobStepName&amp;gt;&lt;br /&gt;
  &amp;lt;ns0:SQLJobMinToWait&amp;gt;1&amp;lt;/ns0:SQLJobMinToWait&amp;gt;&lt;br /&gt;
  &amp;lt;ns0:PermissionRequestTriggerPath&amp;gt;\\server\ETL-BizTalk\Automation\TriggerCreatedByBizTalk\&amp;lt;/ns0:PermissionRequestTriggerPath&amp;gt;&lt;br /&gt;
  &amp;lt;ns0:PermissionRequestApprovedPath&amp;gt;\\server\ETL-BizTalk\Automation\Approved\&amp;lt;/ns0:PermissionRequestApprovedPath&amp;gt;&lt;br /&gt;
  &amp;lt;ns0:PermissionRequestNotApprovedPath&amp;gt;\\server\ETL-BizTalk\Automation\NotApproved\&amp;lt;/ns0:PermissionRequestNotApprovedPath&amp;gt;&lt;br /&gt;
&amp;lt;/ns0:MsgSchedulerTriggerSQLJobReceive&amp;gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Every node of this schema was promoted to a distinguished field so that the values can be used for decision making in the orchestration.  The first decision made is on the "IsPermissionRequired" field.&lt;/p&gt;
&lt;p&gt;&lt;img height="256" width="640" src="/images/geekswithblogs_net/LifeLongTechie/10637/r_BizTalk-SQLJob-Permission_Linking_OrchestrationStart.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;If permission is required (IsPermissionRequired=="YES"), BizTalk will use the configuration info in the XML trigger to format the email message.  Here is the snippet of how the email message is constructed.&lt;/p&gt;
&lt;p&gt;SQLJobEmailMessage.EmailBody &lt;br /&gt;
    = new Eai.OrchestrationHelpers.XlangCustomFormatters.RawString(&lt;br /&gt;
        MsgSchedulerTriggerSQLJobReceive.EmailMessageBodyForPermissionRequest + &lt;br /&gt;
        "&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;" +&lt;br /&gt;
        "By moving the file, you are either giving permission to the process, or disapprove of the process." +&lt;br /&gt;
        "&amp;lt;br&amp;gt;" +&lt;br /&gt;
        "This is the file to move: \"" + PermissionTriggerToBeGenereatedHere +&lt;br /&gt;
        "\"&amp;lt;br&amp;gt;" +&lt;br /&gt;
        "(You may find it easier to open the destination folder first, then navigate to the sibling folder to get to this file)" +&lt;br /&gt;
        "&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;" +&lt;br /&gt;
        "To approve, move(NOT copy) the file here: " + MsgSchedulerTriggerSQLJobReceive.PermissionRequestApprovedPath +&lt;br /&gt;
        "&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;" + &lt;br /&gt;
        "To disapprove, move(NOT copy) the file here: " + MsgSchedulerTriggerSQLJobReceive.PermissionRequestNotApprovedPath +&lt;br /&gt;
        "&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;" + &lt;br /&gt;
        "The file will be IMMEDIATELY picked up by the automated process.  This is normal.  You should receive a message soon that the file is processed." +&lt;br /&gt;
        "&amp;lt;br&amp;gt;" + &lt;br /&gt;
        "Thank you!"&lt;br /&gt;
    );&lt;br /&gt;
SQLJobSendNotification(Microsoft.XLANGs.BaseTypes.Address) = "mailto:" + MsgSchedulerTriggerSQLJobReceive.EmailRecipientToList;&lt;br /&gt;
SQLJobEmailMessage.EmailBody(Microsoft.XLANGs.BaseTypes.ContentType) = "text/html";&lt;br /&gt;
SQLJobEmailMessage(SMTP.Subject) = "Requesting Permission to Start the " + MsgSchedulerTriggerSQLJobReceive.BusinessProcessName;&lt;br /&gt;
SQLJobEmailMessage(SMTP.From) = MsgSchedulerTriggerSQLJobReceive.EmailFrom;&lt;br /&gt;
SQLJobEmailMessage(SMTP.CC) = MsgSchedulerTriggerSQLJobReceive.EmailRecipientCCList;&lt;br /&gt;
SQLJobEmailMessage(SMTP.EmailBodyFileCharset) = "UTF-8";&lt;br /&gt;
SQLJobEmailMessage(SMTP.SMTPHost) = "localhost";&lt;br /&gt;
SQLJobEmailMessage(SMTP.MessagePartsAttachments) = 2;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;After the Permission request email is sent, the next step is to generate the actual Permission Trigger file.  A correlation set is used here on SQLJobName and a newly generated GUID field.&lt;/p&gt;
&lt;p&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;ns0:SQLJobAuthorizationTrigger xmlns:ns0="somethingsomething"&amp;gt;&amp;lt;SQLJobName&amp;gt;Data Push&amp;lt;/SQLJobName&amp;gt;&amp;lt;CorrelationGuid&amp;gt;9f7c6b46-0e62-46a7-b3a0-b5327ab03753&amp;lt;/CorrelationGuid&amp;gt;&amp;lt;/ns0:SQLJobAuthorizationTrigger&amp;gt;&lt;/p&gt;
&lt;p&gt;The end user (the human intervention piece) will either grant permission for this process, or deny it, by moving the Permission Trigger file to either the "Approved" folder or the "NotApproved" folder.  A parallel Listen shape is waiting for either response.&lt;/p&gt;
&lt;p&gt;&lt;img height="480" width="604" src="/images/geekswithblogs_net/LifeLongTechie/10637/r_BizTalk-SQLJob-Permission_Linking_EmailPermissionRequestAndApprovalProcess.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;The next set of steps decide how the SQL Job is to be called, or whether it is called at all.  If permission denied, it simply sends out a notification.  If permission is granted, then the flag (IsProcessAsync) in the original Process Trigger is used.  The synchonous part is not really synchronous, but a loop timer to check the status within the calling stored procedure (for more information, check out my previous post:  http://geekswithblogs.net/LifeLongTechie/archive/2010/11/01/execute-sql-job-synchronously-for-biztalk-via-a-stored-procedure.aspx)  If it's async, then the sp starts the job and BizTalk sends out an email.&lt;/p&gt;
&lt;p&gt;&lt;img height="480" width="581" src="/images/geekswithblogs_net/LifeLongTechie/10637/r_BizTalk-SQLJob-Permission_Linking_StartSQLJob.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;And of course, some error notification:&lt;/p&gt;
&lt;p&gt;&lt;img height="480" width="546" src="/images/geekswithblogs_net/LifeLongTechie/10637/r_BizTalk-SQLJob-Permission_Linking_ExceptionHandling.JPG" alt="" /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Footnote: The next version of this orchestration will have an additional parallel line near the Listen shape with a Delay built in and a Loop to send out a daily reminder if no response has been received from the end user.  The synchronous part is used to gather results and execute a data clean up process so that the SQL Job can be re-tried.  There are manu possibilities here.&lt;/p&gt; &lt;img src="http://geekswithblogs.net/LifeLongTechie/aggbug/143807.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Kevin Shyr</dc:creator>
            <guid>http://geekswithblogs.net/LifeLongTechie/archive/2011/02/04/using-biztalk-to-bridge-sql-job-and-human-intervention-requesting.aspx</guid>
            <pubDate>Fri, 04 Feb 2011 21:29:09 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/LifeLongTechie/comments/143807.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/LifeLongTechie/archive/2011/02/04/using-biztalk-to-bridge-sql-job-and-human-intervention-requesting.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/LifeLongTechie/comments/commentRss/143807.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/LifeLongTechie/services/trackbacks/143807.aspx</trackback:ping>
        </item>
        <item>
            <title>Execute SQL Job synchronously for BizTalk via a Stored Procedure call</title>
            <link>http://geekswithblogs.net/LifeLongTechie/archive/2010/11/01/execute-sql-job-synchronously-for-biztalk-via-a-stored-procedure.aspx</link>
            <description>&lt;p&gt;The async one was very easy to do.  However, in the process automation task I was given, there was a need to execute SQL Job and waiting for the execution result.  I couldn't find anything on the web to do what I wanted, so I make the following stored procedure.&lt;/p&gt;
&lt;p&gt;In addition, this stored procedure is quasi-synchronous.  I start the job and then check the status.  You can change the timing of the status check, but for the example below, it is "synchronous within 30 seconds."  I wish there is a better way to do this, but at my current knowledge base I only came up with this:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;CREATE PROCEDURE [SQLJobExecSyncByName]&lt;br /&gt;
    @SQLJobName AS [varchar](128),&lt;br /&gt;
    @SQLJobStepName AS [varchar](128),&lt;br /&gt;
    @MinutesToWait AS [int],&lt;br /&gt;
    @JobExecStatus AS [bit] output&lt;br /&gt;
AS&lt;br /&gt;
BEGIN&lt;br /&gt;
    -- SET NOCOUNT ON added to prevent extra result sets from&lt;br /&gt;
    -- interfering with SELECT statements.&lt;br /&gt;
    SET NOCOUNT ON;&lt;br /&gt;
    &lt;br /&gt;
    DECLARE @JobStartDateTime AS DATETIME&lt;br /&gt;
    DECLARE @SPQuitDateTime AS DATETIME&lt;br /&gt;
    DECLARE @JobStartDateAsString AS VARCHAR(8)&lt;br /&gt;
    DECLARE @JobStartTimeAsString AS VARCHAR(6)&lt;br /&gt;
    DECLARE @SPOutcome AS BIT&lt;br /&gt;
    SET @JobStartDateTime = DATEADD(mi, -1, GETDATE())&lt;br /&gt;
    SET @SPQuitDateTime = DATEADD(mi, @MinutesToWait, GETDATE())&lt;br /&gt;
    SET @SPOutcome = 0&lt;br /&gt;
    SELECT @JobStartDateAsString = CONVERT(VARCHAR(8), @JobStartDateTime, 112)&lt;br /&gt;
    SELECT @JobStartTimeAsString = REPLACE(CONVERT(VARCHAR(8), @JobStartDateTime, 108), ':', '')&lt;br /&gt;
&lt;br /&gt;
    -- Create a temp table to store result&lt;br /&gt;
    CREATE TABLE #Result_sp_help_jobhistory&lt;br /&gt;
    (&lt;br /&gt;
        instance_id [int]&lt;br /&gt;
        , job_id [uniqueidentifier]&lt;br /&gt;
        , job_name [sysname]&lt;br /&gt;
        , step_id [int]&lt;br /&gt;
        , step_name [sysname]&lt;br /&gt;
        , sql_message_id [int]&lt;br /&gt;
        , sql_severity [int]&lt;br /&gt;
        , [message] [nvarchar](1024)&lt;br /&gt;
        , run_status [int]&lt;br /&gt;
        , run_date [int]&lt;br /&gt;
        , run_time [int]&lt;br /&gt;
        , run_duration [int]&lt;br /&gt;
        , operator_emailed [nvarchar](20)&lt;br /&gt;
        , operator_netsent [nvarchar](20)&lt;br /&gt;
        , operator_paged [nvarchar](20)&lt;br /&gt;
        , retries_attempted [int]&lt;br /&gt;
        , [server] [nvarchar](30)&lt;br /&gt;
    )&lt;br /&gt;
&lt;br /&gt;
    -- Start the job @SQLJobName at step @SQLJobStepName&lt;br /&gt;
    EXEC msdb.dbo.sp_start_job &lt;br /&gt;
        @job_name = @SQLJobName, &lt;br /&gt;
        @server_name = @@SERVERNAME,&lt;br /&gt;
        @step_name = @SQLJobStepName;&lt;br /&gt;
    &lt;br /&gt;
    WHILE (GETDATE() &amp;lt; @SPQuitDateTime) -- not time to quit yet&lt;br /&gt;
    BEGIN&lt;br /&gt;
        -- Check to see if the job has finished successfully&lt;br /&gt;
        INSERT INTO #Result_sp_help_jobhistory&lt;br /&gt;
            (instance_id&lt;br /&gt;
                , job_id&lt;br /&gt;
                , job_name&lt;br /&gt;
                , step_id&lt;br /&gt;
                , step_name&lt;br /&gt;
                , sql_message_id&lt;br /&gt;
                , sql_severity&lt;br /&gt;
                , [message]&lt;br /&gt;
                , run_status&lt;br /&gt;
                , run_date&lt;br /&gt;
                , run_time&lt;br /&gt;
                , run_duration&lt;br /&gt;
                , operator_emailed&lt;br /&gt;
                , operator_netsent&lt;br /&gt;
                , operator_paged&lt;br /&gt;
                , retries_attempted&lt;br /&gt;
                , [server]&lt;br /&gt;
            )&lt;br /&gt;
        EXEC msdb.dbo.sp_help_jobhistory&lt;br /&gt;
            @job_name = @SQLJobName, &lt;br /&gt;
            @start_run_date = @JobStartDateAsString, &lt;br /&gt;
            @start_run_time = @JobStartTimeAsString,&lt;br /&gt;
            --@run_status = 1, -- Success&lt;br /&gt;
            @mode = 'FULL'&lt;br /&gt;
&lt;br /&gt;
        IF(EXISTS(SELECT * &lt;br /&gt;
                    FROM #Result_sp_help_jobhistory&lt;br /&gt;
                    WHERE job_name = @SQLJobName&lt;br /&gt;
                        AND step_name = '(Job outcome)'&lt;br /&gt;
                        AND run_status = 1&lt;br /&gt;
                        AND @JobStartDateTime &amp;lt; CONVERT(DATETIME, CONVERT(VARCHAR(8), run_date) + ' ' + SUBSTRING(CONVERT(VARCHAR(6), run_time), 1, 2) + ':' + SUBSTRING(CONVERT(VARCHAR(6), run_time), 3, 2) + ':' + SUBSTRING(CONVERT(VARCHAR(6), run_time), 5, 2), 112)&lt;br /&gt;
                )&lt;br /&gt;
            )&lt;br /&gt;
        BEGIN&lt;br /&gt;
            -- The job has succceeded at least once after it was called&lt;br /&gt;
            SET @SPOutcome = 1&lt;br /&gt;
            GOTO FinishingStoredProcedureCall;&lt;br /&gt;
        END&lt;br /&gt;
        &lt;br /&gt;
        IF(EXISTS(SELECT * &lt;br /&gt;
                    FROM #Result_sp_help_jobhistory&lt;br /&gt;
                    WHERE job_name = @SQLJobName&lt;br /&gt;
                        AND step_name = '(Job outcome)'&lt;br /&gt;
                        AND run_status = 0&lt;br /&gt;
                        AND @JobStartDateTime &amp;lt; CONVERT(DATETIME, CONVERT(VARCHAR(8), run_date) + ' ' + SUBSTRING(CONVERT(VARCHAR(6), run_time), 1, 2) + ':' + SUBSTRING(CONVERT(VARCHAR(6), run_time), 3, 2) + ':' + SUBSTRING(CONVERT(VARCHAR(6), run_time), 5, 2), 112)&lt;br /&gt;
                )&lt;br /&gt;
            )&lt;br /&gt;
        BEGIN&lt;br /&gt;
            -- The job has failed after it was called&lt;br /&gt;
            GOTO FinishingStoredProcedureCall;&lt;br /&gt;
        END&lt;br /&gt;
        &lt;br /&gt;
        -- Clean up for the next run&lt;br /&gt;
        TRUNCATE TABLE #Result_sp_help_jobhistory&lt;br /&gt;
        &lt;br /&gt;
        -- check every 30 seconds&lt;br /&gt;
        WAITFOR DELAY '00:00:30';&lt;br /&gt;
    END&lt;br /&gt;
    &lt;br /&gt;
    FinishingStoredProcedureCall:&lt;br /&gt;
        SET @JobExecStatus = @SPOutcome&lt;br /&gt;
        DROP TABLE #Result_sp_help_jobhistory;&lt;br /&gt;
    &lt;br /&gt;
END&lt;br /&gt;
&lt;br /&gt;
 &lt;/p&gt;
&lt;p&gt;This SP was made to return an output parameter as result as to maximize reusability of the logic.  In order to use this from BizTalk, it was hooked into the following SP:&lt;/p&gt;
&lt;p&gt;CREATE PROCEDURE [SQLJobExecSyncByNameForBizTalk]&lt;br /&gt;
    @SQLJobName AS [varchar](128),&lt;br /&gt;
    @SQLJobStepName AS [varchar](128),&lt;br /&gt;
    @MinutesToWait AS [int]&lt;br /&gt;
AS&lt;br /&gt;
BEGIN&lt;br /&gt;
    -- SET NOCOUNT ON added to prevent extra result sets from&lt;br /&gt;
    -- interfering with SELECT statements.&lt;br /&gt;
    SET NOCOUNT ON;&lt;br /&gt;
    &lt;br /&gt;
    DECLARE @JobExecStatus AS BIT&lt;br /&gt;
&lt;br /&gt;
    EXEC [ODS].[SQLJobExecSyncByName] &lt;br /&gt;
        @SQLJobName = @SQLJobName,&lt;br /&gt;
        @SQLJobStepName = @SQLJobStepName,&lt;br /&gt;
        @MinutesToWait = @MinutesToWait,&lt;br /&gt;
        @JobExecStatus = @JobExecStatus OUTPUT;&lt;br /&gt;
        &lt;br /&gt;
    SELECT CONVERT(VARCHAR(8), @JobExecStatus)&lt;br /&gt;
         FOR XML PATH(N''), ROOT(N'JobExecStatus');&lt;br /&gt;
        &lt;br /&gt;
END&lt;/p&gt; &lt;img src="http://geekswithblogs.net/LifeLongTechie/aggbug/142555.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Kevin Shyr</dc:creator>
            <guid>http://geekswithblogs.net/LifeLongTechie/archive/2010/11/01/execute-sql-job-synchronously-for-biztalk-via-a-stored-procedure.aspx</guid>
            <pubDate>Mon, 01 Nov 2010 20:18:30 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/LifeLongTechie/comments/142555.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/LifeLongTechie/archive/2010/11/01/execute-sql-job-synchronously-for-biztalk-via-a-stored-procedure.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/LifeLongTechie/comments/commentRss/142555.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/LifeLongTechie/services/trackbacks/142555.aspx</trackback:ping>
        </item>
        <item>
            <title>BizTalk UseAmbientTransaction and System.ObjectDisposedException</title>
            <link>http://geekswithblogs.net/LifeLongTechie/archive/2010/08/25/biztalk-useambienttransaction-and-system.objectdisposedexception.aspx</link>
            <description>&lt;p&gt;[UPDATE:  2010-10-15]&lt;/p&gt;
&lt;p&gt;This update is long overdue.  Once we implemented all the changes, we were still getting that error from time to time.  The sympton was that we would not get that error for hours, even days, but once we get it, the error keeps coming.  After fiddling with some settings, we found that setting the "PollWhileDataFound" to False did the trick.  We have not seen the error since.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;[UPDATE:  2010-08-26]&lt;/p&gt;
&lt;p&gt;We were able to fix our problem by setting the WCF-SQL receive location transaction isolation level.  Go to your BizTalk WCF-SQL receive location --&amp;gt; Click Configure --&amp;gt; Go to Behavior tab --&amp;gt; Set sqlAdapterInboundTransactionBehavior to "ReadCommitted".  We have now set the "UseAmbientTransaction" property to True and have not had any problems for 2 days.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;[Original Post]&lt;/p&gt;
&lt;p&gt;We are continuing to experience the "System.ObjectDisposedException" error with &lt;em&gt;UseAmbientTransaction  set to True&lt;/em&gt; in our receive ports on our production server, and have not found a solution.  For now we will try to separate the polling and the update statement into different steps.&lt;/p&gt;
&lt;p&gt;Background:  &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/biztalkr2adapters/thread/8c043def-6c43-4892-93a4-6201a10a89bc" target="_blank"&gt;http://social.msdn.microsoft.com/Forums/en-US/biztalkr2adapters/thread/8c043def-6c43-4892-93a4-6201a10a89bc&lt;/a&gt;&lt;/p&gt; &lt;img src="http://geekswithblogs.net/LifeLongTechie/aggbug/141475.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Kevin Shyr</dc:creator>
            <guid>http://geekswithblogs.net/LifeLongTechie/archive/2010/08/25/biztalk-useambienttransaction-and-system.objectdisposedexception.aspx</guid>
            <pubDate>Wed, 25 Aug 2010 15:46:05 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/LifeLongTechie/comments/141475.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/LifeLongTechie/archive/2010/08/25/biztalk-useambienttransaction-and-system.objectdisposedexception.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/LifeLongTechie/comments/commentRss/141475.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/LifeLongTechie/services/trackbacks/141475.aspx</trackback:ping>
        </item>
        <item>
            <title>BizTalk Business Rules Install steps for StaticSupport</title>
            <link>http://geekswithblogs.net/LifeLongTechie/archive/2010/08/25/biztalk-business-rules.aspx</link>
            <description>&lt;p&gt;Damn, forgot to do this every time!&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/richardbpi/archive/2005/11/14/492489.aspx" target="_blank"&gt;http://blogs.msdn.com/b/richardbpi/archive/2005/11/14/492489.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial; font-size: 10pt;"&gt;&lt;b&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\BusinessRules\3.0\StaticSupport (DWORD)&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial; font-size: 10pt;"&gt;&lt;b&gt;or&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial; font-size: 10pt;"&gt;&lt;b&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\BusinessRules\3.0&lt;/b&gt;&lt;/span&gt;&lt;span style="font-family: arial; font-size: 10pt;"&gt;&lt;b&gt;\StaticSupport (DWORD)&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial; font-size: 10pt;"&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;b&gt;0&lt;/b&gt; - This is the default key, and pretty much mimics the behavior of BizTalk Server 2004 where an instance of an object is 	always required as an input fact, and the method is only called when the rule is evaluated or executed.&lt;/li&gt;
    &lt;li&gt;&lt;b&gt;1&lt;/b&gt; - An instance of the object is NOT required, and the static method is called whenever the rule is evaluated or executed&lt;/li&gt;
    &lt;li&gt;&lt;b&gt;2&lt;/b&gt; - An instance of the object is NOT required, but the static method will be called at rule translation time (only if the 	parameters are constants).  This is primarily meant as a performance optimization.  However, note that static members used as &lt;b&gt;actions&lt;/b&gt; 	will NOT be executed at translation time, but static methods used as parameters may be.&lt;/li&gt;
&lt;/ul&gt;
&lt;/span&gt;&lt;/p&gt; &lt;img src="http://geekswithblogs.net/LifeLongTechie/aggbug/141474.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Kevin Shyr</dc:creator>
            <guid>http://geekswithblogs.net/LifeLongTechie/archive/2010/08/25/biztalk-business-rules.aspx</guid>
            <pubDate>Wed, 25 Aug 2010 15:02:31 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/LifeLongTechie/comments/141474.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/LifeLongTechie/archive/2010/08/25/biztalk-business-rules.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/LifeLongTechie/comments/commentRss/141474.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/LifeLongTechie/services/trackbacks/141474.aspx</trackback:ping>
        </item>
        <item>
            <title>Embarrassing Gaffe</title>
            <link>http://geekswithblogs.net/LifeLongTechie/archive/2010/01/20/embarrassing-gaffe.aspx</link>
            <description>&lt;p&gt;I was pretty sure the application didn't have an orchestration, and kind of freaked out when the send ports do not have any filter on ReceivePortName.  It's definitely THE most embarrassing moment of my BizTalk life.&lt;/p&gt;
&lt;p&gt;Check and double-check!&lt;/p&gt; &lt;img src="http://geekswithblogs.net/LifeLongTechie/aggbug/137560.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>LifeLongTechie</dc:creator>
            <guid>http://geekswithblogs.net/LifeLongTechie/archive/2010/01/20/embarrassing-gaffe.aspx</guid>
            <pubDate>Wed, 20 Jan 2010 17:59:03 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/LifeLongTechie/comments/137560.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/LifeLongTechie/archive/2010/01/20/embarrassing-gaffe.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/LifeLongTechie/comments/commentRss/137560.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/LifeLongTechie/services/trackbacks/137560.aspx</trackback:ping>
        </item>
        <item>
            <title>Useful T-SQL queries on BizTalk Filter, Send Port, Receive Location, etc.</title>
            <link>http://geekswithblogs.net/LifeLongTechie/archive/2010/01/20/useful-biztalk-queries-on-send-port-receive-locations-filter.aspx</link>
            <description>&lt;p&gt;[2011-02-17]&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: large;"&gt;&lt;strong&gt;Disable all receive locations of Schedule adapter if the system has any suspended messages&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;UPDATE&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; RL&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;SET&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; RL&lt;span style="color: gray;"&gt;.&lt;/span&gt;[Disabled] &lt;span style="color: gray;"&gt;=&lt;/span&gt; &lt;span style="color: gray;"&gt;-&lt;/span&gt;1&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;FROM&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; BizTalkMgmtDb&lt;span style="color: gray;"&gt;.&lt;/span&gt;dbo&lt;span style="color: gray;"&gt;.&lt;/span&gt;adm_ReceiveLocation &lt;span style="color: blue;"&gt;AS&lt;/span&gt; RL &lt;span style="color: blue;"&gt;WITH&lt;/span&gt;&lt;span style="color: gray;"&gt;(&lt;/span&gt;&lt;span style="color: blue;"&gt;READPAST&lt;/span&gt;&lt;span style="color: gray;"&gt;,&lt;/span&gt; &lt;span style="color: blue;"&gt;ROWLOCK&lt;/span&gt;&lt;span style="color: gray;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;      &lt;span style="color: gray;"&gt;INNER&lt;/span&gt; &lt;span style="color: gray;"&gt;JOIN&lt;/span&gt; BizTalkMgmtDb&lt;span style="color: gray;"&gt;.&lt;/span&gt;dbo&lt;span style="color: gray;"&gt;.&lt;/span&gt;bts_receiveport &lt;span style="color: blue;"&gt;AS&lt;/span&gt; RP &lt;span style="color: blue;"&gt;WITH&lt;/span&gt;&lt;span style="color: gray;"&gt;(&lt;/span&gt;&lt;span style="color: blue;"&gt;READPAST&lt;/span&gt;&lt;span style="color: gray;"&gt;,&lt;/span&gt; &lt;span style="color: blue;"&gt;ROWLOCK&lt;/span&gt;&lt;span style="color: gray;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;            &lt;span style="color: blue;"&gt;ON&lt;/span&gt; RL&lt;span style="color: gray;"&gt;.&lt;/span&gt;ReceivePortId &lt;span style="color: gray;"&gt;=&lt;/span&gt; RP&lt;span style="color: gray;"&gt;.&lt;/span&gt;nID&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;      &lt;span style="color: gray;"&gt;INNER&lt;/span&gt; &lt;span style="color: gray;"&gt;JOIN&lt;/span&gt; BizTalkMgmtDb&lt;span style="color: gray;"&gt;.&lt;/span&gt;dbo&lt;span style="color: gray;"&gt;.&lt;/span&gt;bts_application &lt;span style="color: blue;"&gt;AS&lt;/span&gt; APP &lt;span style="color: blue;"&gt;WITH&lt;/span&gt;&lt;span style="color: gray;"&gt;(&lt;/span&gt;&lt;span style="color: blue;"&gt;READPAST&lt;/span&gt;&lt;span style="color: gray;"&gt;,&lt;/span&gt; &lt;span style="color: blue;"&gt;ROWLOCK&lt;/span&gt;&lt;span style="color: gray;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;            &lt;span style="color: blue;"&gt;ON&lt;/span&gt; RP&lt;span style="color: gray;"&gt;.&lt;/span&gt;nApplicationID &lt;span style="color: gray;"&gt;=&lt;/span&gt; APP&lt;span style="color: gray;"&gt;.&lt;/span&gt;nID&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;      &lt;span style="color: gray;"&gt;INNER&lt;/span&gt; &lt;span style="color: gray;"&gt;JOIN&lt;/span&gt; BizTalkMgmtDb&lt;span style="color: gray;"&gt;.&lt;/span&gt;dbo&lt;span style="color: gray;"&gt;.&lt;/span&gt;adm_Adapter &lt;span style="color: blue;"&gt;AS&lt;/span&gt; AD &lt;span style="color: blue;"&gt;WITH&lt;/span&gt;&lt;span style="color: gray;"&gt;(&lt;/span&gt;&lt;span style="color: blue;"&gt;READPAST&lt;/span&gt;&lt;span style="color: gray;"&gt;,&lt;/span&gt; &lt;span style="color: blue;"&gt;ROWLOCK&lt;/span&gt;&lt;span style="color: gray;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;            &lt;span style="color: blue;"&gt;ON&lt;/span&gt; RL&lt;span style="color: gray;"&gt;.&lt;/span&gt;AdapterId &lt;span style="color: gray;"&gt;=&lt;/span&gt; AD&lt;span style="color: gray;"&gt;.&lt;/span&gt;Id&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;WHERE&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;      APP&lt;span style="color: gray;"&gt;.&lt;/span&gt;nvcName &lt;span style="color: gray;"&gt;=&lt;/span&gt; &lt;span style="color: red;"&gt;'?'&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;      &lt;span style="color: gray;"&gt;AND&lt;/span&gt; AD&lt;span style="color: gray;"&gt;.&lt;/span&gt;[Name] &lt;span style="color: gray;"&gt;=&lt;/span&gt; &lt;span style="color: red;"&gt;'Schedule'&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;      &lt;span style="color: gray;"&gt;AND&lt;/span&gt; RL&lt;span style="color: gray;"&gt;.&lt;/span&gt;Name &lt;span style="color: gray;"&gt;NOT&lt;/span&gt; &lt;span style="color: gray;"&gt;LIKE&lt;/span&gt; &lt;span style="color: red;"&gt;'%Disabled%'&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;      &lt;span style="color: gray;"&gt;AND&lt;/span&gt; RL&lt;span style="color: gray;"&gt;.&lt;/span&gt;[Disabled] &lt;span style="color: gray;"&gt;=&lt;/span&gt; 0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;      &lt;span style="color: gray;"&gt;AND&lt;/span&gt; &lt;span style="color: gray;"&gt;EXISTS(&lt;/span&gt;&lt;span style="color: blue;"&gt;SELECT&lt;/span&gt; &lt;span style="color: gray;"&gt;*&lt;/span&gt; &lt;span style="color: blue;"&gt;FROM&lt;/span&gt; BizTalkMsgBoxDb&lt;span style="color: gray;"&gt;.&lt;/span&gt;dbo&lt;span style="color: gray;"&gt;.&lt;/span&gt;InstancesSuspended &lt;span style="color: blue;"&gt;WITH&lt;/span&gt;&lt;span style="color: gray;"&gt;(&lt;/span&gt;&lt;span style="color: blue;"&gt;READPAST&lt;/span&gt;&lt;span style="color: gray;"&gt;,&lt;/span&gt; &lt;span style="color: blue;"&gt;ROWLOCK&lt;/span&gt;&lt;span style="color: gray;"&gt;))&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: large;"&gt;&lt;strong&gt;Looking for down Receive Locations and send ports&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;SELECT&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;    SPTP&lt;span style="color: gray;"&gt;.&lt;/span&gt;nvcAddress &lt;span style="color: blue;"&gt;AS&lt;/span&gt; SendingURI&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;    &lt;span style="color: gray;"&gt;,&lt;/span&gt; SP&lt;span style="color: gray;"&gt;.&lt;/span&gt;nvcName &lt;span style="color: blue;"&gt;AS&lt;/span&gt; SendPortName&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;FROM&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;    BizTalkMgmtDb&lt;span style="color: gray;"&gt;.&lt;/span&gt;dbo&lt;span style="color: gray;"&gt;.&lt;/span&gt;bts_sendport_transport &lt;span style="color: blue;"&gt;AS&lt;/span&gt; SPTP &lt;span style="color: blue;"&gt;WITH&lt;/span&gt;&lt;span style="color: gray;"&gt;(&lt;/span&gt;&lt;span style="color: blue;"&gt;READPAST&lt;/span&gt;&lt;span style="color: gray;"&gt;,&lt;/span&gt; &lt;span style="color: blue;"&gt;ROWLOCK&lt;/span&gt;&lt;span style="color: gray;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;    &lt;span style="color: gray;"&gt;INNER&lt;/span&gt; &lt;span style="color: gray;"&gt;JOIN&lt;/span&gt; BizTalkMgmtDb&lt;span style="color: gray;"&gt;.&lt;/span&gt;dbo&lt;span style="color: gray;"&gt;.&lt;/span&gt;bts_sendport &lt;span style="color: blue;"&gt;AS&lt;/span&gt; SP &lt;span style="color: blue;"&gt;WITH&lt;/span&gt;&lt;span style="color: gray;"&gt;(&lt;/span&gt;&lt;span style="color: blue;"&gt;READPAST&lt;/span&gt;&lt;span style="color: gray;"&gt;,&lt;/span&gt; &lt;span style="color: blue;"&gt;ROWLOCK&lt;/span&gt;&lt;span style="color: gray;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;        &lt;span style="color: blue;"&gt;ON&lt;/span&gt; SPTP&lt;span style="color: gray;"&gt;.&lt;/span&gt;nSendPortID &lt;span style="color: gray;"&gt;=&lt;/span&gt; SP&lt;span style="color: gray;"&gt;.&lt;/span&gt;nID&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;    &lt;span style="color: gray;"&gt;INNER&lt;/span&gt; &lt;span style="color: gray;"&gt;JOIN&lt;/span&gt; BizTalkMgmtDb&lt;span style="color: gray;"&gt;.&lt;/span&gt;dbo&lt;span style="color: gray;"&gt;.&lt;/span&gt;bts_application &lt;span style="color: blue;"&gt;AS&lt;/span&gt; APP &lt;span style="color: blue;"&gt;WITH&lt;/span&gt;&lt;span style="color: gray;"&gt;(&lt;/span&gt;&lt;span style="color: blue;"&gt;READPAST&lt;/span&gt;&lt;span style="color: gray;"&gt;,&lt;/span&gt; &lt;span style="color: blue;"&gt;ROWLOCK&lt;/span&gt;&lt;span style="color: gray;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;        &lt;span style="color: blue;"&gt;ON&lt;/span&gt; SP&lt;span style="color: gray;"&gt;.&lt;/span&gt;nApplicationID &lt;span style="color: gray;"&gt;=&lt;/span&gt; APP&lt;span style="color: gray;"&gt;.&lt;/span&gt;nID&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;WHERE&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;    APP&lt;span style="color: gray;"&gt;.&lt;/span&gt;nvcName &lt;span style="color: gray;"&gt;=&lt;/span&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="background-color: rgb(255, 255, 255);"&gt;&lt;span style="font-size: 10pt;"&gt;'?'&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;    &lt;span style="color: gray;"&gt;AND&lt;/span&gt; SP&lt;span style="color: gray;"&gt;.&lt;/span&gt;nPortStatus &lt;span style="color: gray;"&gt;&amp;lt;&amp;gt;&lt;/span&gt; 3&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;    &lt;span style="color: gray;"&gt;AND&lt;/span&gt; SP&lt;span style="color: gray;"&gt;.&lt;/span&gt;nvcName &lt;span style="color: gray;"&gt;NOT&lt;/span&gt; &lt;span style="color: gray;"&gt;LIKE&lt;/span&gt; &lt;span style="color: red;"&gt;'%unenlisted%'&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;    &lt;span style="color: gray;"&gt;AND&lt;/span&gt; SPTP&lt;span style="color: gray;"&gt;.&lt;/span&gt;nTransportTypeId &lt;span style="color: gray;"&gt;IS&lt;/span&gt; &lt;span style="color: gray;"&gt;NOT&lt;/span&gt; &lt;span style="color: gray;"&gt;NULL&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;SELECT&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;    RL&lt;span style="color: gray;"&gt;.&lt;/span&gt;Name &lt;span style="color: blue;"&gt;AS&lt;/span&gt; ReceiveLocationName&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;    &lt;span style="color: gray;"&gt;,&lt;/span&gt; RL&lt;span style="color: gray;"&gt;.&lt;/span&gt;InboundTransportURL &lt;span style="color: blue;"&gt;AS&lt;/span&gt; InboundTransportURL&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;    &lt;span style="color: gray;"&gt;,&lt;/span&gt; RP&lt;span style="color: gray;"&gt;.&lt;/span&gt;nvcName &lt;span style="color: blue;"&gt;AS&lt;/span&gt; ReceivePortName&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;FROM&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt; BizTalkMgmtDb&lt;span style="color: gray;"&gt;.&lt;/span&gt;dbo&lt;span style="color: gray;"&gt;.&lt;/span&gt;adm_ReceiveLocation &lt;span style="color: blue;"&gt;AS&lt;/span&gt; RL &lt;span style="color: blue;"&gt;WITH&lt;/span&gt;&lt;span style="color: gray;"&gt;(&lt;/span&gt;&lt;span style="color: blue;"&gt;READPAST&lt;/span&gt;&lt;span style="color: gray;"&gt;,&lt;/span&gt; &lt;span style="color: blue;"&gt;ROWLOCK&lt;/span&gt;&lt;span style="color: gray;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;    &lt;span style="color: gray;"&gt;INNER&lt;/span&gt; &lt;span style="color: gray;"&gt;JOIN&lt;/span&gt; BizTalkMgmtDb&lt;span style="color: gray;"&gt;.&lt;/span&gt;dbo&lt;span style="color: gray;"&gt;.&lt;/span&gt;bts_receiveport &lt;span style="color: blue;"&gt;AS&lt;/span&gt; RP &lt;span style="color: blue;"&gt;WITH&lt;/span&gt;&lt;span style="color: gray;"&gt;(&lt;/span&gt;&lt;span style="color: blue;"&gt;READPAST&lt;/span&gt;&lt;span style="color: gray;"&gt;,&lt;/span&gt; &lt;span style="color: blue;"&gt;ROWLOCK&lt;/span&gt;&lt;span style="color: gray;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;        &lt;span style="color: blue;"&gt;ON&lt;/span&gt; RL&lt;span style="color: gray;"&gt;.&lt;/span&gt;ReceivePortId &lt;span style="color: gray;"&gt;=&lt;/span&gt; RP&lt;span style="color: gray;"&gt;.&lt;/span&gt;nID&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;    &lt;span style="color: gray;"&gt;INNER&lt;/span&gt; &lt;span style="color: gray;"&gt;JOIN&lt;/span&gt; BizTalkMgmtDb&lt;span style="color: gray;"&gt;.&lt;/span&gt;dbo&lt;span style="color: gray;"&gt;.&lt;/span&gt;bts_application &lt;span style="color: blue;"&gt;AS&lt;/span&gt; APP &lt;span style="color: blue;"&gt;WITH&lt;/span&gt;&lt;span style="color: gray;"&gt;(&lt;/span&gt;&lt;span style="color: blue;"&gt;READPAST&lt;/span&gt;&lt;span style="color: gray;"&gt;,&lt;/span&gt; &lt;span style="color: blue;"&gt;ROWLOCK&lt;/span&gt;&lt;span style="color: gray;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;        &lt;span style="color: blue;"&gt;ON&lt;/span&gt; RP&lt;span style="color: gray;"&gt;.&lt;/span&gt;nApplicationID &lt;span style="color: gray;"&gt;=&lt;/span&gt; APP&lt;span style="color: gray;"&gt;.&lt;/span&gt;nID&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;WHERE&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;    APP&lt;span style="color: gray;"&gt;.&lt;/span&gt;nvcName &lt;span style="color: gray;"&gt;=&lt;/span&gt; &lt;span style="color: red;"&gt;'?'&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 10pt;"&gt;    &lt;span style="color: gray;"&gt;AND&lt;/span&gt; RL&lt;span style="color: gray;"&gt;.&lt;/span&gt;[Disabled] &lt;span style="color: gray;"&gt;=&lt;/span&gt; &lt;span style="color: gray;"&gt;-&lt;/span&gt;1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-size: 10pt; line-height: 115%;"&gt;    &lt;span style="color: gray;"&gt;AND&lt;/span&gt; RL&lt;span style="color: gray;"&gt;.&lt;/span&gt;Name &lt;span style="color: gray;"&gt;NOT&lt;/span&gt; &lt;span style="color: gray;"&gt;LIKE&lt;/span&gt; &lt;span style="color: red;"&gt;'%Disabled%'&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;[2010-01-21]&lt;br /&gt;
&lt;span style="font-size: large;"&gt;Looking for all send ports and their applications that subscribe to a receive port's messages&lt;/span&gt;&lt;br /&gt;
 &lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;WITH&lt;br /&gt;
&lt;/span&gt;&lt;font size="2"&gt;TmpXMLNode&lt;br /&gt;
&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;  (&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; SendPortName&lt;br /&gt;
&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;    ,&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; ApplicationName&lt;br /&gt;
&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;    ,&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; tmpcol&lt;br /&gt;
&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;  )&lt;br /&gt;
&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;AS&lt;br /&gt;
&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;  (&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;SELECT&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;br /&gt;
    SP&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;.&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;nvcName &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;AS&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; SendPortName&lt;br /&gt;
&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;    ,&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; APP&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;.&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;nvcName &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;AS&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; ApplicationName&lt;br /&gt;
&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;    ,&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff00ff"&gt;&lt;font size="2" color="#ff00ff"&gt;CAST&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#ff00ff"&gt;&lt;font size="2" color="#ff00ff"&gt;REPLACE&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#ff00ff"&gt;&lt;font size="2" color="#ff00ff"&gt;REPLACE&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#ff00ff"&gt;&lt;font size="2" color="#ff00ff"&gt;REPLACE&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#ff00ff"&gt;&lt;font size="2" color="#ff00ff"&gt;CONVERT&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;NVARCHAR&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#ff00ff"&gt;&lt;font size="2" color="#ff00ff"&gt;MAX&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;),&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; SP&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;.&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;nvcFilter&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;),&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;'&amp;amp;gt;'&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;,&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;'&amp;gt;'&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;),&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;'&amp;amp;lt;'&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;,&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;'&amp;lt;'&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;),&lt;br /&gt;
&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;      'xmlns="http://www.w3.org/2001/XMLSchema-instance"'&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;,&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;''&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;AS&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;XML&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;AS&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; tmpcol&lt;br /&gt;
&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;  FROM&lt;br /&gt;
&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;    bts_sendport &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;AS&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; SP&lt;br /&gt;
&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;    INNER&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;JOIN&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; bts_application &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;AS&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; APP&lt;br /&gt;
&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;      ON&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; SP&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;.&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;nApplicationID &lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; APP&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;.&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;nID&lt;br /&gt;
&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;  WHERE&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;br /&gt;
&lt;/font&gt;&lt;font size="2" color="#ff00ff"&gt;&lt;font size="2" color="#ff00ff"&gt;    CONVERT&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;VARCHAR&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#ff00ff"&gt;&lt;font size="2" color="#ff00ff"&gt;MAX&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;),&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; nvcFilter&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;&amp;lt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;''&lt;br /&gt;
&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;  )&lt;br /&gt;
&lt;br /&gt;
&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;SELECT&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;br /&gt;
  SendPortName&lt;br /&gt;
&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;  ,&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; ApplicationName&lt;br /&gt;
&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;  ,&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff00ff"&gt;&lt;font size="2" color="#ff00ff"&gt;CONVERT&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;VARCHAR&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;255&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;),&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; nref&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;.&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;query&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;'data(@Value)'&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;))&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;AS&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; FilterValue&lt;br /&gt;
&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;  ,&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff00ff"&gt;&lt;font size="2" color="#ff00ff"&gt;CONVERT&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;VARCHAR&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;255&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;),&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; nref&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;.&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;query&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;'data(@Property)'&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;))&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;AS&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; FilterProperty&lt;br /&gt;
&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;FROM&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;br /&gt;
  TmpXMLNode&lt;br /&gt;
&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;  CROSS&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;APPLY&lt;br /&gt;
&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;    TmpXMLNode&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;.&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;tmpcol&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;.&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;nodes&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;'/Filter/Group/Statement'&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;AS&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; R&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;nref&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;)&lt;br /&gt;
&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;WHERE&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;br /&gt;
&lt;/font&gt;&lt;font size="2" color="#ff00ff"&gt;&lt;font size="2" color="#ff00ff"&gt;  CONVERT&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;VARCHAR&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;255&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;),&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; nref&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;.&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;query&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;'data(@Property)'&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;))&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;'BTS.ReceivePortName'&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#008000"&gt;&lt;font size="2" color="#008000"&gt;-- filter type&lt;br /&gt;
&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;  AND&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff00ff"&gt;&lt;font size="2" color="#ff00ff"&gt;CONVERT&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;VARCHAR&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;255&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;),&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; nref&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;.&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;query&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;'data(@Value)'&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;))&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#808080"&gt;&lt;font size="2" color="#808080"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;'[Receive port name]'&lt;/font&gt;&lt;/font&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;[2010-01-20]&lt;br /&gt;
&lt;span style="font-size: large;"&gt;Looking for all the send ports that send to a specific location:&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;&lt;span style="color: blue; font-size: 10pt;"&gt;
&lt;div&gt;&lt;span style="font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;SELECT&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;      &lt;span style="color: rgb(0, 0, 0);"&gt;SPTP.nvcAddress&lt;/span&gt; &lt;span style="color: blue;"&gt;AS&lt;/span&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;SendingURI&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;      &lt;span style="color: rgb(0, 0, 0);"&gt;, SP.nvcName&lt;/span&gt; AS &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;SendPortName&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;      &lt;span style="color: rgb(0, 0, 0);"&gt;, SP.nPortStatus&lt;/span&gt; &lt;span style="color: blue;"&gt;AS&lt;/span&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;SendPortStatus&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;      &lt;span style="color: rgb(0, 0, 0);"&gt;, APP.nvcName&lt;/span&gt; &lt;span style="color: blue;"&gt;AS&lt;/span&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;ApplicationName&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;      &lt;span style="color: rgb(0, 0, 0);"&gt;, APP.DateModified&lt;/span&gt; &lt;span style="color: blue;"&gt;AS&lt;/span&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;ApplicationDateModified&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;FROM&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;      &lt;span style="color: rgb(0, 0, 0);"&gt;bts_sendport_transport &lt;/span&gt;&lt;span style="color: blue;"&gt;AS&lt;/span&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;SPTP&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;      &lt;span style="color: gray;"&gt;INNER&lt;/span&gt; &lt;span style="color: gray;"&gt;JOIN&lt;/span&gt; &lt;span style="color: rgb(0, 0, 0);"&gt;bts_sendport &lt;/span&gt;&lt;span style="color: blue;"&gt;AS&lt;/span&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;SP&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;            &lt;span style="color: blue;"&gt;ON&lt;/span&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;SPTP.nSendPortID = SP.nID&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;      &lt;span style="color: gray;"&gt;INNER&lt;/span&gt; &lt;span style="color: gray;"&gt;JOIN&lt;/span&gt; &lt;span style="color: rgb(0, 0, 0);"&gt;bts_application&lt;/span&gt; &lt;span style="color: blue;"&gt;AS&lt;/span&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;APP&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;            &lt;span style="color: blue;"&gt;ON&lt;/span&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;SP.nApplicationID = APP.nID&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;WHERE&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;      &lt;span style="color: rgb(0, 0, 0);"&gt;SPTP.nvcAddress &lt;/span&gt;&lt;span style="color: gray;"&gt;like&lt;/span&gt; &lt;span style="color: red;"&gt;'ftp://ftp.[some company].com%'&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;p&gt; &lt;/p&gt; &lt;img src="http://geekswithblogs.net/LifeLongTechie/aggbug/137559.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Kevin Shyr</dc:creator>
            <guid>http://geekswithblogs.net/LifeLongTechie/archive/2010/01/20/useful-biztalk-queries-on-send-port-receive-locations-filter.aspx</guid>
            <pubDate>Wed, 20 Jan 2010 17:33:10 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/LifeLongTechie/comments/137559.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/LifeLongTechie/archive/2010/01/20/useful-biztalk-queries-on-send-port-receive-locations-filter.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/LifeLongTechie/comments/commentRss/137559.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/LifeLongTechie/services/trackbacks/137559.aspx</trackback:ping>
        </item>
        <item>
            <title>BizTalk FILE adapter mask is a prefix</title>
            <link>http://geekswithblogs.net/LifeLongTechie/archive/2010/01/13/biztalk-file-adapter-mask-is-a-prefix.aspx</link>
            <description>&lt;p&gt;It seems like the file mask we can enter into the File Mask textbox in a BizTalk FILE port configuration is a prefix.  I entered a mask that is "fix_*.txt" and the port is picking up everything with that prefix.  I had quite a few files with .txt[datetimestamp] in the folder and everything was picked up, created quite a havoc.&lt;/p&gt; &lt;img src="http://geekswithblogs.net/LifeLongTechie/aggbug/137472.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>LifeLongTechie</dc:creator>
            <guid>http://geekswithblogs.net/LifeLongTechie/archive/2010/01/13/biztalk-file-adapter-mask-is-a-prefix.aspx</guid>
            <pubDate>Wed, 13 Jan 2010 18:09:43 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/LifeLongTechie/comments/137472.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/LifeLongTechie/archive/2010/01/13/biztalk-file-adapter-mask-is-a-prefix.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/LifeLongTechie/comments/commentRss/137472.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/LifeLongTechie/services/trackbacks/137472.aspx</trackback:ping>
        </item>
    </channel>
</rss>
