<?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/b/biztalkcpr/</link><description>A blog about Biztalk written by Biztalk Support Engineers</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>Duplicate key row in object 'dbo.bts_LogShippingJobs'</title><link>http://blogs.msdn.com/b/biztalkcpr/archive/2013/05/16/duplicate-key-row-in-object-dbo-bts-logshippingjobs.aspx</link><pubDate>Thu, 16 May 2013 18:10:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10419411</guid><dc:creator>Randy Ridgely [MSFT]</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;A customer was setting up Log Shipping disaster recovery for their BizTalk Server 2006 R2 environment. &lt;a href="http://technet.microsoft.com/en-us/library/aa560961(v=bts.20).aspx"&gt;http://technet.microsoft.com/en-us/library/aa560961(v=bts.20).aspx&lt;/a&gt;&amp;nbsp; They had gotten to the step where they run the stored procedure bts_ConfigureBizTalkLogShipping. They received the error "Msg 2601, Level 14, State 1,&amp;nbsp; Procedure bts_ImportSQLAgentJobs, Line 56 Cannot insert duplicate key row in object 'dbo.bts_LogShippingJobs' with unique index 'CIX_LogShippingJobs'."&lt;/p&gt;
&lt;p&gt;It turns out that this customer also had several of their own SQL Agent jobs running on the BizTalk server. As part of configuring the destination environment, we attempt to recover all of the jobs running on the BizTalk server with one exception: we don&amp;rsquo;t support importing of SQL Agent jobs where the steps use more than one database. The script's logic iterates over each database to be recovered and logs the jobs associated with that database in bts_LogShippingJobs for later recovery. If a job has more than one database association, the script attempts to log it twice. But we never want to recover the same job more than once, so bts_LogShippingJobs doesn't allow duplicate jobs. When the script attempts to log the job the second time, it fails.&lt;/p&gt;
&lt;p&gt;In general, we discourage running any jobs on the SQL Server that supports BizTalk Server other than the jobs that ship with the product.&lt;/p&gt;
&lt;p&gt;For those customers who choose to run their own jobs and encounter this issue, the solution is to temporarily remove any job(s) associated with multiple databases while setting up the destination recovery environment. You will also need to develop your own recovery plan for any such job(s). Once the destination environment is configured, you can restore the jobs. The following T-SQL will identify jobs associated with multiple databases:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;SELECT j.name, COUNT(DISTINCT js.database_name) AS dbcount &lt;br /&gt;INTO #tmp FROM msdb.dbo.sysjobsteps js &lt;br /&gt;JOIN msdb.dbo.sysjobs j WITH (NOLOCK) &lt;br /&gt;ON j.job_id = js.job_id &lt;br /&gt;GROUP BY j.name &lt;br /&gt;SELECT * FROM #tmp WHERE dbcount &amp;gt; 1 &lt;br /&gt;DROP TABLE #tmp &lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10419411" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/biztalkcpr/archive/tags/Disaster+Recovery/">Disaster Recovery</category><category domain="http://blogs.msdn.com/b/biztalkcpr/archive/tags/Log+Shipping/">Log Shipping</category></item><item><title>BizTalk EDI Leap Year Fix FAQ</title><link>http://blogs.msdn.com/b/biztalkcpr/archive/2012/02/25/biztalk-edi-leap-year-fix-faq.aspx</link><pubDate>Sat, 25 Feb 2012 05:28:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10272803</guid><dc:creator>ShaheerA</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;As you&amp;nbsp; may have heard, there is an issue in the BizTalk 2006 R2 and 2009 EDI Engines that results in a failed EDI transaction if the EDI message contains a date node that has a leap year value - for example 2/29/2012.&amp;nbsp; This issue and hotfix is documented at &lt;a href="http://support.microsoft.com/kb/2435900"&gt;http://support.microsoft.com/kb/2435900&lt;/a&gt;.&amp;nbsp; With 2/29/2012 just days away, this is a big deal and you will want to address this issue in your environment ASAP.&lt;/p&gt;
&lt;p&gt;You can also get some great information about this issue at &lt;a href="http://blogs.msdn.com/b/biztalkcrt/archive/2012/02/22/edi-leap-year-hotfix-biztalk-2009-and-biztalk-2006-r2.aspx"&gt;http://blogs.msdn.com/b/biztalkcrt/archive/2012/02/22/edi-leap-year-hotfix-biztalk-2009-and-biztalk-2006-r2.aspx.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I've also compiled a list of questions that have been asked about this issue over the last week and created a detailed FAQ document about this.&amp;nbsp; Check it out below.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, to download the pipeline sample mentioned in the FAQ, click &lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-96-90/5875.LY_5F00_Sample.zip"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;(FAQ last updated on 02/29/2012 at 12:22PM Central Time)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10272803" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-27-28-03/BTSLeapYearFAQ.docx" length="89369" type="application/octet-stream" /></item><item><title>Creating  partitioned View in the BAM Archiving Database</title><link>http://blogs.msdn.com/b/biztalkcpr/archive/2011/12/05/creating-partitioned-view-in-the-bam-archiving-database.aspx</link><pubDate>Mon, 05 Dec 2011 21:33:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10244392</guid><dc:creator>Mike Shea1</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Carl Nolan of the UK Solution Development Team wrote an excellent blog post on the above topic.&amp;#160; He includes a script for creating partitioned views that can be used if modifications to the existing activity items are continuing to be made.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/b/mcsuksoldev/archive/2011/11/15/creating-a-partitioned-view-in-the-bam-archiving-database.aspx"&gt;http://blogs.msdn.com/b/mcsuksoldev/archive/2011/11/15/creating-a-partitioned-view-in-the-bam-archiving-database.aspx&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10244392" width="1" height="1"&gt;</description></item><item><title>When tuning messaging engine threads per cpu lower from defaults can help performance</title><link>http://blogs.msdn.com/b/biztalkcpr/archive/2011/10/31/when-tuning-messaging-engine-threads-per-cpu-lower-from-defaults-can-help-performance.aspx</link><pubDate>Mon, 31 Oct 2011 14:13:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10231666</guid><dc:creator>Mike Shea1</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Say you have a large flatfile in an application that does messaging only.&amp;#160;&amp;#160; You drop a single file and you notice elevated cpu for the receive host for several minutes.&amp;#160;&amp;#160;&amp;#160; What’s happening in the host is that a single messaging thread is using the ffdasm to disassemble the flat file.&amp;#160;&amp;#160; This is a very cpu intensive activity&lt;/p&gt;  &lt;p&gt;Now you drop 100 large flatfiles.&amp;#160; Since messaging engine threads per cpu is set to 20, if you have a two processors, then there will be 40 messaging engine threads created and operating on 40 inbound flatfiles.&amp;#160;&amp;#160;&amp;#160; cpu still goes to 100%, but it takes longer for the first flatfile to be processed because other threads are taking valuable cpu resources.&amp;#160;&amp;#160; &lt;/p&gt;  &lt;p&gt;In testing on a two processor system I was able to get the best end to end performance by specifying that only one messaging engine thread per cpu be used on the receive host when performance testing with 100 files.&amp;#160; Tuning messaging engine threads per cpu to a lower value results in faster processing of the first file through the system and additionally faster overall processing.&lt;/p&gt;  &lt;p&gt;1 messaging engine thread per cpu on the receive host about 4 minutes to process the first file.&amp;#160; 1 hour and 30 minutes for all files&lt;/p&gt;  &lt;p&gt;10/21/2011&amp;#160; 02:46 PM&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; set messaging engine threads to 1 for full test.txt&lt;/p&gt;  &lt;p&gt;10/21/2011&amp;#160; 02:50 PM&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 2,752,368 {FC0AD608-1F76-43A2-B7D5-44DDB66E66DF}.xml&lt;/p&gt;  &lt;p&gt;10/21/2011&amp;#160; 04:16 PM&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 2,752,368 {F7241E83-C7F1-428D-A5DD-2582CF8ABE20}.xml&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;2 messaging engine threads per cpu on the receive host about 4 minutes to process the first file.&amp;#160; 1 hour 42 minutes to finish all approx..&lt;/p&gt;  &lt;p&gt;10/19/2011&amp;#160; 04:29 PM&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; set messaging engine threads to 2 for full test.txt&lt;/p&gt;  &lt;p&gt;10/19/2011&amp;#160; 04:33 PM&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 2,752,368 {C29DB82A-98E8-4B41-B917-093DDC708D21}.xml&lt;/p&gt;  &lt;p&gt;10/19/2011&amp;#160; 05:02 PM&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 2,752,368 {E9AFFEC2-B60B-446C-9D63-1BBBB2B2FD12}.xml&amp;#160; 33&lt;sup&gt;rd&lt;/sup&gt; file in 34 minutes.&amp;#160; Had to stop test early summary &lt;/p&gt;  &lt;p&gt;extrapolated.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;4 messaging engine threads per cpu on the receive host&amp;#160; 10 minutes time to first message and 1 hour and 39 minutes total processing time.&lt;/p&gt;  &lt;p&gt;10/19/2011&amp;#160; 06:06 PM&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; set messaging engine threads to 4 for full test.txt&lt;/p&gt;  &lt;p&gt;10/19/2011&amp;#160; 06:16 PM&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 2,752,368 {E96CD77C-8D24-4BB9-A111-871594B06F3F}.xml&lt;/p&gt;  &lt;p&gt;10/19/2011&amp;#160; 07:45 PM&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 2,752,368 {2F2EE1F9-C9F0-44A9-B2D1-1A02BC9F7EAD}.xml&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;20 messaging engine threads per cpu on the receive host (the default setting) 18 minutes.&amp;#160; 1 hour and 42 minutes for all files to be processed.&lt;/p&gt;  &lt;p&gt;10/20/2011&amp;#160; 09:35 AM&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; set messaging engine threads to 20 for full test.txt&lt;/p&gt;  &lt;p&gt;10/20/2011&amp;#160; 09:53 AM&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 2,752,368 {9BA6A42F-A634-4FEF-A29E-F16A774D823F}.xml&lt;/p&gt;  &lt;p&gt;10/20/2011&amp;#160; 11:17 AM&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 2,752,368 {262F3035-CACF-423A-BDFA-5EA817D2639B}.xml&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;50 messaging engine threads per cpu on the receive host&amp;#160; 23 minutes before first file is processed.&amp;#160; 1 hour 54 minutes for all files to be processed.&lt;/p&gt;  &lt;p&gt;10/20/2011&amp;#160; 02:56 PM&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; set messaging engine threads to 50 for full test.txt&lt;/p&gt;  &lt;p&gt;10/20/2011&amp;#160; 03:19 PM&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 2,752,368 {40BF75AF-3935-4DC1-99C4-048CD61421D1}.xml&lt;b&gt; &lt;/b&gt;&lt;/p&gt;  &lt;p&gt;10/20/2011&amp;#160; 04:50 PM&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 2,752,368 {5B72CC56-FB61-4A33-9186-3A3F954AC38A}.xml&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10231666" width="1" height="1"&gt;</description></item><item><title>BizTalk Terminator Not Cleaning Up Caching Items?</title><link>http://blogs.msdn.com/b/biztalkcpr/archive/2011/08/24/biztalk-terminator-not-cleaning-up-caching-items.aspx</link><pubDate>Wed, 24 Aug 2011 20:06:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10199924</guid><dc:creator>ShaheerA</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I've been pinged a number of times on this so thought I should blog the workaround and an explanation.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;First, let's say MBV shows you something like the following in the Warning and Summary Report:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-96-90/6305.mbv1.JPG"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-96-90/6305.mbv1.JPG" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Or you just notice in MBV that there's a bunch of cache messages in one of the queue tables:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-96-90/0447.mbv2.JPG"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-96-90/0447.mbv2.JPG" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Well, according to my &lt;a title="Using BizTalk Terminator to resolve issues identified by BizTalk MsgBoxViewer and the BizTalk 2010 Monitor BizTalk Server Job" href="http://blogs.msdn.com/biztalkcpr/pages/using-biztalk-terminator-to-resolve-issues-identified-by-biztalk-msgboxviewer.aspx" target="_blank"&gt;Using BizTalk Terminator to Resolve Issues&lt;/a&gt; article, you simply run the &lt;em&gt;Terminate Caching Instances&lt;/em&gt; task:&amp;nbsp;&lt;/p&gt;
&lt;table border="2" cellspacing="0" cellpadding="3"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="top"&gt;
&lt;p&gt;&lt;b&gt;Issue Identified by MBV &lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top"&gt;
&lt;p&gt;&lt;b&gt;Resolution Options&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top"&gt;
&lt;p&gt;&lt;b&gt;Terminator Resolution Task&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top"&gt;
&lt;p&gt;&lt;b&gt;Terminator View Task &lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top"&gt;
&lt;p&gt;&lt;b&gt;Root Cause&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top"&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/biztalkcpr/pages/using-biztalk-terminator-to-resolve-issues-identified-by-biztalk-msgboxviewer.aspx#Cache"&gt;Orphaned Cache Instances&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top"&gt;
&lt;p&gt;MBV Integration or Manual Task Selection&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top"&gt;
&lt;p&gt;&lt;span style="background-color: #ffff00;"&gt;Terminate Caching Instances&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: #ffff00;"&gt;(in Delete task category)&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top"&gt;
&lt;p&gt;View Count of Cache Messages in All Host Queues&lt;/p&gt;
&lt;p&gt;View Count of Cache Instances in All Hosts&lt;u1:p&gt;&lt;/u1:p&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top"&gt;
&lt;p&gt;This is due to a known bug and there is a hotfix available.&amp;nbsp; See KBs 944426 &amp;amp; 936536 for details.&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That should do it.&amp;nbsp; If it doesn't, make sure you have stopped all the BizTalk hosts (that includes the IIS app pool hosting the BizTalk isolated host if the caching items are there) and try again.&amp;nbsp; (Hey, you shouldn't be running Terminator without stopping all the BTS hosts anyway).&lt;/p&gt;
&lt;p&gt;Now, &lt;em&gt;that&lt;/em&gt; will definitely do it.&lt;/p&gt;
&lt;p&gt;Well...&amp;nbsp;like 99.9% of the time.&lt;/p&gt;
&lt;p&gt;Let's say you do all of the above and then run one of those View tasks (or MBV)&amp;nbsp; and notice that Terminator left behind some of those caching instances (and their associated caching messages).&amp;nbsp; This happens even though Terminator claims to have terminated all of them successfully.&amp;nbsp; And rerunning the task doesn't help - Terminator will repeatedly say it successfully terminated those instances but either of the View tasks will show that they're still there.&lt;/p&gt;
&lt;p&gt;Ok, so now you're most likely running into a very rare scenario that I've come across a few times.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;First,&amp;nbsp;I should point out that the &lt;em&gt;Terminate Caching Instances&lt;/em&gt; and &lt;em&gt;Terminate Instances&lt;/em&gt; tasks use BizTalk's WMI API to interact with the messagebox - and that's key.&amp;nbsp; I had the opportunity to analyze some data from a customer environment that was running into this issue and it turns out&amp;nbsp;that there are certain times when msgbox logic prevents the stored procs called by WMI from terminating &amp;ldquo;internal&amp;rdquo; instances &amp;ndash; with caching being considered one of those "internal" types.&amp;nbsp; As far as when exactly the msgbox logic goes down this "rare" path, I've never had access to&amp;nbsp;a repro environment where I could fully debug this so I don't have a good answer for that.&lt;/p&gt;
&lt;p&gt;So&amp;nbsp;I was going to write code in Terminator's WMI class&amp;nbsp;to catch this scenario and warn the user that they need to use the workaround to clean up the remaining items but unfortunately the msgbox logic catches the failed call and doesn&amp;rsquo;t pass that info on to the WMI caller &amp;ndash; so there&amp;rsquo;s no way for Terminator (or any WMI client) to know that some of the instances weren&amp;rsquo;t deleted.&amp;nbsp; As far as the WMI client is concerned, the stored proc call completed sucessfully so it assumes the instances it asked to be Terminated were actually terminated.&lt;/p&gt;
&lt;p&gt;So what's the workaround?&amp;nbsp; Well, don't use WMI for this particular situation.&amp;nbsp; Instead, use Terminator's Hard Termination tasks (&lt;i&gt;Terminate Multiple Instances (Hard Termination) &lt;/i&gt;or&lt;i&gt; &lt;i&gt;Terminate Single Instance (Hard Termination).&lt;/i&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;While I was working on Terminator's WMI class and having BizTalk engineers use Terminator on an internal-only basis within Microsoft, we noticed that on very rare occasions the termination tasks would not terminate something.&amp;nbsp; This would not be a limitation of Terminator and we could reproduce it with any WMI client (including the BTS Admin console).&amp;nbsp; I created the hard termination tasks specifically to handle those scenarios.&amp;nbsp; They bypass BizTalk's normal termination API and use SQL calls to directly interact with the BizTalk msgbox.&amp;nbsp; They can terminate anything (well, so far)&amp;nbsp;- even internal instances.&amp;nbsp; Originally, we just had the &lt;i&gt;Terminate Single Instance (Hard Termination) &lt;/i&gt;task to help terminate a one-off instance that just wouldn't terminate any other way.&amp;nbsp;&amp;nbsp;That worked great for those one-off scenarios but I soon realized that sometimes there would be a larger number of instances that needed hard termination.&amp;nbsp; I left the single instance task to give users that functionality and wrote the &lt;i&gt;Terminate Multiple Instances (Hard Termination) &lt;/i&gt;task.&amp;nbsp; That allows the user to choose the Host, Class, Status, and the Max number of instances to terminate and will do hard terminates on all items that fit the filter criteria.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The only thing that is painful about the &lt;i&gt;Terminate Multiple Instances (Hard Termination) &lt;/i&gt;task is that if you have instances across multiple hosts with various statuses, you will need to run the task for each permutation since it doesn't have the ability to handle, in one execution, multiple hosts and statuses (or classes) like the WMI-based&amp;nbsp;&lt;em&gt;Terminate Instances&lt;/em&gt; and &lt;em&gt;Terminate Caching Instances&lt;/em&gt; tasks.&amp;nbsp; Since Terminator v2 supports Powershell, I'm hoping at some point to create a powershell-based hard terminate task that can provide this functionality - just haven't had the time to do that yet.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: medium;"&gt;So, in short:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: medium;"&gt;&lt;strong&gt;Problem:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: medium;"&gt;The &lt;em&gt;Terminate Caching Instances&lt;/em&gt; task is not cleaning up all cache items.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: medium;"&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: medium;"&gt;Use the&amp;nbsp;&lt;i&gt;Terminate Multiple Instances (Hard Termination)&lt;/i&gt; task,&amp;nbsp;choose Caching as the Class Parameter.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: medium;"&gt;You will need to re-run this task for each Host and Status that applies to the cache items you're trying to terminate - MBV or the Terminator View Count of Cache tasks should give you some info in this regard.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: medium;"&gt;BTW, I've seen active, dehydrated, and suspended cache items so you may need to cycle through all of those Statuses.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: medium;"&gt;In general, if you ever find that any of the termination tasks are not terminating what you want, the two Hard Termination tasks (Single and Multiple) are the workaround.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: medium;"&gt;&lt;strong&gt;Remember that Hard Termination tasks bypass the normal BTS APIs so should only be used if the normal &lt;em&gt;Terminate Instances&lt;/em&gt; or &lt;em&gt;Terminate Caching Instances&lt;/em&gt; task is not working - and as always, be careful with Terminator - especially when doing any of the deletion tasks.&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10199924" width="1" height="1"&gt;</description></item><item><title>MQSC options may not be available in Biztalk Administration console</title><link>http://blogs.msdn.com/b/biztalkcpr/archive/2011/06/28/mqsc-options-may-not-be-available-in-biztalk-administration-console.aspx</link><pubDate>Tue, 28 Jun 2011 18:18:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10181044</guid><dc:creator>Dwaine D Gilmer</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;Recently, we ran into some issues in which the MQSC adapter was not displayed as an option in the BizTalk Administration console, even after the adapter was properly installed on a BizTalk 2009 / Windows 2008 SP1 server. Before outlining the problem and the solution, let&amp;rsquo;s discuss the MQSC adapter basics first.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;b&gt;&lt;span size="3"&gt;MQSC Adapter Basics&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;The MQSC adapter is only supported running in 32-bit mode on BizTalk 2006 R2, regardless of the operating system being used. On BizTalk 2009 and 2010, the MQSC adapter is supported on Windows 32-bit and Windows 64-bit configurations. In BizTalk 2009, the ability to run in a 64-bit host depends on the version of the IBM Websphere client installed, specifically MQ Client (7.x) or greater. If the goal is to run 64-bit hosts then the 64-bit version of the IBM Websphere client must be installed onto a supported Windows operating system running on a 64-bit processor. &lt;/span&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;For&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;more information, please follow the installation documentation for the IBM &lt;/span&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Websphere client and/or the installation documentation for the version of Biztalk being &lt;/span&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;installed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;b&gt;&lt;span size="3"&gt;939202 Update&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;This update forces the MQSC adapter to run in 32-bit hosts in BizTalk 2006 R2 regardless if the operating system is 32-bit or 64-bit. When 939202 is installed onto any other version of BizTalk (except BizTalk 2006 R2), you may get the &amp;ldquo;Exception: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)&amp;rdquo; exception when running the adapter in 64-bit hosts. Uninstall the 939202 update. If a problems persists, call Microsoft customer support.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;b&gt;&lt;span size="3"&gt;MQSC Adapter WMI Installation May Fail&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;When the MQSC adapter is installed onto BizTalk 2009 / Windows 2008 SP1 (or later SP) or BizTalk 2010 / Windows 2008 R2, it is possible that the WMI install will fail to write the proper registry entries when loading the &amp;ldquo;Microsoft.BizTalk.Adapter.MQSCAdmin.dll&amp;rdquo;. The BizTalk MMC console runs as 32-bit MMC.exe process. When the MQSC adapter installation fails, it does not write the correct information to the registry keys used by the MQSC adapter. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;To resolve this, add the &amp;ldquo;MQSC Adapter Class&amp;rdquo; class information manually into the Wow6432Node node in the registry and then do a repair of the MQSC adapter (again, it is part of the HIS installation). The outline for correcting this problem is as follows:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;&lt;span face="Calibri"&gt;Install MQ 7.x or greater and all of the appropriate updates (64-bit version).&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;&lt;span face="Calibri"&gt;Install BizTalk Host Adapters 2.0 from the HIS 2009/2010 Server media onto the target BizTalk 2009/2010 server.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;&lt;span face="Calibri"&gt;Copy the registry information below into a registry file (.reg file) and import it into the HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID key.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;&lt;span face="Calibri"&gt;Run the repair for the BizTalk Host Adapters 2.0 from the HIS 2009/2010 Server media (do not skip this step).&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;&lt;span face="Calibri"&gt;The MQSC adapter should show up in the BizTalk Administration console.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;span face="Calibri" size="3"&gt;&amp;nbsp;&lt;/span&gt;&lt;span size="3"&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Please refer to the appropriate HIS&amp;nbsp;and IBM Websphere client documentation for the most current installation procedures. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;&lt;strong&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;span size="3"&gt;REGISTRY ENTRY&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;nbsp;"Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to re-install Windows to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk."&lt;/span&gt;&lt;/p&gt;
&lt;table border="1" cellspacing="0" cellpadding="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="top" width="638"&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;REGISTRY ENTRY&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;=============&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;Windows Registry Editor Version 5.00&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID\{CF8B4D15-5D2B-4c62-90DB-16804D2454B9}]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;@="MQSC Adapter Class"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;"AppID"="{401D2C40-DAA9-4a63-8D42-9BF98B04F616}"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID\{CF8B4D15-5D2B-4c62-90DB-16804D2454B9}\BizTalk]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;@="BizTalk"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;"TransportType"="MQSC"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;"Constraints"=dword:00003d0b&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;"ReceiveLocation_PageProv"="{2DE93EE6-CB01-4007-93E9-C3D71689A280}"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;"TransmitLocation_PageProv"="{2DE93EE6-CB01-4007-93E9-C3D71689A282}"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;"OutboundProtocol_PageProv"="{2DE93EE6-CB01-4007-93E9-C3D71689A283}"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;"OutboundEngineCLSID"="{6811E17F-A4C2-44BB-B4D5-D69962E58E87}"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;"InboundEngineCLSID"="{538F8B3D-EE7B-4459-A123-45CD5C3B671B}"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;"InboundTypeName"="Microsoft.BizTalk.Adapter.Mqsc.MqscReceiver, Microsoft.BizTalk.Adapter.MQSC, Version=7.0.2300.0, Culture=neutral, &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;PublicKeyToken=31bf3856ad364e35, Custom=null"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;"InboundAssemblyPath"=""&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;"OutboundTypeName"="Microsoft.BizTalk.Adapter.Mqsc.MqscTransmitter, Microsoft.BizTalk.Adapter.MQSC, Version=7.0.2300.0, Culture=neutral, &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;PublicKeyToken=31bf3856ad364e35, Custom=null"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;"OutboundAssemblyPath"=""&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;"PropertyNameSpace"="&lt;a href="http://schemas.microsoft.com/BizTalk/2003/mqs-properties"&gt;&lt;span style="color: #0000ff;" color="#0000ff"&gt;http://schemas.microsoft.com/BizTalk/2003/mqs-properties&lt;/span&gt;&lt;/a&gt;"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;"ProtocolAlias"="mqsc://"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;"ReceiveHandlerPropertiesXML"="&amp;lt;CustomProps&amp;gt;&amp;lt;AdapterConfig vt=\"8\"/&amp;gt;&amp;lt;/CustomProps&amp;gt;"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;"SendHandlerPropertiesXML"="&amp;lt;CustomProps&amp;gt;&amp;lt;AdapterConfig vt=\"8\"/&amp;gt;&amp;lt;/CustomProps&amp;gt;"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;"ReceiveLocationPropertiesXML"="&amp;lt;CustomProps&amp;gt;&amp;lt;AdapterConfig vt=\"8\"/&amp;gt;&amp;lt;/CustomProps&amp;gt;"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;"SendLocationPropertiesXML"="&amp;lt;CustomProps&amp;gt;&amp;lt;AdapterConfig vt=\"8\"/&amp;gt;&amp;lt;/CustomProps&amp;gt;"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;"AliasesXML"="&amp;lt;AdapterAliasList&amp;gt;&amp;lt;AdapterAlias&amp;gt;mqsc://&amp;lt;/AdapterAlias&amp;gt;&amp;lt;/AdapterAliasList&amp;gt;"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;"AdapterMgmtTypeName"="Microsoft.BizTalk.Adapter.Mqsc.MqscAdapterManagement"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;"AdapterMgmtAssemblyPath"="C:\\Program Files (x86)&lt;a href="file://microsoft/"&gt;&lt;span style="color: #0000ff;" color="#0000ff"&gt;\\Microsoft&lt;/span&gt;&lt;/a&gt; BizTalk Adapters for Host Systems 2.0\\system\\Microsoft.BizTalk.Adapter.MQSCAdmin.dll"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID\{CF8B4D15-5D2B-4c62-90DB-16804D2454B9}\Implemented Categories]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID\{CF8B4D15-5D2B-4c62-90DB-16804D2454B9}\Implemented Categories\{80D39129-B68D-4f85-98EF-&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;151A4E1627F7}]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;@=""&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;" size="3"&gt;&lt;b&gt;NOTE: &lt;/b&gt;Confirm that the "AdapterMgmtAssemblyPath" is proper for your installation.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10181044" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/biztalkcpr/archive/tags/MQSC+Adapter/">MQSC Adapter</category></item><item><title>BTARN App Pool Settings for BizTalk 2010</title><link>http://blogs.msdn.com/b/biztalkcpr/archive/2011/03/05/btarn-app-pool-settings-for-biztalk-2010.aspx</link><pubDate>Sat, 05 Mar 2011 14:58:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10137261</guid><dc:creator>LemMotlo</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Here is a some additional information regarding extending BTARN 2010 with new PIP’s. The artifacts generated are going to be .Net 4.0 unless Visual Studio is configured to do otherwise. This means along with setting the application pools for the 32-bit the .Net setting must be set to match. &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-96-90-metablogapi/6862.image_5F00_03978566.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-96-90-metablogapi/3225.image_5F00_thumb_5F00_7A4B2457.png" width="791" height="917" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The error will happen after receiving a document using the new schema. Here is a sample error.&lt;/p&gt;  &lt;p&gt;Event Type:&amp;#160;&amp;#160;&amp;#160; Error   &lt;br /&gt;Event Source:&amp;#160;&amp;#160;&amp;#160; BizTalk Accelerator for RosettaNet    &lt;br /&gt;Event Category:&amp;#160;&amp;#160;&amp;#160; None    &lt;br /&gt;Event ID:&amp;#160;&amp;#160;&amp;#160; 4096    &lt;br /&gt;Date:&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 3/3/2011    &lt;br /&gt;Time:&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 4:28:03 PM    &lt;br /&gt;User:&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; N/A    &lt;br /&gt;Computer:&amp;#160;&amp;#160;&amp;#160; BASE08R2-1.northamerica.corp.microsoft.com    &lt;br /&gt;Description:    &lt;br /&gt;Source module:    &lt;br /&gt;RNDisAssembler&lt;/p&gt;  &lt;p&gt;Correlation information:&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;Description:&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;Receive pipeline rejected incoming message     &lt;br /&gt;due to the following RNIF exception:     &lt;br /&gt;UNP.SCON.VALERR : A failure occurred while validating the service content.    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/p&gt;  &lt;p&gt;Details:   &lt;br /&gt;The document specification &amp;lt;MyCustomPIP._2A1_MS_V02_00_ProductCatalogInformationNotification&amp;gt; from assembly &amp;lt;MyCustomPIP, Version=1.0.0.0, Culture=neutral, PublicKeyToken=279ae20de2fddcaf&amp;gt; failed to load. Verify the schema for this document specification is deployed and is in the Global Assembly Cache.     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/p&gt;  &lt;p&gt;For more information, see Help and Support Center at &lt;a href="http://go.microsoft.com/fwlink/events.asp"&gt;http://go.microsoft.com/fwlink/events.asp&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10137261" width="1" height="1"&gt;</description></item><item><title>BTARN and TLS Protocol</title><link>http://blogs.msdn.com/b/biztalkcpr/archive/2010/09/10/btarn-and-tls-protocol.aspx</link><pubDate>Fri, 10 Sep 2010 13:20:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10060281</guid><dc:creator>LemMotlo</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;As part of a blog entry back in April I mentioned a problem some folks were having with RNIFSend pages. Here’s the blog link (check the bottom of the post).&lt;/p&gt;  &lt;p&gt;&lt;a title="http://blogs.msdn.com/b/biztalkcpr/archive/2009/09/04/troubleshooting-btarn-web-pages-and-more-on-btarn-x64.aspx" href="http://blogs.msdn.com/b/biztalkcpr/archive/2009/09/04/troubleshooting-btarn-web-pages-and-more-on-btarn-x64.aspx"&gt;http://blogs.msdn.com/b/biztalkcpr/archive/2009/09/04/troubleshooting-btarn-web-pages-and-more-on-btarn-x64.aspx&lt;/a&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;At the time I could not confirm the problem can happen with Windows 03 (x32 and x64). The issue has been confirmed with the latest service packs/security updates for Windows 03 SP2. The send page will attempt to use TLS first (not SSL 3.0). Also, immediately after the “Client Hello” in the network trace the conversation shows “Encrypted Alert” and the communication ends.&lt;/p&gt;  &lt;p&gt;If web page tracing has been added it will show “Underlying connection was closed”. The fix is the same. Add a line of code to the RNIFSend page to force the use of SSL 3.0.&lt;/p&gt;  &lt;p&gt;ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3; (add this)&lt;/p&gt;  &lt;p&gt;//rest of the code&lt;/p&gt;  &lt;p&gt;HttpWebRequest outerRequest = null;&lt;/p&gt;  &lt;p&gt;ErrorLevel level = ErrorLevel.ProxyToOuterFailure;&lt;/p&gt;  &lt;p&gt;The location is not critical. Keeping it close to the other connection related code is a good idea. Copy the existing virtual folders as a backup. Deploy the new send page and test.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10060281" width="1" height="1"&gt;</description></item><item><title>BTARN BizTalk 06 R2 SP1</title><link>http://blogs.msdn.com/b/biztalkcpr/archive/2010/08/13/btarn-biztalk-06-r2-sp1.aspx</link><pubDate>Fri, 13 Aug 2010 19:13:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10049976</guid><dc:creator>LemMotlo</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Looks like some slipped through the cracks on SP1 upgrades with BTARN installed. If the process hangs with the command box open check the setup log. It may look like this.&lt;/p&gt;  &lt;p&gt;. . . &lt;/p&gt;  &lt;p&gt;[08/13/10 11:42:12] Package Microsoft BizTalk Accelerator for RosettaNet 3.5 is installed.&lt;/p&gt;  &lt;p&gt;[08/13/10 11:42:12] Package code is {394EFEF0-99D2-4DBA-9446-0664E62ACEAF}.&lt;/p&gt;  &lt;p&gt;[08/13/10 11:42:12] Performing post-installation custom actions. 1 actions to perform.&lt;/p&gt;  &lt;p&gt;[08/13/10 11:42:12] Starting process &amp;quot;C:\Documents and Settings\All Users\Application Data\Microsoft\E-Business Servers Updates\Updates\UninstallSP1\Install.exe&amp;quot; ...&lt;/p&gt;  &lt;p&gt;The problem is “xcopy” is trying to copy a file and it already exists. This causes a hang condition. The fix is to let the install continue by killing the “xcopy” process in task manager. This should let the install finish. If the process remains in the hung condition after a minute or so kill the “install.exe” process and un-install the SP.&lt;/p&gt;  &lt;p&gt;If you have to re-install avoid the issue by deleting the file “C:\WINDOWS\system32\AcceleratorsInterop.dll “. Then run the SP again. Be sure to read the install document with the SP. It has several required manual steps like un-enlisting the BTARN orchestrations.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10049976" width="1" height="1"&gt;</description></item><item><title>Proxy Peckin’ Order</title><link>http://blogs.msdn.com/b/biztalkcpr/archive/2010/07/22/proxy-peckin-order.aspx</link><pubDate>Thu, 22 Jul 2010 12:06:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10041360</guid><dc:creator>LemMotlo</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Proxy configuration for BizTalk has always been fairly straight forward. Go to the send point and click the “Configure” button then select the “Proxy” tab. Couldn’t be much easier.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-96-90-metablogapi/6232.image_5F00_718B35A0.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/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-96-90-metablogapi/2626.image_5F00_thumb_5F00_01766666.png" width="396" height="439" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;A recent case pointed out what happens when the “Do not use proxy” option is selected. It turns out there is a hierarchy to the proxy assignment.&lt;/p&gt;  &lt;table border="0" cellspacing="0" cellpadding="2" width="400"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="19"&gt;1&lt;/td&gt;        &lt;td valign="top" width="381"&gt;Send Port&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="19"&gt;2&lt;/td&gt;        &lt;td valign="top" width="381"&gt;BizTalk App Config&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="19"&gt;3&lt;/td&gt;        &lt;td valign="top" width="381"&gt;Machine Config&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="19"&gt;4&lt;/td&gt;        &lt;td valign="top" width="381"&gt;local IE user setting&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;Selecting “Do not use proxy” from the send port does not mean no proxy will be assigned. Some messages were getting a proxy assignment and other were not. This can be caused by logging into the BizTalk box using the account running the BizTalk host. The local box assigns the IE proxy settings to this user. Now one BizTalk box could be different than the others. Not only will the proxy settings be picked up, but also the IE “Automatically detect settings” configuration is also picked up. This can adversely impact BizTalk processing. &lt;/p&gt;  &lt;p&gt;The solution is simple. Don’t leave proxy settings to default. Set the BizTalk app config to the appropriate settings. Here are a couple of links to deal with these issues.&lt;/p&gt;  &lt;p&gt;&lt;a title="http://support.microsoft.com/default.aspx?scid=kb;EN-US;968699" href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;968699"&gt;http://support.microsoft.com/default.aspx?scid=kb;EN-US;968699&lt;/a&gt;&amp;#160;&amp;#160; auto detect issue&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;a title="http://msdn.microsoft.com/en-us/library/kd3cf2ex.aspx" href="http://msdn.microsoft.com/en-us/library/kd3cf2ex.aspx"&gt;http://msdn.microsoft.com/en-us/library/kd3cf2ex.aspx&lt;/a&gt;&amp;#160;&amp;#160; Configuring the default proxy settings&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10041360" width="1" height="1"&gt;</description></item></channel></rss>