<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>BizTalk Tips &amp; Things</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/amantaras/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/amantaras/feed.xml</link>
    <description>Agustin Mantaras BizTalk Blog</description>
    <lastBuildDate>Tue, 16 Apr 2019 04:37:10 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>DTA purging job is not deleting old active instances</title>
      <link>https://docs.microsoft.com/archive/blogs/amantaras/dta-purging-job-is-not-deleting-old-active-instances</link>
      <pubDate>Thu, 10 May 2018 09:51:42 GMT</pubDate>
      <dc:creator><![CDATA[Agustín Mántaras]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/amantaras/?p=1455</guid>
      <description><![CDATA[The purging job is designed to delete also the active instances using the hard purge configuration....]]></description>
      <content:encoded><![CDATA[The purging job is designed to delete also the active instances using the hard purge configuration. However, if you do not set the fHardDeleteRunningInstances parameter to 1, the job will not delete them.

<a href="https://msdnshared.blob.core.windows.net/media/2018/05/DTAPurgiungJobCode.jpg"><img src="https://msdnshared.blob.core.windows.net/media/2018/05/DTAPurgiungJobCode-1024x173.jpg" alt="" width="879" height="149" class="alignnone size-large wp-image-1465" /></a>

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>BizTalk 2016 feature pack 2 released!</title>
      <link>https://docs.microsoft.com/archive/blogs/amantaras/biztalk-2016-feature-pack-2-released</link>
      <pubDate>Wed, 22 Nov 2017 05:40:53 GMT</pubDate>
      <dc:creator><![CDATA[Agustín Mántaras]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/amantaras/?p=1446</guid>
      <description><![CDATA[Yesterday, the BizTalk product team has released the feature pack 2 that contains very exciting new...]]></description>
      <content:encoded><![CDATA[Y<span style="float: none;background-color: transparent;color: #333333;cursor: text;font-family: Georgia,'Times New Roman','Bitstream Charter',Times,serif;font-size: 16px;font-style: normal;font-variant: normal;font-weight: 400;letter-spacing: normal;line-height: 24px;text-align: left;text-decoration: none;text-indent: 0px">esterday, t</span>he BizTalk product team has released the feature pack 2 that contains very exciting new features:

<b><span><span style="font-family: Calibri">Deployment and Administration</span></span></b><span></span>
<ul type="disc">
 	<li style="margin: 0px 0px 10.66px;color: #333333;line-height: 105%;font-family: 'Calibri',sans-serif;font-size: 11pt;font-style: normal;font-weight: normal"><span>Application Lifecycle Management with VSTS</span>
<ul type="circle">
 	<li style="margin: 0px 0px 10.66px;color: #333333;line-height: 105%;font-family: 'Calibri',sans-serif;font-size: 11pt;font-style: normal;font-weight: normal"><span>Using Visual Studio Team Services, you can define multi-server deployments of BizTalk Server 2016, and then maintain those systems throughout the application lifecycle.</span></li>
</ul>
</li>
 	<li style="margin: 0px 0px 10.66px;color: #333333;line-height: 105%;font-family: 'Calibri',sans-serif;font-size: 11pt;font-style: normal;font-weight: normal"><span>Backup to Azure Blob Storage</span>
<ul type="circle">
 	<li style="margin: 0px 0px 10.66px;color: #333333;line-height: 105%;font-family: 'Calibri',sans-serif;font-size: 11pt;font-style: normal;font-weight: normal"><span>When deploying BizTalk Server to Azure VMs, you can backup BizTalk Server databases to Azure blob storage.</span></li>
</ul>
</li>
</ul>
<b><span><span style="font-family: Calibri">Server Runtime</span></span></b><span></span>
<ul type="disc">
 	<li style="margin: 0px 0px 10.66px;color: #333333;line-height: 105%;font-family: 'Calibri',sans-serif;font-size: 11pt;font-style: normal;font-weight: normal"><span>Adapter for Service Bus v2</span>
<ul type="circle">
 	<li style="margin: 0px 0px 10.66px;color: #333333;line-height: 105%;font-family: 'Calibri',sans-serif;font-size: 11pt;font-style: normal;font-weight: normal"><span>When using the Service Bus Adapter, you can utilize Azure Service Bus Premium for enterprise-scale workloads.</span></li>
</ul>
</li>
 	<li style="margin: 0px 0px 10.66px;color: #333333;line-height: 105%;font-family: 'Calibri',sans-serif;font-size: 11pt;font-style: normal;font-weight: normal"><span>Transport Layer Security 1.2</span>
<ul type="circle">
 	<li style="margin: 0px 0px 10.66px;color: #333333;line-height: 105%;font-family: 'Calibri',sans-serif;font-size: 11pt;font-style: normal;font-weight: normal"><span>Securely deploy BizTalk Server using industry-standard TLS 1.2 authentication and encryption.</span></li>
</ul>
</li>
 	<li style="margin: 0px 0px 10.66px;color: #333333;line-height: 105%;font-family: 'Calibri',sans-serif;font-size: 11pt;font-style: normal;font-weight: normal"><span>API Management</span>
<ul type="circle">
 	<li style="margin: 0px 0px 10.66px;color: #333333;line-height: 105%;font-family: 'Calibri',sans-serif;font-size: 11pt;font-style: normal;font-weight: normal"><span>Publish Orchestration endpoints using Azure API Management, enabling organizations to publish APIs to external, partner and internal developers to unlock the potential of their data and services.</span></li>
</ul>
</li>
 	<li style="margin: 0px 0px 10.66px;color: #333333;line-height: 105%;font-family: 'Calibri',sans-serif;font-size: 11pt;font-style: normal;font-weight: normal"><span>Event Hubs</span>
<ul type="circle">
 	<li style="margin: 0px 0px 10.66px;color: #333333;line-height: 105%;font-family: 'Calibri',sans-serif;font-size: 11pt;font-style: normal;font-weight: normal"><span>Using the new Event Hub Adapter, BizTalk Server can send and receive messages with Azure Event Hubs, where BizTalk Server can function as both an event publisher and subscriber, as part of a new Azure cloud-based event-driven application.</span></li>
</ul>
</li>
</ul>
<b><span><span style="font-family: Calibri"> </span></span></b>

<b><span><span style="font-family: Calibri">Analytics and Reporting</span></span></b>
<ul type="disc">
 	<li style="margin: 0px 0px 10.66px;color: #333333;line-height: 105%;font-family: 'Calibri',sans-serif;font-size: 11pt;font-style: normal;font-weight: normal"><span>Event Hubs</span>
<ul type="circle">
 	<li style="margin: 0px 0px 10.66px;color: #333333;line-height: 105%;font-family: 'Calibri',sans-serif;font-size: 11pt;font-style: normal;font-weight: normal"><span>Send BizTalk Server tracking data to Azure Event Hubs, a hyper-scale telemetry ingestion service that collects, transforms, and stores millions of events.</span></li>
</ul>
</li>
 	<li style="margin: 0px 0px 10.66px;color: #333333;line-height: 105%;font-family: 'Calibri',sans-serif;font-size: 11pt;font-style: normal;font-weight: normal"><span>Application Insights</span>
<ul type="circle">
 	<li style="margin: 0px 0px 10.66px;color: #333333;line-height: 105%;font-family: 'Calibri',sans-serif;font-size: 11pt;font-style: normal;font-weight: normal"><span>When preparing BizTalk Server to send tracking data to Application Insights, released in FP1, you can use the new Azure sign-in dialog to simplify configuration and named instances of SQL Server.</span></li>
</ul>
</li>
</ul>
<b><span><span style="font-family: Calibri"> </span></span></b>

<b><span><span style="font-family: Calibri">Licensing</span></span></b><span></span>
<ul type="disc">
 	<li style="margin: 0px 0px 10.66px;color: #333333;line-height: 105%;font-family: 'Calibri',sans-serif;font-size: 11pt;font-style: normal;font-weight: normal"><span>Microsoft customers with Software Assurance or Azure Enterprise Agreements are licensed to use Feature Pack 2.</span></li>
 	<li style="margin: 0px 0px 10.66px;color: #333333;line-height: 105%;font-family: 'Calibri',sans-serif;font-size: 11pt;font-style: normal;font-weight: normal"><span>BizTalk Server 2016 Feature Pack 2 can be installed on Enterprise and Developer editions only.</span></li>
</ul>
<b><span><span style="font-family: Calibri"> </span></span></b>

<b><span><span style="font-family: Calibri">Software</span></span></b><span></span>
<ul type="disc">
 	<li style="margin: 0px 0px 10.66px;color: #333333;line-height: 105%;font-family: 'Calibri',sans-serif;font-size: 11pt;font-style: normal;font-weight: normal"><span>BizTalk Server 2016 Feature Pack 2 contains all the functionality of Feature Pack 1, plus all the fixes in Cumulative Update 3.</span></li>
 	<li style="margin: 0px 0px 10.66px;color: #333333;line-height: 105%;font-family: 'Calibri',sans-serif;font-size: 11pt;font-style: normal;font-weight: normal"><span>You can install Feature Pack 2 on BizTalk Server 2016 Enterprise and Developer Edition (retail, CU1, CU2, CU3, FP1).</span></li>
 	<li style="margin: 0px 0px 10.66px;color: #333333;line-height: 105%;font-family: 'Calibri',sans-serif;font-size: 11pt;font-style: normal;font-weight: normal"><span>Download the software now from the </span><span><a href="https://aka.ms/BTS2016FP2">Microsoft Download Center</a></span><span>.</span></li>
</ul>
<b><span><span style="font-family: Calibri"> </span></span></b>

<b><span><span style="font-family: Calibri">Documentation</span></span></b>

<span style="font-family: Calibri"><span>You can learn more about FP2 by reading the </span><a href="https://go.microsoft.com/fwlink/?linkid=863527">documentation</a><span> articles. Please contribute to improving our documentation, by joining our BizTalk Server community on </span><a href="https://github.com/MicrosoftDocs/biztalk-docs">GitHub</a><span>.</span></span>

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Cannot validate argument on parameter (BizTalk 2016 deployment, feature pack 1)</title>
      <link>https://docs.microsoft.com/archive/blogs/amantaras/cannot-validate-argument-on-parameter-biztalk-2016-deployment-feature-pack-1</link>
      <pubDate>Sun, 05 Nov 2017 11:45:20 GMT</pubDate>
      <dc:creator><![CDATA[Agustín Mántaras]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/amantaras/?p=1426</guid>
      <description><![CDATA[When working with the new feature pack feature related to auto build and deployment, you can get the...]]></description>
      <content:encoded><![CDATA[<span style="color: #000000;font-family: Calibri">When working with the new feature pack feature related to auto build and deployment, you can get the following error in the deployment phase:</span>

<span style="color: #000000;font-family: Calibri">Error:</span>

<span style="color: #000000;font-family: Calibri">2017-11-02T08:25:50.9704669Z ##[error]Cannot validate argument on parameter 'PackagePath'. The " Test-Path -Path $_ -PathType 'Leaf' " validation script for the argument with value "<em><strong>your path</strong></em>" did not return a result of True. Determine why the validation script failed, and then try the command again.</span>

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2017/11/deployment-failed.jpg"><img width="879" height="588" class="alignnone size-large wp-image-1435" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/11/deployment-failed-1024x685.jpg" /></a>

As it is stated in the official BizTalk Server documentation here:<a href="https://docs.microsoft.com/en-us/biztalk/core/add-a-biztalk-server-application-to-visual-studio-team-services"> https://docs.microsoft.com/en-us/biztalk/core/add-a-biztalk-server-application-to-visual-studio-team-services</a> a new application project should be added to your BizTalk Server solution (<span><b><span style="font-family: Segoe WP">BizTalk Server Application Project</span></b></span><span style="margin: 0px;color: #222222;font-family: 'Segoe UI',sans-serif;font-size: 11pt"> (.btaproj).</span>)

However, it might happen that when you try to add this new kind of project it is not available. This is because Visual Studio is not targeting the right .NET Framework version for this new BizTalk Server feature (required  &gt;= 4.61)

<a href="https://msdnshared.blob.core.windows.net/media/2017/11/FrameWorkVersion.jpg"><img width="879" height="370" class="alignnone size-large wp-image-1436" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/11/FrameWorkVersion-1024x431.jpg" /></a>

Now the new project will become available and after you set up the all properties as per the previous referenced documentation, everything should run smoothly:

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2017/11/deployment-OK.jpg"><img width="879" height="676" class="alignnone size-large wp-image-1445" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/11/deployment-OK-1024x788.jpg" /></a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Error configuring SSO service BizTalk 2016 in a SQL Server availability group</title>
      <link>https://docs.microsoft.com/archive/blogs/amantaras/error-configuring-sso-service-biztalk-2016-in-a-sql-server-availability-group</link>
      <pubDate>Mon, 30 Oct 2017 05:49:19 GMT</pubDate>
      <dc:creator><![CDATA[Agustín Mántaras]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/amantaras/?p=1405</guid>
      <description><![CDATA[I got this error while configuring SSO using the BizTalk Server Configuration...]]></description>
      <content:encoded><![CDATA[<strong>I got this error while configuring SSO using the BizTalk Server Configuration tool:</strong>

&nbsp;

[DBNETLIB][ConnectionOpen (SECCreateCredentials()).]SSL Security Error error(ConfigHelper)

<a href="https://msdnshared.blob.core.windows.net/media/2017/10/SSO-ERrorjpg.jpg"><img width="300" height="297" class="alignnone size-medium wp-image-1415" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/10/SSO-ERrorjpg-300x297.jpg" /></a>

&nbsp;

<strong>and this is the configuration log specific information: </strong>

11:20:49 AM Info SSOServerCfg] (ssoconfigobj2.cpp:5164) Returning error description: &lt;Exception Message="There was an error in the SSO configuration module. See the configuration log for further details." Source="SSO" HelpID=""&gt;&lt;Exception Message="(0x80070433) The dependency service does not exist or has been marked for deletion. " Source="Win32" HelpID=""/&gt;&lt;/Exception&gt;

[11:20:49 AM Warning SSOServerCfg] (ssoconfigobj2.cpp:1657) CSSOServerCfg::ConfigureFeature: <strong>0x80004005</strong> (-2147467259)

[2017-10-23 11:20:49:0655 Warning Configuration Framework]<strong>Feature failed to configure: SSOServer,Engine.</strong>

[2017-10-23 11:21:10:0994 Info Configuration Framework]Configuration Summaries:

[2017-10-23 11:21:10:0995 Error Configuration Framework]Feature: [Enterprise SSO] Failed to configure with error message [&lt;Exception Message="<strong>There was an error in the SSO configuration module. See the configuration log for further details." Source="SSO" HelpID=""&gt;&lt;Exception</strong>

Version:1.0 StartHTML:000000227 EndHTML:000002812 StartFragment:000002682 EndFragment:000002776 StartSelection:000002682 EndSelection:000002776 SourceURL:https://blogs.msdn.microsoft.com/amantaras/wp-admin/post-new.php .mce-content-body div.mce-resizehandle {position: absolute;border: 1px solid black;box-sizing: box-sizing;background: #FFF;width: 7px;height: 7px;z-index: 10000}.mce-content-body .mce-resizehandle:hover {background: #000}.mce-content-body img[data-mce-selected],.mce-content-body hr[data-mce-selected] {outline: 1px solid black;resize: none}.mce-content-body .mce-clonedresizable {position: absolute;outline: 1px dashed black;opacity: .5;filter: alpha(opacity=50);z-index: 10000}.mce-content-body .mce-resize-helper {background: #555;background: rgba(0,0,0,0.75);border-radius: 3px;border: 1px;color: white;display: none;font-family: sans-serif;font-size: 12px;white-space: nowrap;line-height: 14px;margin: 5px 10px;padding: 5px;position: absolute;z-index: 10001}
.mce-visual-caret {position: absolute;background-color: black;background-color: currentcolor;}.mce-visual-caret-hidden {display: none;}*[data-mce-caret] {position: absolute;left: -1000px;right: auto;top: 0;margin: 0;padding: 0;}
.mce-content-body .mce-offscreen-selection {position: absolute;left: -9999999999px;max-width: 1000000px;}.mce-content-body *[contentEditable=false] {cursor: default;}.mce-content-body *[contentEditable=true] {cursor: text;}
body {min-height: 150px}
<script src="https://blogs.msdn.microsoft.com/amantaras/wp-includes/js/tinymce/plugins/wpembed/../../../wp-embed.js" type="text/javascript"></script>

&nbsp;
<h3>There are few things you need to check and fix if you are having this issue:</h3>
<ol>
 	<li><strong><strong><strong>The Entsso.exe needs inbound &amp; outbound access in order to be configured.</strong></strong></strong>&nbsp;

I have seen an issue similar to that in the past and for me it was a firewall issueNew-NetFirewallRule -DisplayName Ã¢â‚¬Å“Allow Inbound ESSOÃ¢â‚¬Â -Direction Inbound -Program "C:\Program Files\Common Files\Enterprise Single Sign-On\ENTSSO.exe" -RemoteAddress LocalSubnet -Action Allow

New-NetFirewallRule -DisplayName Ã¢â‚¬Å“Allow Outbound ESSOÃ¢â‚¬Â -Direction Outbound -Program "C:\Program Files\Common Files\Enterprise Single Sign-On\ENTSSO.exe" -RemoteAddress LocalSubnet -Action Allow

<strong></strong>

&nbsp;</li>
 	<li><strong>Check the availability group Listener properties and set the port to 1433 (or any other)</strong>

<img width="300" height="221" class="alignnone size-medium wp-image-1425" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/10/222SSO-ERrorjpg-300x221.jpg" /></li>
 	<li><strong>Enable TSL 1.0 and 1.1  client and server</strong> on both the Biztalk server and the SQL server and <strong>reboot servers.</strong>
BY default,  on the BizTalk server and the SQL server , only TLS 1.2 protocol is enabled for  under:

HKey_Local_Machine\System\CurrentControlSet\Control\SecurityProviders \SCHANNEL\Protocols

&nbsp;</li>
</ol>
&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>BizTalk Server 2013 R2 Cumulative Update 7</title>
      <link>https://docs.microsoft.com/archive/blogs/amantaras/biztalk-server-2013-r2-cumulative-update-7</link>
      <pubDate>Fri, 13 Oct 2017 03:37:36 GMT</pubDate>
      <dc:creator><![CDATA[Agustín Mántaras]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/amantaras/?p=1385</guid>
      <description><![CDATA[The BizTalk Product group has released the latest update for BizTalk Server 2013 R2. You can...]]></description>
      <content:encoded><![CDATA[The BizTalk Product group has released the latest update for BizTalk Server 2013 R2. You can download it from the following location:

<a href="https://support.microsoft.com/en-us/help/4038891">https://support.microsoft.com/en-us/help/4038891</a>

&nbsp;

The CU7 package includes the following:
<ul>
 	<li>All hotfixes previously released for BTS 2013 R2</li>
 	<li>A selected set of hotfixes ported forward from BTS 2010 and BTS 2013</li>
 	<li>Other fixes for issues discovered internally when testing BTS 2013 R2</li>
</ul>
<strong>Detailed information about the individual fixes:</strong>
<table class="table">
<tbody>
<tr class="sbody-tr">
<td class="sbody-td">4020013</td>
<td class="sbody-td"><a href="https://support.microsoft.com/en-us/help/4020013" class="managed-link content-anchor-link">FIX: iDOC received in SAP is missing the segment hierarchy and contains error message when it is sent through NCo from BizTalk Server</a></td>
</tr>
<tr>
<td class="sbody-td">4020017</td>
<td class="sbody-td"><a href="https://support.microsoft.com/en-us/help/4020017" class="managed-link content-anchor-link">FIX: WCF-SQL adapter fails intermittently if AmbientTransaction is set to True or if ReceiveTimeout is less than the total of the polling time and the time to query data from SQL Server</a></td>
</tr>
</tbody>
</table>
<table class="table">
<tbody>
<tr class="sbody-tr">
<td class="sbody-td">4038886</td>
<td class="sbody-td"><a href="https://support.microsoft.com/en-us/help/4038886" class="managed-link content-anchor-link">FIX: EDI message processing from XML to flat file fails when it contains an empty node in a sub-loop in BizTalk Server</a></td>
</tr>
</tbody>
</table>
<table class="table">
<tbody>
<tr class="sbody-tr">
<td class="sbody-td">4038889</td>
<td class="sbody-td"><a href="https://support.microsoft.com/en-us/help/4038889" class="managed-link content-anchor-link">FIX: Deployment of two-way receive port "Specify now" port binding fails after you install Cumulative Update 6 for BizTalk Server 2013 R2</a></td>
</tr>
</tbody>
</table>
<table class="table">
<tbody>
<tr class="sbody-tr">
<td class="sbody-td">3203655</td>
<td class="sbody-td"><a href="https://support.microsoft.com/en-us/help/3203655" class="managed-link content-anchor-link">FIX: Intermittent "no subscribers found" error when you process many messages through a two-way send port in BizTalk Server</a></td>
</tr>
</tbody>
</table>
<table class="table ng-scope">
<tbody>
<tr class="sbody-tr">
<td class="sbody-td">4046183</td>
<td class="sbody-td"><a href="https://support.microsoft.com/en-us/help/4046183" class="managed-link content-anchor-link">FIX: "TDDS failed to read from source database" error if you use Turkish collation on a SQL Server 2012 database in BizTalk Server</a></td>
</tr>
</tbody>
</table>]]></content:encoded>
    </item>
    <item>
      <title>BizTalk Server 2016 notes. Advanced development techniques</title>
      <link>https://docs.microsoft.com/archive/blogs/amantaras/biztalk-server-2016-notes-advanced-development-techniques</link>
      <pubDate>Thu, 09 Mar 2017 17:32:24 GMT</pubDate>
      <dc:creator><![CDATA[Agustín Mántaras]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/amantaras/?p=1355</guid>
      <description><![CDATA[I wrote the BizTalk Server Notes series based on information I gathered from my blog itself  and,...]]></description>
      <content:encoded><![CDATA[<p class="p1">I wrote the BizTalk Server Notes series based on information I gathered from my blog itself<span class="Apple-converted-space">  </span>and, what I think is more important also, from the field experience. The series will gain in complexity so, read the introduction section before getting into it.</p>
<p class="p1">The latest one published is called Advanced techniques. It is not an introductory book as it assumes you have some BizTalk knowledge and strong .NET knowledge</p>
<p class="p1">My intention was to show you how you can create advance BizTalk Server Solutions. You will learn about the following topics:</p>
<p class="p1">1. Create your own BizTalk Server performance counters.</p>
<p class="p1">2. Developing side by side BizTalk Server solutions.</p>
<p class="p1">3. Applying versioning to BizTalk Server projects.</p>
<p class="p1">4. Securing data using the ENTSSO database.</p>
<p class="p1">5. Fix the SSO application snap in for BizTalk Server 2016.</p>
<p class="p1">6. Trace your BizTalk Server solutions using implementing Windows Tracing.</p>
<p class="p1">7. Query all BizTalk ETW traces using Debug view or the CAT Instrumentation Controller Tool.</p>
<p class="p1">8. Start and stop ETW traces.</p>
<p class="p1">9. Developing Custom Pipeline components.</p>
<p class="p1">10. Unit Testing BizTalk Server 2016 solutions using Visual Studio 2015.</p>
<p class="p1">11. Load Test for BizTalk Server using Visual Studio.</p>
<p class="p1">12. Examining the Load Test Output and export the report to Excel.</p>
<p class="p1">Having a solid foundation on these topics will allow you to create robust BizTalk Server solutions.</p>
<p class="p1">These series are focused in BizTalk development techniques, but the first one that is more generalist. However if you are a BizTalk Administrator and want to learn about BizTalk development, these are also your book series.</p>
<p class="p1">Happy reading!</p>
<p class="p1">You can download it from Amazon Here: <a href="https://www.amazon.com/dp/B06XHMXMX4/ref=sr_1_5?ie=UTF8&amp;qid=1489080663&amp;sr=8-5&amp;keywords=biztalk+2016"> https://www.amazon.com/dp/B06XHMXMX4/ref=sr_1_5?ie=UTF8&amp;qid=1489080663&amp;sr=8-5&amp;keywords=biztalk+2016</a></p>]]></content:encoded>
    </item>
    <item>
      <title>BizTalk: PowerShell script to provide high availability for single host instances (FTP,POP3...)</title>
      <link>https://docs.microsoft.com/archive/blogs/amantaras/biztalk-powershell-script-to-provide-high-availability-for-single-host-instances-ftppop3</link>
      <pubDate>Tue, 07 Mar 2017 12:02:05 GMT</pubDate>
      <dc:creator><![CDATA[Agustín Mántaras]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/amantaras/?p=1182</guid>
      <description><![CDATA[One of the most common BizTalk architectures I have seen across customers is as follows:

With...]]></description>
      <content:encoded><![CDATA[One of the most common BizTalk architectures I have seen across customers is as follows:

<a href="https://msdnshared.blob.core.windows.net/media/2017/03/Servers.jpg"><img width="206" height="300" class="alignnone size-medium wp-image-1305 aligncenter" alt="servers" src="https://msdnshared.blob.core.windows.net/media/2017/03/Servers-206x300.jpg" /></a>With this configuration, BizTalk server is deployed using a <strong>high availability</strong> configuration that will work for most of cases in which the environment is receiving information using, for instance, the WCF http binding adapter only. The NLB (hardware or software) is spreading the requests among all the BizTalk servers in the group.

For the database layer, most of customers provide high availability setting up an <strong>MCS cluster</strong> (virtual or physical) and typically they also provide HA for the <strong>SQL Server Agent service</strong> (or at least they must) , action that opens an interesting option to solve the most common problem when using the FTP BizTalk receiving adapter:

<span style="font-size: large"><strong>Having more than one <span style="color: #ff0000">receiving</span> BizTalk host instance for the FTP adapter can cause duplicated messages. </strong></span>

The FTP protocol does not blocks the file, therefore, having more that one host instance configured to process receive locations could cause a duplicated message.  For instance, if we have a look at our architecture it can happen that host instance on server 1 will go to pick up files to the FTP server. Because host instances are fully agnostic of what the other host instances in the group are doing, the one running in server 2 might go also to the FTP server at the same time than Server 1. If the file is bigger enough BizTalk will pick up the same message twice. <strong>To avoid this issue we normally have two options:</strong>
<ol>
 	<li><strong>Create an MCS cluster at the BizTalk layer</strong> and cluster the receiving FTP host instance (preferred option)</li>
 	<li><strong>Disable all the host </strong><b>instances</b> from starting and enabling it in one server only. With this action, just one host instance will be executing and now BizTalk will not get duplicated messages (not recommended as we are having manual HA for FTP host instances)</li>
</ol>
<span style="font-size: large"><strong>So what do we do if we cannot implement BizTalk clustering ?</strong></span>

As Microsoft always recommends clustering the SQL Server Agent you could leverage on SQL Server jobs to execute a Powershell script that will check BizTalk Services status remotely.

Have a look at the following architecture:
<p style="text-align: center"><a href="https://msdnshared.blob.core.windows.net/media/2017/03/Servers2.jpg"><img width="300" height="233" class="alignnone size-medium wp-image-1325" alt="servers2" src="https://msdnshared.blob.core.windows.net/media/2017/03/Servers2-300x233.jpg" /></a></p>
The PowerShell script that will run under the SQL Server Agent and it will ensure that your FTP BizTalk hostinstance is running only in 1 server. If that scripts runs and finds out that there are more hostinstances running, it will shutdown those processes and will enable the hostinstnace only in 1 server.

&nbsp;

<strong>Description of the script</strong>
This Powershell script gives a mechanism to provide High availability for windows services, when there is no cluster set up (or when it cannot be used). As a BizTalk engineer, I visited many customers that need to provide HA
to BizTalk FTP hostinstances and they did not set up an MS cluster across the BizTalk group.

<strong>Prerequisites</strong>

The SQL Server account that you use to execute this job must be part of the BizTalk Administrator group because and it needs to have permissions to start and stop services in all of your BizTalk Servers.

<strong>Paramenters.</strong>

<em>ServiceName</em>
This will be the name of the windows Service that you want to provide HA.Don't forget to add the escape character for the BizTalk Services name, as they have the $ symbol, like in this "BTSSvc`$BizTalkServerApplication" .

<em>ServerList</em>
This is the place in which you have to provide the Server Names that will be part of the HA configuration.

<em>ServerStatusList</em>
This is the Server Status List. By status here we refer to the status of the service in all of the Servers that are part of the $ServerList array. The number of items here should be the same than in the $ServerList array.

<em>DefaultServer</em>
Change this parameter if you want a different default server. This will be the position in the $ServerList array (So zero, for the first server). The script will know which server should be used as the Default one in the HA configuration. So it will always try to start the service in this Server First.

<em>LogFilePath</em>
Yes! the script is logging information. The Script will be logging all the information to the file specified here.

<strong>Example of parameters:</strong>

$ServiceName = "BTSSvc`$BizTalkServerApplication"

$ServerList =@("ServerA","ServerB","ServerC","ServerD")

$ServerStatusList=@(0,0,0,0) #This is the Server Status List. By status here we refer to the status of the service in all of the Servers that are part of the $ServerList array. The number of items here should be the same than in the $ServerList array.

$DefaultServer = 1 #Change this parameter if you want a different default server. This will be the position in the $ServerList array (So zero, for the first server). The script will know which server should be used as the Default one in the HA configuration. So it will always try to start the service in this Server First.

$MoreThanOneServiceActive= 0 #If there are more than one service active, we change this to 1, as the objective of this script is to ensure only one instance of the service is running across all the Servers in
$ServerList.
$LogFilePath="C:\Logs\PowerShellLog.log" #the Script will be logging all the information to the file specified here.

&nbsp;

<strong>Conclusion</strong>

After you adapt the script parameters within the code, you can now create the SQL Server agent job that will call the script.  After the changes, your architecture would look something similar to the following diagram:

<a href="https://msdnshared.blob.core.windows.net/media/2017/03/FTP-HA.png"><img width="480" height="499" class="alignnone wp-image-1345 size-full" alt="ftp-ha" src="https://msdnshared.blob.core.windows.net/media/2017/03/FTP-HA.png" /></a>

<strong>Downloading the code:</strong>

You can download the code from MSDN code gallery here:

<a href="https://gallery.technet.microsoft.com/BizTalk-PowerShell-script-a20d3222">https://gallery.technet.microsoft.com/BizTalk-PowerShell-script-a20d3222</a>

Enjoy!]]></content:encoded>
    </item>
    <item>
      <title>BizTalk Server 2016 The Message Engine</title>
      <link>https://docs.microsoft.com/archive/blogs/amantaras/biztalk-server-2016-the-message-engine</link>
      <pubDate>Mon, 06 Mar 2017 14:50:50 GMT</pubDate>
      <dc:creator><![CDATA[Agustín Mántaras]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/amantaras/?p=1285</guid>
      <description><![CDATA[Hi all,

I have published a book explaining the BizTalk message Engine! You can have a look at it...]]></description>
      <content:encoded><![CDATA[Hi all,

I have published a book explaining the BizTalk message Engine! You can have a look at it at Amazon here:

<a href="https://www.amazon.com/BizTalk-Server-Notes-Message-Engine-ebook/dp/B06XD1PBMB/ref=sr_1_2?ie=UTF8&amp;qid=1488811785&amp;sr=8-2&amp;keywords=biztalk+2016">https://www.amazon.com/BizTalk-Server-Notes-Message-Engine-ebook/dp/B06XD1PBMB/ref=sr_1_2?ie=UTF8&amp;qid=1488811785&amp;sr=8-2&amp;keywords=biztalk+2016</a>

&nbsp;

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Cumulative update package 3 for BizTalk Server 2013 R2</title>
      <link>https://docs.microsoft.com/archive/blogs/amantaras/cumulative-update-package-3-for-biztalk-server-2013-r2</link>
      <pubDate>Wed, 18 May 2016 06:25:31 GMT</pubDate>
      <dc:creator><![CDATA[Agustín Mántaras]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/amantaras/?p=1275</guid>
      <description><![CDATA[Microsoft has released the cumulative update 3 for BizTalk Server R2.

You can download it from...]]></description>
      <content:encoded><![CDATA[Microsoft has released the cumulative update 3 for BizTalk Server R2.

You can download it from here:

<a title="https://support.microsoft.com/en-us/kb/3158677" href="https://support.microsoft.com/en-us/kb/3158677">https://support.microsoft.com/en-us/kb/3158677</a>

Happy update  :)]]></content:encoded>
    </item>
    <item>
      <title>BizTalk 2013R2 CU2 available for download</title>
      <link>https://docs.microsoft.com/archive/blogs/amantaras/biztalk-2013r2-cu2-available-for-download</link>
      <pubDate>Mon, 11 Jan 2016 02:38:02 GMT</pubDate>
      <dc:creator><![CDATA[Agustín Mántaras]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/amantaras/2016/01/11/biztalk-2013r2-cu2-available-for-download/</guid>
      <description><![CDATA[&#160;  BizTalk 2013 R2 CU2 is now available for installation. You can find it here:...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>BizTalk 2013 R2 CU2 is now available for installation. You can find it here: </p>  <p><a title="https://support.microsoft.com/en-us/kb/3119352" href="https://support.microsoft.com/en-us/kb/3119352">https://support.microsoft.com/en-us/kb/3119352</a></p>  <p><font color="#ff0000"><font color="#333333"><font color="#ff0000"><strong>UPDATE 21/1/2016</strong></font> The following described warning has been fixed and now the CU updates the BizTalk&#160; binaries with out any known issues:</font></font></p>  <p><font color="#ff0000"></font></p>  <p><font color="#ff0000"><strong>Warning</strong></font>: There was an undocumented issue with this CU. After installing it you might get the following exception:</p>  <blockquote>   <p>System.TypeLoadException: Method 'get_UseXSLTransform' in type Name of your type from assembly ‘name of your assemblydoes not have an implementation.</p>    <p>&#160;&#160; at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)</p>    <p>&#160;&#160; at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)</p>    <p>&#160;&#160; at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark&amp; stackMark)</p>    <p>&#160;&#160; at System.Type.GetType(String typeName)</p> </blockquote>  <p>If you get this the only way to fix it is by redeploying the assembly again (no need to redeploy the BizTalk application AFAK) Microsoft is working on it to fix it as soon as possible. </p>  <p>Happy and safe update :-)</p>]]></content:encoded>
    </item>
  </channel>
</rss>