<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>One Blog for Biztalk Engineers</title><link>http://blogs.msdn.com/biztalkcpr/default.aspx</link><description>A blog about Biztalk written by Biztalk Support Engineers</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>You cannot create an x64 host with the Standard edition</title><link>http://blogs.msdn.com/biztalkcpr/archive/2009/11/16/you-cannot-create-an-x64-host-with-the-standard-edition.aspx</link><pubDate>Mon, 16 Nov 2009 15:01:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9922966</guid><dc:creator>Manuel999</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalkcpr/comments/9922966.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalkcpr/commentrss.aspx?PostID=9922966</wfw:commentRss><description>&lt;P&gt;A number of BizTalk users have been wondering lately that they are not able to create an x64 host on a Standard edition.&lt;/P&gt;
&lt;P&gt;The comparison of the features of available BizTalk editions is not really clarifying this issue: &lt;A href="http://www.microsoft.com/biztalk/en/us/editions.aspx" mce_href="http://www.microsoft.com/biztalk/en/us/editions.aspx"&gt;http://www.microsoft.com/biztalk/en/us/editions.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You find clearer information here:&lt;BR&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/aa560166(BTS.10).aspx" mce_href="http://msdn.microsoft.com/en-us/library/aa560166(BTS.10).aspx"&gt;http://msdn.microsoft.com/en-us/library/aa560166(BTS.10).aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;where it says: "&lt;EM&gt;BizTalk Server 2009 Enterprise, Developer, Branch, and Evaluation Editions support native 64-bit execution on Windows Server 2008, Windows Vista, Windows Server 2003 x64 (including R2), and Windows XP Professional x64&lt;/EM&gt;"&lt;BR&gt;(The same is applicable for BizTalk 2006 R2).&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;The Standard edition is toned down in several areas. If you consider purchasing a BizTalk license, you should carefully define your requirements and check the available editions for the one &lt;/P&gt;
&lt;P&gt;which&amp;nbsp;meets your requirements.&lt;BR&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;Manuel Stern&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;Update: This is now well documented in &lt;A class="" title="KB 926628" href="http://support.microsoft.com/?id=926628" mce_href="http://support.microsoft.com/?id=926628"&gt;KB 926628&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9922966" width="1" height="1"&gt;</description></item><item><title>BizTalk and Project References (continued)</title><link>http://blogs.msdn.com/biztalkcpr/archive/2009/11/13/biztalk-and-project-references-continued.aspx</link><pubDate>Fri, 13 Nov 2009 17:08:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9922061</guid><dc:creator>Larry2</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalkcpr/comments/9922061.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalkcpr/commentrss.aspx?PostID=9922061</wfw:commentRss><description>&lt;p&gt;In my last blog I mentioned issues with BizTalk 09 when creating references between projects. Here's some follow up thanks to Mandi on the BizTalk escalation team. &lt;p&gt;BizTalk solutions are often separated into various projects for the different artifacts, pipelines, schemas, orchestration, etc. When working with a BizTalk project with references to other BizTalk projects compilation fails. &lt;p&gt;A review the project shows an orchestration variable is missing and shows a red exclamation mark. When selecting the type, it shows the referenced BizTalk project but no defined types. This is a known issue and a fix is available (no link available at this time). &lt;p&gt;Maps are not immune. If there is a map using a schema from a referenced BizTalk project, the "Schema Type Picker" in the map doesn't show the referenced project and schemas. It only shows local schemas. &lt;p&gt;To resolve this problem check to see if the "Build Action" is set to "None" instead of "BtsCompile" for the schema. Here's the link with more information. &lt;p&gt;Issues with BizTalk 2009 on VS.NET 2008  &lt;p&gt;&lt;a href="http://blog.eliasen.dk/2009/07/21/IssuesWithBizTalk2009OnVSNET2008.aspx"&gt;http://blog.eliasen.dk/2009/07/21/IssuesWithBizTalk2009OnVSNET2008.aspx&lt;/a&gt; &lt;p&gt;There may be other related symptoms. The problems mentioned here are not from a single case so check with the BizTalk team regarding referencing issues and BizTalk 09.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9922061" width="1" height="1"&gt;</description></item><item><title>Accelerator for RosettaNet Configuration Failure</title><link>http://blogs.msdn.com/biztalkcpr/archive/2009/11/13/accelerator-for-rosettanet-configuration-failure.aspx</link><pubDate>Fri, 13 Nov 2009 16:17:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9922027</guid><dc:creator>evyang</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalkcpr/comments/9922027.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalkcpr/commentrss.aspx?PostID=9922027</wfw:commentRss><description>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;I have seen quite a few issues since last year regarding to BTARN configuration wizard.&amp;#160; The failures seemed to be in the wizard itself, not the typical SQL connectivity or permission related issues.&amp;#160; In some cases the UI failed to load at all.&amp;#160; Configuration log indicated access violation during form load.&amp;#160; In other cases, configuration UI does load but configuration fail to complete.&amp;#160; While the errors vary, the configuration log pointed to something UI related.&amp;#160; These issues have been difficult to track down.&amp;#160; In one case, we created a number of debug builds but the symptom continued to shift.&amp;#160; So while we are still looking for the root cause, I thought it’d be helpful to post the workaround we have been using.&amp;#160; The workaround is simply to use silent configuration.&amp;#160; Logical since the problem seems to be specific to UI.&amp;#160; For BTARN, there are only 2 features so the configuration XML is manageable.&amp;#160; You can either export a configuration XML from a fully configured BTARN box and then modify the settings or you can copy configuration XMLs from a configuration log and combine the features manually.&amp;#160;&amp;#160; In case you don’t have access to a configuration XML for BTARN, this is a sample of what it should look like:&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;lt;Configuration&amp;gt; &lt;/p&gt;  &lt;p&gt;&amp;lt;Feature Name=&amp;quot;Runtime&amp;quot; DisplayName=&amp;quot;Runtime&amp;quot; Version=&amp;quot;1.0&amp;quot; Description=&amp;quot;Runtime Components for RosettaNet.&amp;quot;&amp;gt;   &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;Question ID=&amp;quot;RNCREATEORJOIN&amp;quot; Text=&amp;quot;Do you want to create a new database group? (Uncheck to join an existing database group)&amp;quot; Answers=&amp;quot;Create,Join&amp;quot; Default=&amp;quot;Create&amp;quot;&amp;gt;   &lt;br /&gt;&amp;lt;Answer Value=&amp;quot;Create&amp;quot; GUID=&amp;quot;{B6BD84F3-E70B-4C62-B5AF-2DFBDA8CA655}&amp;quot; Selected=&amp;quot;Yes&amp;quot;&amp;gt; &lt;/p&gt;  &lt;p&gt;&amp;lt;SQL ID=&amp;quot;RN_DB&amp;quot; DisplayName=&amp;quot;Configuration Database&amp;quot; Description=&amp;quot;This database stores configuration data for BizTalk Accelerator for RosettaNet.&amp;quot;&amp;gt;   &lt;br /&gt;&amp;lt;Server&amp;gt;Insert Server Name&amp;lt;/Server&amp;gt;    &lt;br /&gt;&amp;lt;Database&amp;gt;BTARNCONFIG&amp;lt;/Database&amp;gt;    &lt;br /&gt;&amp;lt;WindowsSecurity Editable=&amp;quot;no&amp;quot;&amp;gt;yes&amp;lt;/WindowsSecurity&amp;gt;    &lt;br /&gt;&amp;lt;UserName /&amp;gt;&amp;lt;Password /&amp;gt;&amp;lt;/SQL&amp;gt; &lt;/p&gt;  &lt;p&gt;&amp;lt;SQL ID=&amp;quot;RN_DATADB&amp;quot; DisplayName=&amp;quot;Storage Database&amp;quot; Description=&amp;quot;This database stores runtime information for RosettaNet transactions.&amp;quot;&amp;gt;   &lt;br /&gt;&amp;lt;Server&amp;gt;Insert Server Name&amp;lt;/Server&amp;gt;    &lt;br /&gt;&amp;lt;Database&amp;gt;BTARNDATA&amp;lt;/Database&amp;gt;    &lt;br /&gt;&amp;lt;WindowsSecurity Editable=&amp;quot;no&amp;quot;&amp;gt;yes&amp;lt;/WindowsSecurity&amp;gt;    &lt;br /&gt;&amp;lt;UserName /&amp;gt;&amp;lt;Password /&amp;gt;&amp;lt;/SQL&amp;gt; &lt;/p&gt;  &lt;p&gt;&amp;lt;SQL ID=&amp;quot;RN_ARCHIVEDB&amp;quot; DisplayName=&amp;quot;Archive Database&amp;quot; Description=&amp;quot;This database stores message content for archive and tracking purposes.&amp;quot;&amp;gt;   &lt;br /&gt;&amp;lt;Server&amp;gt;Insert Server Name&amp;lt;/Server&amp;gt;    &lt;br /&gt;&amp;lt;Database&amp;gt;BTARNARCHIVE&amp;lt;/Database&amp;gt;    &lt;br /&gt;&amp;lt;WindowsSecurity Editable=&amp;quot;no&amp;quot;&amp;gt;yes&amp;lt;/WindowsSecurity&amp;gt;&amp;lt;UserName /&amp;gt;&amp;lt;Password /&amp;gt;&amp;lt;/SQL&amp;gt; &lt;/p&gt;  &lt;p&gt;&amp;lt;/Answer&amp;gt;   &lt;br /&gt;&amp;lt;/Question&amp;gt; &lt;/p&gt;  &lt;p&gt;&amp;lt;Name ID=&amp;quot;RN_IISSERVERNAME_ID&amp;quot; DisplayName=&amp;quot;Web server name&amp;quot; Description=&amp;quot;The name of the Web server where the RosettaNet applications are installed.&amp;quot; Hidden=&amp;quot;false&amp;quot;&amp;gt;   &lt;br /&gt;&amp;lt;Value&amp;gt;Insert Server Name&amp;lt;/Value&amp;gt;    &lt;br /&gt;&amp;lt;/Name&amp;gt; &lt;/p&gt;  &lt;p&gt;&amp;lt;Name ID=&amp;quot;RN_IISPORTNAME_ID&amp;quot; DisplayName=&amp;quot;Web Server: Port number&amp;quot; Description=&amp;quot;The RosettaNet application port number.&amp;quot; Hidden=&amp;quot;false&amp;quot;&amp;gt;   &lt;br /&gt;&amp;lt;Value&amp;gt;80&amp;lt;/Value&amp;gt;    &lt;br /&gt;&amp;lt;/Name&amp;gt; &lt;/p&gt;  &lt;p&gt;&amp;lt;WebSite ID=&amp;quot;RN_HTTPRECEIVERWEBAPP&amp;quot; DisplayName=&amp;quot;BizTalk HTTP Receive virtual folder &amp;quot; Description=&amp;quot;Configure HTTP Receive virtual folder.&amp;quot;&amp;gt;   &lt;br /&gt;&amp;lt;WebSiteName&amp;gt;Default Web Site&amp;lt;/WebSiteName&amp;gt;&amp;lt;/WebSite&amp;gt; &lt;/p&gt;  &lt;p&gt;&amp;lt;NTService ID=&amp;quot;RN Service ID runtime&amp;quot; DisplayName=&amp;quot;Application Pool service account for BTARN HTTP Receive location &amp;quot; Description=&amp;quot;Service account application pool and database configuration.&amp;quot;&amp;gt;   &lt;br /&gt;&amp;lt;UserName&amp;gt;insert user name&amp;lt;/UserName&amp;gt;    &lt;br /&gt;&amp;lt;Domain&amp;gt;domain name&amp;lt;/Domain&amp;gt;&amp;lt;Password&amp;gt;password&amp;lt;/Password&amp;gt;    &lt;br /&gt;&amp;lt;/NTService&amp;gt; &lt;/p&gt;  &lt;p&gt;&amp;lt;/Feature&amp;gt; &lt;/p&gt;  &lt;p&gt;&amp;lt;Feature Name=&amp;quot;WebApps&amp;quot; DisplayName=&amp;quot;Web Configuration&amp;quot; Version=&amp;quot;1.0&amp;quot; Description=&amp;quot;Web application configuration for RosettaNet&amp;quot;&amp;gt; &lt;/p&gt;  &lt;p&gt;&amp;lt;WebSite ID=&amp;quot;RN_WEBAPP&amp;quot; DisplayName=&amp;quot;Web application virtual folder &amp;quot; Description=&amp;quot;Configure the Web application virtual folder &amp;quot;&amp;gt; &lt;/p&gt;  &lt;p&gt;&amp;lt;WebSiteName&amp;gt;Default Web Site&amp;lt;/WebSiteName&amp;gt;&amp;lt;/WebSite&amp;gt; &lt;/p&gt;  &lt;p&gt;&amp;lt;Name ID=&amp;quot;RN_BTSSERVERNAME_ID&amp;quot; DisplayName=&amp;quot;BizTalk Server name&amp;quot; Description=&amp;quot;The name of the BizTalk Server where the BTARN pipeline component and the HTTP adapter are installed.&amp;quot; Hidden=&amp;quot;false&amp;quot;&amp;gt;   &lt;br /&gt;&amp;lt;Value&amp;gt;Insert Server Name&amp;lt;/Value&amp;gt;    &lt;br /&gt;&amp;lt;/Name&amp;gt; &lt;/p&gt;  &lt;p&gt;&amp;lt;Name ID=&amp;quot;RN_BTSPORTNAME_ID&amp;quot; DisplayName=&amp;quot;BizTalk Server: Port number&amp;quot; Description=&amp;quot;The port number of the Web site where the Initiator and Responder Web application resides.&amp;quot; Hidden=&amp;quot;false&amp;quot;&amp;gt;   &lt;br /&gt;&amp;lt;Value&amp;gt;80&amp;lt;/Value&amp;gt;    &lt;br /&gt;&amp;lt;/Name&amp;gt; &lt;/p&gt;  &lt;p&gt;&amp;lt;/Feature&amp;gt; &lt;/p&gt;  &lt;p&gt;&amp;lt;Feature Name=&amp;quot;WebApps&amp;quot; DisplayName=&amp;quot;Web Configuration&amp;quot; Version=&amp;quot;1.0&amp;quot; Description=&amp;quot;Web application configuration for RosettaNet&amp;quot; /&amp;gt; &lt;/p&gt;  &lt;p&gt;&amp;lt;InstalledFeature&amp;gt;Runtime&amp;lt;/InstalledFeature&amp;gt; &lt;/p&gt;  &lt;p&gt;&amp;lt;InstalledFeature&amp;gt;WebApps&amp;lt;/InstalledFeature&amp;gt; &lt;/p&gt;  &lt;p&gt;&amp;lt;/Configuration&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;From command prompt, browse to BTARN install folder and you can execute “configuration.exe /s &amp;lt;Configuration XML File Path&amp;gt;”.&amp;#160; In some cases where UI partially configured BTARN before crashing, you can use “configuration.exe /u” to un-configure before running silent configuration again.&amp;#160; Remember to remove the databases if they have been created previously.&amp;#160; Certainly not an ideal solution at this point but hopefully this can help to unblock you in the time being.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9922027" width="1" height="1"&gt;</description></item><item><title>New feature in SP1 for BizTalk 2006 R2: Override group certificate to sign outgoing messages</title><link>http://blogs.msdn.com/biztalkcpr/archive/2009/11/12/new-feature-in-sp1-for-biztalk-2006-r2-override-group-certificate-to-sign-outgoing-messages.aspx</link><pubDate>Thu, 12 Nov 2009 14:49:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9921370</guid><dc:creator>Manuel999</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalkcpr/comments/9921370.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalkcpr/commentrss.aspx?PostID=9921370</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;Service Pack 1 for BizTalk 2006 R2 is now released as beta, and includes a number of hotfixes. &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;(See &lt;A class="" title="Service Pack 1 for BizTalk 2006 R2 is now released as beta, and includes a number of hotfixes. See http://support.microsoft.com/kb/974563 " href="http://blogs.msdn.com/controlpanel/blogs/Service%20Pack%201%20for%20BizTalk%202006%20R2%20is%20now%20released%20as%20beta,%20and%20includes%20a%20number%20of%20hotfixes.%20See%20http://support.microsoft.com/kb/974563" target=_blank mce_href="Service Pack 1 for BizTalk 2006 R2 is now released as beta, and includes a number of hotfixes. See http://support.microsoft.com/kb/974563 "&gt;http://support.microsoft.com/kb/974563&lt;/A&gt; )&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;SP1 also includes a new feature, namely the ability to configure different certificates for signing outgoing AS2 messages for different &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;parties.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;Prior to SP1 for R2, we could only set one certificate for signing outgoing AS2 messages per BizTalk &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;group.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;After installation of SP1, you will see in the AS2 party properties a new tab, where you can override the group certificate.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;If you do not choose to override the group certificate, the group certificate will be used by default.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;FONT face=Calibri&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;We are already describing how to use this in R2 with SP1. See the topic " To configure a certificate for signing outgoing AS2 messages for a specific party" in the R2 documentation.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;A class="" href="http://msdn.microsoft.com/en-us/library/bb728096(BTS.20).aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/library/bb728096(BTS.20).aspx"&gt;http://msdn.microsoft.com/en-us/library/bb728096(BTS.20).aspx&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;We are currently working on porting this feature to BizTalk 2009.&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;Manuel Stern&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9921370" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/biztalkcpr/archive/tags/EDI/default.aspx">EDI</category></item><item><title>BizTalk 09 and SQL R2 not Supported\BizTalk 09 and Project References</title><link>http://blogs.msdn.com/biztalkcpr/archive/2009/11/09/biztalk-09-and-sql-r2-not-supported-biztalk-09-and-project-references.aspx</link><pubDate>Mon, 09 Nov 2009 15:40:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9919561</guid><dc:creator>Larry2</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalkcpr/comments/9919561.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalkcpr/commentrss.aspx?PostID=9919561</wfw:commentRss><description>&lt;p&gt;In a recent case the customer was attempting to install BizTalk 09 with SQL 2008 R2. It fails with the following error.  &lt;p&gt;"Failed to create Management database 'BizTalkMgmtDB' on server 'XXXXX'. Error '0x80040E1d' occurred."  &lt;p&gt;The server name is represented by the "XXXXX". &lt;p&gt;&amp;nbsp; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/BizTalk09andSQLR2notSupportedBizTalk09an_930E/clip_image002_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/BizTalk09andSQLR2notSupportedBizTalk09an_930E/clip_image002_thumb.jpg" width="1002" height="814"&gt;&lt;/a&gt; &lt;p&gt;&amp;nbsp; &lt;p&gt;No follow up has been done to explain the problem. The BizTalk 09 product site does not mention support for this version of SQL. &lt;h2&gt;Building Projects with BizTalk 09&lt;/h2&gt; &lt;p&gt;Beware when building projects with BizTalk 09. There is a problem with references. There are various manifestations of the problem. Artifacts from referenced projects may not be available. Messages types requiring a reference to another project may not be available. Maps requiring schemas from referenced types are not available. The hot fix is under development and should be available in the near future. This could be a bigger problem as more symptoms are discovered. One fix may not fit all.  &lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9919561" width="1" height="1"&gt;</description></item><item><title>Unable to deploy the MSI Application that contains WCF bindings to BizTalk</title><link>http://blogs.msdn.com/biztalkcpr/archive/2009/10/27/unable-to-deploy-the-msi-application-that-contains-wcf-bindings-to-biztalk.aspx</link><pubDate>Tue, 27 Oct 2009 09:33:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9913408</guid><dc:creator>Hari</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalkcpr/comments/9913408.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalkcpr/commentrss.aspx?PostID=9913408</wfw:commentRss><description>&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;&lt;FONT size=2&gt;&lt;FONT face="trebuchet ms,geneva"&gt;I have seen&amp;nbsp;few customers running into this issue. This forced me to write this blog.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;&lt;FONT size=2&gt;&lt;FONT face="trebuchet ms,geneva"&gt;&lt;STRONG&gt;Background&lt;/STRONG&gt;: On a development environment, my customer had a BizTalk application. Application has few WCF bindings. They created MSI file that can be used to install the application onto production machines. When they try to deploy the application to target machines, following error is encountered&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;&lt;FONT size=2&gt;&lt;FONT face="trebuchet ms,geneva"&gt;Validation failed for 1 resource(s).&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;&lt;FONT size=2&gt;&lt;FONT face="trebuchet ms,geneva"&gt;Invalid URL "http://localhost:90/" provided as destination location. Valid format of URL is "http://localhost[:port]/&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: red"&gt;path&lt;/SPAN&gt;&lt;/B&gt;".&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;o:p&gt;&lt;FONT face="trebuchet ms,geneva"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;FONT face="trebuchet ms,geneva"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;: BizTalk 2006, Windows 2003&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;FONT face="trebuchet ms,geneva"&gt;&lt;STRONG&gt;Cause&lt;/STRONG&gt;: During the deployment of &lt;SPAN style="COLOR: black; mso-bidi-font-family: 'MS Sans Serif'"&gt;MSI application, For WCF bindings, BizTalk would verify whether URL is in &amp;lt;http://localhost[:port]/&lt;/SPAN&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: red; mso-bidi-font-family: 'MS Sans Serif'"&gt;path&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="COLOR: black; mso-bidi-font-family: 'MS Sans Serif'"&gt;&amp;gt; format or not. If it is not in the specified format BizTalk would display the error similar to the above.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="COLOR: black; mso-bidi-font-family: 'MS Sans Serif'"&gt;&lt;o:p&gt;&lt;FONT face="trebuchet ms,geneva"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="COLOR: black; mso-bidi-font-family: 'MS Sans Serif'"&gt;&lt;FONT face="trebuchet ms,geneva"&gt;In this specific case WCF service is hosted directly under root directory (under localhost) and hence it is referenced by &lt;/FONT&gt;&lt;A href="http://localhost/" mce_href="http://localhost/"&gt;&lt;FONT color=#0000ff face="trebuchet ms,geneva"&gt;http://localhost&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face="trebuchet ms,geneva"&gt;. When BizTalk checks the URL it finds that actual URL is not represented in &lt;/FONT&gt;&lt;A href="http://localhost[:port]/path" mce_href="http://localhost[:port]/path"&gt;&lt;FONT face="trebuchet ms,geneva"&gt;&lt;FONT color=#0000ff&gt;http://localhost[:port]/&lt;/FONT&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: red"&gt;path&lt;/SPAN&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face="trebuchet ms,geneva"&gt; format (because it expects to see that WCF service is hosted under a Virtual directory, but not under root directly) and it errors out. &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="COLOR: black; mso-bidi-font-family: 'MS Sans Serif'"&gt;&lt;o:p&gt;&lt;FONT face="trebuchet ms,geneva"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="COLOR: black; mso-bidi-font-family: 'MS Sans Serif'"&gt;&lt;FONT face="trebuchet ms,geneva"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;: You can work around this issue by following the below steps.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="COLOR: black; mso-bidi-font-family: 'MS Sans Serif'"&gt;&lt;o:p&gt;&lt;FONT face="trebuchet ms,geneva"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="COLOR: black; mso-bidi-font-family: 'MS Sans Serif'"&gt;&lt;FONT face="trebuchet ms,geneva"&gt;1) In the source machine host WCF service under virtual directory (i.e. For &lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="COLOR: black; mso-bidi-font-family: 'MS Sans Serif'"&gt;&lt;FONT face="trebuchet ms,geneva"&gt;example instead of hosting WCF service directly under localhost host it under localhost/WCFService)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;FONT face="trebuchet ms,geneva"&gt;&lt;SPAN style="COLOR: black; mso-bidi-font-family: 'MS Sans Serif'"&gt;2) Modify the receive location properties of WCF Receive port and specify the modified URI. It should be like /&lt;/SPAN&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: #76923c; mso-bidi-font-family: 'MS Sans Serif'; mso-themecolor: accent3; mso-themeshade: 191"&gt;virtualdirectoryname&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="COLOR: black; mso-bidi-font-family: 'MS Sans Serif'"&gt;/servicename.svc.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="COLOR: black; mso-bidi-font-family: 'MS Sans Serif'"&gt;&lt;FONT face="trebuchet ms,geneva"&gt;3) Export the package now&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;FONT face="trebuchet ms,geneva"&gt;&lt;SPAN style="COLOR: black; mso-bidi-font-family: 'MS Sans Serif'"&gt;4) Make sure while exporting, under the “Specify IIS Hosts” window make sure Hostname is set to localhost and Path should contain /&lt;/SPAN&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: #76923c; mso-bidi-font-family: 'MS Sans Serif'; mso-themecolor: accent3; mso-themeshade: 191"&gt;virtualdirectoryname&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="COLOR: black; mso-bidi-font-family: 'MS Sans Serif'"&gt; (If we just have “/” here it would error out)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="COLOR: black; mso-bidi-font-family: 'MS Sans Serif'"&gt;&lt;FONT face="trebuchet ms,geneva"&gt;5) Import the MSI file in the target computer&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal&gt;&lt;SPAN style="COLOR: black; mso-bidi-font-family: 'MS Sans Serif'"&gt;&lt;o:p&gt;&lt;FONT face="trebuchet ms,geneva"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&lt;FONT face="trebuchet ms,geneva"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;FONT face="trebuchet ms,geneva"&gt;Hope this helps!&lt;/FONT&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;FONT face="trebuchet ms,geneva"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;&lt;FONT face="trebuchet ms,geneva"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9913408" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/biztalkcpr/archive/tags/BizTalk+Deployment/default.aspx">BizTalk Deployment</category></item><item><title>Inserting parent child records with Identity column using WCF-SQL Adapter in one transaction</title><link>http://blogs.msdn.com/biztalkcpr/archive/2009/10/05/inserting-parent-child-records-with-identity-column-using-wcf-sql-adapter-in-one-transaction.aspx</link><pubDate>Mon, 05 Oct 2009 14:40:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9903353</guid><dc:creator>Atin Agarwal</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalkcpr/comments/9903353.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalkcpr/commentrss.aspx?PostID=9903353</wfw:commentRss><description>&lt;P&gt;There would be scenarios where you are inserting into a Parent table which have got an auto incrementing or an Identity field and you need to get this identity value back and use it to insert into child table records. And that too all, in a single transaction.&lt;/P&gt;
&lt;P&gt;In Native SQL Adapter, this kind of composite operation can be achieved using updategram by capturing the value generated for the Identity field using the updg:at-identity attribute. This is documented at whitepaper: &lt;A href="http://msdn.microsoft.com/en-us/library/ms935658(BTS.10).aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/library/ms935658(BTS.10).aspx"&gt;Working With BizTalk Adapter for SQL Server&lt;/A&gt;. But when it comes to WCF-SQL Adapter (Adapter Pack 2.0), since it would not work with updategram, only way I could figure out is to write a Stored Procedure which will do all the stuff in a single transaction and you can then call it from the Send Port. Of course, you can do the same in multiple operations without calling Stored Procedure where you first write to Parent table and get the identity value back as response and then write to child table; but this would not be a single transaction and any failures will writing to child table will not rollback the insertion into Parent table by itself.&lt;/P&gt;
&lt;P&gt;Now, when it comes to writing Stored Procedure, if you just need to insert into one parent record and one child record, it would be simpler. But what about if there are multiple child records for a single parent record? For this, we would need to create an Xml message and pass this to the Stored Procedure as an Xml parameter. And then inside the stored procedure, we need to retrieve the values from the Xml message and insert it to our Parent and Child tables. Parsing the Xml message inside Procedure will be not an easy task if the message schema is complicated (especially for EDI Schemas :) ) and will involve good knowledge of writing Xpath Queries. But this becomes really simpler with use of Table Types and Table-Valued Parameters in SQL 2008. (Thanks to Mustansir Doctor for pointing me to this new feature of SQL 2008)&lt;/P&gt;
&lt;P&gt;Here is an example of how we can achieve the same using Table Types and Table-Valued Parameters.&lt;/P&gt;
&lt;P&gt;Lets say we have two tables Orders &amp;amp; Order Details in SQL 2008 with Primary Foreign relationship&amp;nbsp; and OrderId is an auto incrementing field.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;A href="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/a16ba1b3000b_45F4/Untitled_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/a16ba1b3000b_45F4/Untitled_2.jpg"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=Untitled border=0 alt=Untitled src="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/a16ba1b3000b_45F4/Untitled_thumb.jpg" width=404 height=148 mce_src="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/a16ba1b3000b_45F4/Untitled_thumb.jpg"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Now, first step will be to create Table Types for the above two tables:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/a16ba1b3000b_45F4/image_2.png" mce_href="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/a16ba1b3000b_45F4/image_2.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/a16ba1b3000b_45F4/image_thumb.png" width=430 height=202 mce_src="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/a16ba1b3000b_45F4/image_thumb.png"&gt;&lt;/A&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 10pt"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;We do not need to have OrderId field in the Table Type created as this is an incrementing field and we do not need to pass this in parameters passed to Stored Procedure.&lt;/P&gt;
&lt;P&gt;Now, create a stored procedure to which we will pass this Table Type as parameter and inside it we will first insert into Orders table and read out the Identity value and use it to insert into OrderDetails table. Also, notice that reading out values from the Table Type objects is as simple as reading out form a Table.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/a16ba1b3000b_45F4/Untitled_2.png" mce_href="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/a16ba1b3000b_45F4/Untitled_2.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=Untitled border=0 alt=Untitled src="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/a16ba1b3000b_45F4/Untitled_thumb_2.png" width=541 height=484 mce_src="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/a16ba1b3000b_45F4/Untitled_thumb_2.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Now, what all we have to do is to use Consume Adapter Service through Visual Studio to generate Schema.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/a16ba1b3000b_45F4/Untitled2_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/a16ba1b3000b_45F4/Untitled2_2.jpg"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=Untitled2 border=0 alt=Untitled2 src="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/a16ba1b3000b_45F4/Untitled2_thumb.jpg" width=679 height=607 mce_src="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/a16ba1b3000b_45F4/Untitled2_thumb.jpg"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;It will generate two schemas TableType.dbo.xsd and TypedProcedure.dbo.xsd along with a binding file for the WCF-SQL Adapter.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;TableType.dbo.xsd&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/a16ba1b3000b_45F4/Untitled3_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/a16ba1b3000b_45F4/Untitled3_2.jpg"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=Untitled3 border=0 alt=Untitled3 src="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/a16ba1b3000b_45F4/Untitled3_thumb.jpg" width=218 height=294 mce_src="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/a16ba1b3000b_45F4/Untitled3_thumb.jpg"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;TypedProcedure.dbo.xsd&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;A href="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/a16ba1b3000b_45F4/Untitled4_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/a16ba1b3000b_45F4/Untitled4_2.jpg"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=Untitled4 border=0 alt=Untitled4 src="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/a16ba1b3000b_45F4/Untitled4_thumb.jpg" width=243 height=226 mce_src="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/a16ba1b3000b_45F4/Untitled4_thumb.jpg"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;TypedProcedure.dbo.xsd contains the request and response schema for WCF-SQL Adapter. &lt;/P&gt;
&lt;P&gt;Now, only thing remaining is to construct a message of the request schema type inside the Orchestration and send it to WCF-SQL Adapter which will execute the Stored Procedure. I am not going into it more detail on how we do it inside Orchestration as it will be similar to any other operation we do using WCF-SQL Adapter.&lt;/P&gt;
&lt;P&gt;You can see that using the Table Types simplify the things to a large extent and we do not need to write a single line of code to parse the XML.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9903353" width="1" height="1"&gt;</description></item><item><title>MSDTC issue in BTS 2009 virtualization environment</title><link>http://blogs.msdn.com/biztalkcpr/archive/2009/09/29/msdtc-issue-in-bts-2009-virtualization-environment.aspx</link><pubDate>Tue, 29 Sep 2009 19:28:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9900875</guid><dc:creator>evyang</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalkcpr/comments/9900875.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalkcpr/commentrss.aspx?PostID=9900875</wfw:commentRss><description>&lt;p&gt;This is a repost of Ahmed Irkakene’s mail to his fellow BizTalk colleagues.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;======================================================================&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;I have been working with a customer last time to install several BTS 2009 systems.&amp;#160;&amp;#160; Customer was cloning&amp;#160; his initial VMware system.&lt;/p&gt;  &lt;p&gt;As a result he is facing problem with MSDTC:&amp;#160; “MSDTC not configured correctly.”&lt;/p&gt;  &lt;p&gt;MSDTC component, during its transactional operations, needs basically &lt;b&gt;SID&lt;/b&gt; and &lt;strong&gt;NetBios name&lt;/strong&gt; to be resolved.&lt;/p&gt;  &lt;p&gt;As you imagine without MSDTC, BizTalk server can’t do much.&lt;/p&gt;  &lt;p&gt;When cloning system, the customer should:&lt;/p&gt;  &lt;p&gt;1. Use &lt;b&gt;sysprep&lt;/b&gt; tool to get a new SID for each system&amp;#160; ( DO NOT &lt;b&gt;newsid&lt;/b&gt; tool as it’s NOT supported )&lt;/p&gt;  &lt;p&gt;ð As a consequence, the system will be removed from its domain.&lt;/p&gt;  &lt;p&gt;2. Re-install properly MSDTC&lt;/p&gt;  &lt;p&gt;Before joining the domain again, please follow the steps below to make sure the MSDTC is correctly installed.&lt;/p&gt;  &lt;p&gt;a. MSDTC –Uninstall&lt;/p&gt;  &lt;p&gt;b. Reboot&lt;/p&gt;  &lt;p&gt;c. MSDTC –Install&lt;/p&gt;  &lt;p&gt;d. Reboot&lt;/p&gt;  &lt;p&gt;Make sure the domain replication is occurred ( or force it to occur), otherwise you may get the following error even if the system joined the domain:&lt;/p&gt;  &lt;p&gt;&lt;b&gt;The security database on the server does not have a computer account for this workstation trust relationship&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;Also, one more important thing ( mainly when using static IP address but still valid for dynamic ones ):&lt;/p&gt;  &lt;p&gt;As mentioned earlier, MSDTC needs name resolution and therefore “&lt;b&gt;Enable NetBIOS over TCP/IP&lt;/b&gt;” should be enabled on all systems (adapters network) involved in the scenario.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/MSDTCissueinBTS2009virtualizationenviron_ED89/clip_image002_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/MSDTCissueinBTS2009virtualizationenviron_ED89/clip_image002_thumb.jpg" width="206" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9900875" width="1" height="1"&gt;</description></item><item><title>Troubleshooting BTARN Web Pages and more on BTARN x64</title><link>http://blogs.msdn.com/biztalkcpr/archive/2009/09/04/troubleshooting-btarn-web-pages-and-more-on-btarn-x64.aspx</link><pubDate>Fri, 04 Sep 2009 17:08:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9891399</guid><dc:creator>Larry2</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalkcpr/comments/9891399.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalkcpr/commentrss.aspx?PostID=9891399</wfw:commentRss><description>&lt;h3&gt;&amp;nbsp;&lt;/h3&gt; &lt;p&gt;Support for BTARN often involves issues connecting with the partner. Unfortunately the web pages deployed for this purpose are not the best when it comes to troubleshooting. It can be problematic to tell a customer they need to deploy new pages with increased tracking capabilities into their production environment. This is especially true if it is 3 AM. This was generally the situation prior to BTARN 3.3.&lt;/p&gt; &lt;p&gt;With .Net 2.0 some cut and paste changes to the web.config file often provide the same information without the need to redeploy pages to the production environment. The configuration changes provided here should be pasted in after the closing &amp;lt;/system.web&amp;gt; tag. Then make sure the logging location exists and is available for output.&lt;/p&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;system.diagnostics&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;trace autoflush="true" /&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;sources&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;source name="System.Net"&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;listeners&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;add name="System.Net"/&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;/listeners&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;/source&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;source name="System.Net.HttpListener"&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;listeners&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;add name="System.Net"/&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;/listeners&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;/source&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;source name="System.Net.Sockets"&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;listeners&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;add name="System.Net"/&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;/listeners&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;/source&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;source name="System.Net.Cache"&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;listeners&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;add name="System.Net"/&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;/listeners&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;/source&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;/sources&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;sharedListeners&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;add&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;name="System.Net"&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;type="System.Diagnostics.TextWriterTraceListener"&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;initializeData="c:\\trace\\System.Net.trace.log"&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;/&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;/sharedListeners&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;switches&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;add name="System.Net" value="Verbose" /&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;add name="System.Net.Sockets" value="Verbose" /&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;add name="System.Net.Cache" value="Verbose" /&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;add name="System.Net.HttpListener" value="Verbose" /&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;/switches&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font size="1"&gt;&amp;lt;/system.diagnostics&amp;gt;&lt;/font&gt;&lt;/h1&gt; &lt;p&gt;A log will be created with great deal of detail. This includes the messages being passed. The log eliminates the previous issues with same-box transfers, SSL encryption, and sometimes limited access to network resources. Armed with this information it should be straight forward to understand the problem. The same information from BTARN 3.0 would require many lines of code added to the web pages to get the same information and as mentioned before redeployment of the enhanced pages.&lt;/p&gt; &lt;h2&gt;BTARN and Windows 08 x64&lt;/h2&gt; &lt;p&gt;In my previous blog I published help when using x64 with BTARN. This is particularly bothersome for Windows 03 x64 because BTARN is only available as a 32 bit application. Another little discovery has been detected with Windows 08 x64.&lt;/p&gt; &lt;p&gt;It turns out Windows 08 uses TLS protocol 1.0 as the default when attempting connections for BTARN (any HTTP). This was not the case with Windows 03. In some cases this turns out to be a problem. Close examination of the conversation shows the "Client Hello" being responded to with an "Encryption Error" or some other server drop. When things work properly the first attempt to use the TLS protocol should be followed with a second attempt to revert back to SSL 3.0 if the server cannot use TLS 1.0. Some servers don't allow the second attempt.&lt;/p&gt; &lt;p&gt;The fix for this situation is to change the code in the BTARN web pages. The following line of code should be added.&lt;/p&gt; &lt;p&gt;&lt;font size="1"&gt;//this line for compatibility with Win08 &lt;/font&gt; &lt;p&gt;&lt;font size="1"&gt;ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;&lt;/font&gt; &lt;p&gt;&lt;font size="1"&gt;//rest of the code&lt;/font&gt; &lt;p&gt;&lt;font size="1"&gt;HttpWebRequest outerRequest = null;&lt;/font&gt; &lt;p&gt;&lt;font size="1"&gt;ErrorLevel level = ErrorLevel.ProxyToOuterFailure;&lt;/font&gt; &lt;p&gt;This code sets a property. Location is not critical except I would keep it close to the HttpWebRequest object so it is easy to follow like listed above. This will prevent the use of the TLS protocol for this communication.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9891399" width="1" height="1"&gt;</description></item><item><title>BizTalk DevCenter - check it out!</title><link>http://blogs.msdn.com/biztalkcpr/archive/2009/08/14/biztalk-devcenter-check-it-out.aspx</link><pubDate>Sat, 15 Aug 2009 00:08:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9870569</guid><dc:creator>MandiAnez</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalkcpr/comments/9870569.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalkcpr/commentrss.aspx?PostID=9870569</wfw:commentRss><description>&lt;P&gt;The BizTalk support team is now adding content to the BizTalk Developer Center on MSDN, especially the Support page: &lt;/P&gt;
&lt;P&gt;&lt;A href="http://msdn.microsoft.com/en-us/biztalk/default.aspx" mce_href="http://msdn.microsoft.com/en-us/biztalk/default.aspx"&gt;http://msdn.microsoft.com/en-us/biztalk/default.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Our goal is to continually update these pages with the following information: &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Common call generators, including Symptoms and potential Resolutions&lt;/LI&gt;
&lt;LI&gt;Potential scenarios and their fixes&lt;/LI&gt;
&lt;LI&gt;Contributing to the monthly theme&lt;/LI&gt;
&lt;LI&gt;Providing learning materials, including some of the same BizTalk 2009 training materials that the BizTalk support team used: &lt;/LI&gt;&lt;/UL&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;BizTalk Server Training from Microsoft Customer Service and Support&lt;BR&gt;&lt;A href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=459bd96f-0c52-49ac-bb78-e1868c2d3121" mce_href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=459bd96f-0c52-49ac-bb78-e1868c2d3121"&gt;http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=459bd96f-0c52-49ac-bb78-e1868c2d3121&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR&gt;We encourage you to browse the BizTalk DevCenter. New information is being added on a regular basis. &lt;/P&gt;
&lt;P&gt;Thanks!&lt;BR&gt;Mandi&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9870569" width="1" height="1"&gt;</description></item><item><title>Error due to missing HIPPA Schema Trigger Field Annotations</title><link>http://blogs.msdn.com/biztalkcpr/archive/2009/07/30/error-due-to-missing-hippa-schema-trigger-field-annotations.aspx</link><pubDate>Thu, 30 Jul 2009 19:44:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9853832</guid><dc:creator>Atin Agarwal</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalkcpr/comments/9853832.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalkcpr/commentrss.aspx?PostID=9853832</wfw:commentRss><description>&lt;P&gt;Recently, I was working on a support incident where the customer have modified 837I HIPPA schema by adding a child node under DTP segment. But, while we tried to validate an instance against the schema at both design time and run time, we will get error “Object reference not set to an instance of an object”.&lt;/P&gt;
&lt;P&gt;Below is the error thrown by EDIReceive pipeline at run time.&lt;/P&gt;
&lt;P&gt;Event Type: Error &lt;BR&gt;Event Source: BizTalk Server 2009 EDI &lt;BR&gt;Event Category: None &lt;BR&gt;Event ID: 4097 &lt;BR&gt;Description: &lt;BR&gt;Fatal error encountered in EDI Disassembler, error information is Object reference not set to an instance of an object.&lt;/P&gt;
&lt;P&gt;The issue would not happen if we were using the default 837I HIPPA schema which comes out of the box with BizTalk. Now, it means that something going wrong with the node which we have added to schema and the error is also of not much help here. Also, if we remove the data from the input instance corresponding to the node added in the schema, it would get successfully parse.&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;After we did a thorough examination of schema (all thanks to Farida for this), we found that the child node added under DTP segment in the schema was missing the HIPPA Schema Trigger Field Annotations. First learn what are HIPPA Schema Trigger Field Annotations, for that click &lt;A href="http://msdn.microsoft.com/en-us/library/dd792702(BTS.10).aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/library/dd792702(BTS.10).aspx"&gt;here&lt;/A&gt;. Here it was happening that, for DTP segment, we had other default child nodes which have got their Trigger Field Annotations specifying what their qualifier values (or trigger values) are. Now when the EDI Disassembler encounters DTP segment followed by the qualifier value, it should be able to resolve it to the corresponding XML child node under DTP segment. But when it encountered DTP segment for the child node added to the schema, it was not able to resolve the qualifier value to any node since there is no child node matching that qualifier value and hence the error. &lt;/P&gt;
&lt;P&gt;Once we added the Trigger Field Annotations to the node added manually, it resolved the error. Note that, for adding the trigger info, we have to open the schema in a text editor.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/ErrorduetomissingHIPPASchemaTriggerField_37EA/image_2.png" mce_href="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/ErrorduetomissingHIPPASchemaTriggerField_37EA/image_2.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/ErrorduetomissingHIPPASchemaTriggerField_37EA/image_thumb.png" width=879 height=320 mce_src="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/ErrorduetomissingHIPPASchemaTriggerField_37EA/image_thumb.png"&gt;&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9853832" width="1" height="1"&gt;</description></item><item><title>EDI/AS2 in BizTalk 2009  : How to get the BatchId for a specific BatchName</title><link>http://blogs.msdn.com/biztalkcpr/archive/2009/07/16/edi-as2-in-biztalk-2009-how-to-get-the-batchid-for-a-specific-batchname.aspx</link><pubDate>Thu, 16 Jul 2009 12:41:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9835387</guid><dc:creator>Manuel999</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalkcpr/comments/9835387.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalkcpr/commentrss.aspx?PostID=9835387</wfw:commentRss><description>&lt;P&gt;One of the new features in BizTalk 2009 EDI is the possibility to create multiple batch configurations for each party.&lt;BR&gt;Each batch will have a specific name and specific batchID and can be managed individually.&lt;/P&gt;
&lt;P&gt;For a specific batch name you can get the corresponding batch ID. For example you may need this for an external trigger message for that batch.&lt;/P&gt;
&lt;P&gt;If you want to do that programmatically, you may expect you can just call Partner.GetBatchIdForBatchName method by passing the batch name.&lt;BR&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/microsoft.biztalk.edi.partneragreementmanager.partner.getbatchidforbatchname.aspx" mce_href="http://msdn.microsoft.com/en-us/library/microsoft.biztalk.edi.partneragreementmanager.partner.getbatchidforbatchname.aspx"&gt;http://msdn.microsoft.com/en-us/library/microsoft.biztalk.edi.partneragreementmanager.partner.getbatchidforbatchname.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But looking at the signature of that method, it is probably not what you want. Instead of expecting just a string for the batch name, this method wants two int, the partyID and the messageType. But if you just want to pass in the batch name, you do not get very far with that method.&lt;/P&gt;
&lt;P&gt;To get the batch ID for a batch name, we have a stored procedure you can call from code: edi_GetBatchIdForBatchName .&lt;BR&gt;Calling&amp;nbsp;&lt;BR&gt;&amp;nbsp; &lt;STRONG&gt;exec edi_GetBatchIdForBatchName 'MyBatch'&lt;/STRONG&gt;&lt;BR&gt;will return the ID of the batch name MyBatch.&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;Note: both calling GetBatchIdForBatchName and edi_GetBatchIdForBatchName directly is not supported.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Manuel Stern&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9835387" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/biztalkcpr/archive/tags/EDI/default.aspx">EDI</category></item><item><title>Configuring BTARN on x64 boxes</title><link>http://blogs.msdn.com/biztalkcpr/archive/2009/07/09/configuring-btarn-on-x64-boxes.aspx</link><pubDate>Thu, 09 Jul 2009 21:27:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9827340</guid><dc:creator>Larry2</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalkcpr/comments/9827340.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalkcpr/commentrss.aspx?PostID=9827340</wfw:commentRss><description>&lt;p&gt;As x64 O/S's start to become the norm documenting the additional steps required to configure BTARN to work with these may be helpful. Most of this information is documented in the troubleshooting or "known issues" section of the product documentation. The most important thing to know is BTARN is 32-bit.  &lt;p&gt;The information provided here addresses Windows Server 03 x64 and 08. The changes are to IIS so these would apply to other operating systems depending on the version of IIS. BizTalk provides configuration guidance to enable x64 processing. This is not compatible with BTARN. Review these steps if 404's or 500's are showing up in the application log when attempting to operate BTARN.  &lt;h3&gt;Web Service Extensions&lt;/h3&gt; &lt;h4&gt;Windows 03 (IIS 6.0)&lt;/h4&gt; &lt;p&gt;Open IIS manager and check the web extensions. Make sure the BizTalk externsion is not set to the x64 version. It should be "C:\Program Files (x86)\Microsoft BizTalk Server 2006\HttpReceive". The next configuration is a couple of command lines. The first sets processing to 32-bit and the second installs .Net.  &lt;p&gt;cscript %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1  &lt;p&gt;C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50215&amp;gt;aspnet_regiis.exe -i  &lt;p&gt;This may not be necessary if the ASP .Net 2.0 32-bit entry is visible and enabled under "Web Extensions". If this is not displayed the above code will make the extension available. Be sure to set the value to "allowed".  &lt;h4&gt;Windows 08 (IIS 7.0)&lt;/h4&gt; &lt;p&gt;Again, BTARN has to run as a 32-bit application. The bigger issue with 08 is the relocation of several configuration options. Here are the instructions to install the BizTalk ISAPI filter from the BizTalk documentation:  &lt;blockquote&gt; &lt;p&gt;Click Start, point to All Programs, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.  &lt;p&gt;Select the root Web server entry and in the Features View, double-click Handler Mappings and then in the Actions pane, click Add Script Map.  &lt;p&gt;Note - Configuring the script mapping at the Web server level will cause this mapping to apply to all child Web sites. If you wish to restrict the mapping to a specific Web site or virtual folder, select the target site or folder instead of the Web server.  &lt;p&gt;In the Add Script Map dialog box, enter BtsHttpReceive.dll in the Request path field.  &lt;p&gt;In the Executable field, click the ellipsis (.) button and browse to drive:\Program Files\Microsoft BizTalk Server 2009\HttpReceive. Select BtsHttpReceive.dll, and then click OK.  &lt;p&gt;Enter BizTalk HTTP Receive in the Name field, and then click Request Restrictions.  &lt;p&gt;In the Request Restrictions dialog box, select the Verbs tab and then select One of the following verbs. Enter POST as the verb.  &lt;p&gt;On the Access tab, select Script, and then click OK.  &lt;p&gt;Click OK and when prompted to allow the ISAPI extension, click Yes.&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;This works up to a point. Note the location would implement the x64 version. Since BTARN only works as a 32-bit use "C:\Program Files (x86)\Microsoft BizTalk Server 2009\HttpReceive" instead.  &lt;h3&gt;Application Pools (app pool)&lt;/h3&gt; &lt;p&gt;Make sure to use a custom app pool for each BTARN web virtual folder. Configure them to run under the same identity as the BizTalk service. This is the same for IIS 6.0 or 7.0. Move to the individual web folders and select the app pool for each.  &lt;p&gt;That's it for IIS 6.0. IIS 7.0 requires additional configuration under each app pool. Select the "Advanced" configuration option and look for "Enable 32-bit Applications" setting and change it to "True". This should get BTARN working. Use the "LoopBack" tutorial to verify the configuration.  &lt;h3&gt;Client Authentication (ELEMICA)&lt;/h3&gt; &lt;p&gt;Client authentication is not required to get BTARN up and running. However, in many cases this is required by partners. The existing procedures work for Windows 03 x64, but 08 is a different animal. The "ELEMICA" whitepaper (&lt;a href="http://msdn.microsoft.com/en-us/library/cc563935.aspx"&gt;http://msdn.microsoft.com/en-us/library/cc563935.aspx&lt;/a&gt;) provides the bulk of configuration details. The process for 08 is easier but not unless instruction is provided. The client authentication certificate installation requires more explanation.  &lt;p&gt;Open MMC and add the "Certificates" add-in. Select the machine account and open the "Personal" store. Import the private key used for client authentication.  &lt;p&gt;Right click the new entry and select "All tasks". Select "Manage Keys" and give "Everyone" read access to the key.  &lt;p&gt;The whitepaper includes a link to replacement web pages required to reference the certificate used for client authentication. The documentation is not so clear on the configuration of the web page. The additional parameter in the web.config must point to the public key of the client authentication certificate. This is the unusual situation where both the public and private keys are required. &lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9827340" width="1" height="1"&gt;</description></item><item><title>Call orchestration with ref parameter in a loop</title><link>http://blogs.msdn.com/biztalkcpr/archive/2009/06/18/call-orchestration-with-ref-parameter-in-a-loop.aspx</link><pubDate>Thu, 18 Jun 2009 18:25:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9777558</guid><dc:creator>Atin Agarwal</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalkcpr/comments/9777558.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalkcpr/commentrss.aspx?PostID=9777558</wfw:commentRss><description>&lt;P&gt;Sometime back I worked on a case where the spool would go very high and I have been thinking to blog this for some time now and today I decided I will process this awaiting queued item in my mind.&lt;/P&gt;
&lt;P&gt;I had a customer who was seeing a surge in the spool count whenever an orchestration instance started and spool would go back to its original count only once this instance get completed. As we all know, the high count of spool impact Biztalk processing, the customer was too worried about it.&lt;/P&gt;
&lt;P&gt;Looking into the orchestration, they have got a loop shape which could loop up to 40K times or even more. In this loop, they were calling an orchestration with Biztalk message being passed as ref parameter.&lt;/P&gt;
&lt;P&gt;We found that with REF we need to keep messages around until the orchestration completes, so that is why the spool count keeps growing till the loop completes and once the orchestration instance completes, Biztalk jobs would clean up messages from spool. This is by design.&lt;/P&gt;
&lt;P&gt;To demonstrate this, we got a simple orchestration with a loop inside. This will loop for 50 times only.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/Callorchestrationwithrefparameterinaloop_F45/image_10.png" mce_href="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/Callorchestrationwithrefparameterinaloop_F45/image_10.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/Callorchestrationwithrefparameterinaloop_F45/image_thumb_4.png" width=282 height=353 mce_src="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/Callorchestrationwithrefparameterinaloop_F45/image_thumb_4.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Inside the loop, we are making a call to another orchestration and passing Biztalk messages as REF parameter.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/Callorchestrationwithrefparameterinaloop_F45/image_6.png" mce_href="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/Callorchestrationwithrefparameterinaloop_F45/image_6.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/Callorchestrationwithrefparameterinaloop_F45/image_thumb_2.png" width=462 height=355 mce_src="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/Callorchestrationwithrefparameterinaloop_F45/image_thumb_2.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If we test it, and monitor the spool count in perfmon, we will see that spool keeps growing until the loop completes and once the orchestration instance completes, Biztalk jobs are quick to clear the spool. &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/Callorchestrationwithrefparameterinaloop_F45/image_8.png" mce_href="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/Callorchestrationwithrefparameterinaloop_F45/image_8.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/Callorchestrationwithrefparameterinaloop_F45/image_thumb_3.png" width=594 height=364 mce_src="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/Callorchestrationwithrefparameterinaloop_F45/image_thumb_3.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;As a workaround for REF parameter, if we pass a message as IN parameter and have one more OUT parameter of the same type in the called orchestration to return the result, I see that spool growth is lower than while using REF parameter, but still for very large loops spool count can grow substantially. &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/Callorchestrationwithrefparameterinaloop_F45/image_12.png" mce_href="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/Callorchestrationwithrefparameterinaloop_F45/image_12.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/Callorchestrationwithrefparameterinaloop_F45/image_thumb_5.png" width=594 height=364 mce_src="http://blogs.msdn.com/blogfiles/biztalkcpr/WindowsLiveWriter/Callorchestrationwithrefparameterinaloop_F45/image_thumb_5.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Also, if possible we can try using variables instead - which can be reused as opposed to message. &lt;/P&gt;
&lt;P&gt;So moral of the story is we have to avoid large loops with call orchestration shape passing ref parameter. We would suggest using smaller loop, or removing the call structure by using expression Shape or custom object etc. &lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9777558" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/biztalkcpr/archive/tags/Orchestration/default.aspx">Orchestration</category></item><item><title>How to join two schemas in a map when they contain namespaces</title><link>http://blogs.msdn.com/biztalkcpr/archive/2009/06/01/how-to-join-two-schemas-in-a-map-when-they-contain-namespaces.aspx</link><pubDate>Mon, 01 Jun 2009 23:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9681529</guid><dc:creator>Atin Agarwal</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalkcpr/comments/9681529.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalkcpr/commentrss.aspx?PostID=9681529</wfw:commentRss><description>&lt;P&gt;I worked on an issue where we were receiving two different messages (Message1 and Message2) inside orchestration each with multiple records. Now, we have to join these messages in a map inside orchestration based on TRANID and PROCID. So basically, we have to get the value of TRANID from Message1 and look for the record inside Message2 where value of PROCID matches to value of TRANID and get the value of SUM element and populate it in the output message and this process have to be repeated for every TRAN record inside Message1. &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/clip_image002_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/clip_image002_2.jpg"&gt;&lt;IMG border=0 alt=clip_image002 src="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/clip_image002_thumb.jpg" width=244 height=114 mce_src="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/clip_image002_thumb.jpg"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Input Message1&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/clip_image004_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/clip_image004_2.jpg"&gt;&lt;IMG border=0 alt=clip_image004 src="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/clip_image004_thumb.jpg" width=244 height=111 mce_src="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/clip_image004_thumb.jpg"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Input Message2&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/clip_image006_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/clip_image006_2.jpg"&gt;&lt;IMG border=0 alt=clip_image006 src="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/clip_image006_thumb.jpg" width=191 height=144 mce_src="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/clip_image006_thumb.jpg"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Output Message&lt;/P&gt;
&lt;P&gt;Though, there is already a solution for this which could be found at the blog &amp;lt;&lt;A href="http://geekswithblogs.net/synboogaloo/archive/2005/04/22/37335.aspx" mce_href="http://geekswithblogs.net/synboogaloo/archive/2005/04/22/37335.aspx"&gt;http://geekswithblogs.net/synboogaloo/archive/2005/04/22/37335.aspx&lt;/A&gt;&amp;gt;, but only thing different is that in this case, input schema contains namespace which would complicate the XPATH Query used in XSLT Call Template. Let us figure it out later, how to quickly build XPATH query using namespaces in this scenario.&lt;/P&gt;
&lt;P&gt;1) First, create the schema for the three messages. &lt;/P&gt;
&lt;P&gt;2) Now create orchestration like below. It will receive these two input messages, constructs the output message using map inside Transform shape and then sends the output to a file location. Since we have to receive two different messages using File adapter and we do not have any unique identifier for correlation purpose, I used BTS.ReceivePortName for correlation. Though, this may not be very practical, I just want to demonstrate joining of two schemas when they have got namespace. But yes, make sure that both the receive locations are in the same Receive Port.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/image_10.png" mce_href="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/image_10.png"&gt;&lt;IMG border=0 alt=image src="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/image_thumb_4.png" width=631 height=356 mce_src="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/image_thumb_4.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;3) In the transform shape, select the msgInput1 and msgInput2 as Inputs and msgOutput as Output. Open the map now.&lt;/P&gt;
&lt;P&gt;4) In the map, put a looping functoid as in the figure below. Link TRANID and DESC from input to output. The main thing remaining is to retrieve value of SUM from INPUT2 when TRANID matches to PROCID. Now drop a scripting functoid to the map and connect it to TRANID as Input and SUM as Output. It should look something like below.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/image_8.png" mce_href="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/image_8.png"&gt;&lt;IMG border=0 alt=image src="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/image_thumb_3.png" width=631 height=252 mce_src="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/image_thumb_3.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;5) Now, for the scripting functoid, things would have been something like below if the schema does not have the namespaces. But here, this XPATH query inside the ‘Inline XSLT Call Template’ will give us only blank results. &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/image_6.png" mce_href="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/image_6.png"&gt;&lt;IMG border=0 alt=image src="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/image_thumb_2.png" width=520 height=464 mce_src="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/image_thumb_2.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;6) So we need to use the namespaces prefix in out query to get the desired output. Now we need to find out the namespace prefix being used in map for INPUT 2 schema. To find it out, we need to view the XSLT of the map. Therefore, we have to validate the map file first. So, right click the map file and say validate map. Now in the output, we will get a link to the map XSLT. Open this XSL file. Now in this XSL file, we can find the prefix used for the namespace “http:\\Input2” and that is ‘&lt;B&gt;s1&lt;/B&gt;’. &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/image_4.png" mce_href="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/image_4.png"&gt;&lt;IMG border=0 alt=image src="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/image_thumb_1.png" width=632 height=442 mce_src="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/image_thumb_1.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;7) Now, use the prefix "s1" inside the XPATH Query as below. There could be other ways to use XPATH Query but this was the best I could figure out.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/image_2.png" mce_href="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/image_2.png"&gt;&lt;IMG border=0 alt=image src="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/image_thumb.png" width=520 height=464 mce_src="http://blogs.msdn.com/blogfiles/atinag/WindowsLiveWriter/Howtojointwoschemasinamapwhentheycontain_1484C/image_thumb.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;8) Deploy the solution and test it. That’s all.&lt;/P&gt;
&lt;P&gt;I believe there would be several other solutions for this and if you know one, please share it. Would really be interested in knowing that.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9681529" width="1" height="1"&gt;</description></item></channel></rss>