<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>MSMQ Information and Troubleshooting Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/gautamm/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/gautamm/feed.xml</link>
    <description />
    <lastBuildDate>Tue, 16 Apr 2019 05:09:13 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Biztalk 2013 - Oracle WCF Adapter throws Error “System.NullReferenceException: Object reference no set to an instance of an object”.</title>
      <link>https://docs.microsoft.com/archive/blogs/gautamm/biztalk-2013-oracle-wcf-adapter-throws-error-system-nullreferenceexception-object-reference-no-set-to-an-instance-of-an-object</link>
      <pubDate>Thu, 12 Feb 2015 17:26:04 GMT</pubDate>
      <dc:creator><![CDATA[Gautamm-MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gautamm/2015/02/12/biztalk-2013-oracle-wcf-adapter-throws-error-system-nullreferenceexception-object-reference-no-set-to-an-instance-of-an-object/</guid>
      <description><![CDATA[Customer was using Biztalk 2013 WCF Oracle Adapter to Insert messages into Oracle Database. The host...]]></description>
      <content:encoded><![CDATA[<p>Customer was using Biztalk 2013 WCF Oracle Adapter to Insert messages into Oracle Database. The host Instance would crash and we would get error &ldquo;System.NullReferenceException: Object reference no set to an instance of an object&rdquo;.</p>
<p>After we took a WCF trace we found that the real error was "Unable to load OraMTS".</p>
<p>&nbsp;</p>
<p><strong>Resolution:</strong></p>
<p>After some research we found that this error can occur if the Ambient Transaction property on the Port Configuration is checked. Disabling it fixed the issue.</p>]]></content:encoded>
    </item>
    <item>
      <title>Biztalk 2010 WCF adapters Fail after Installation of .Net Framework 4.5</title>
      <link>https://docs.microsoft.com/archive/blogs/gautamm/biztalk-2010-wcf-adapters-fail-after-installation-of-net-framework-4-5</link>
      <pubDate>Wed, 11 Jun 2014 16:26:07 GMT</pubDate>
      <dc:creator><![CDATA[Gautamm-MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gautamm/2014/06/11/biztalk-2010-wcf-adapters-fail-after-installation-of-net-framework-4-5/</guid>
      <description><![CDATA[Biztalk 2010 does not support .Net Framework 4.5 as of today. Hence we may experience unexpected...]]></description>
      <content:encoded><![CDATA[<p>Biztalk 2010 does not support .Net Framework 4.5 as of today. Hence we may experience unexpected side effects of installing .Net Frameowork 4.5 on a Biztalk 2010 Server. One such problem that was experience by one of the customers I recently worked with was that the WCF Adapters No Longer Work as expected. Every time we tried to configure the WCF SQL adapter Receive location we got the following error pop up message:</p>
<p><br /><br />TITLE: BizTalk Server Administration<br />------------------------------<br /><br />Exception has been thrown by the target of an invocation. (mscorlib)<br /><br />------------------------------<br />ADDITIONAL INFORMATION:<br /><br />Binding not found : sqlBinding (Microsoft.Adapters.Common.BizTalk)<br /><br />------------------------------<br />BUTTONS:<br /><br />OK<br />------------------------------</p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;"><strong>Resolution:</strong></span></p>
<p>To resolve the issue we did a Repair of the Biztalk Adapter Pack. Run the Repair on both the 32-bit and 64-bit version of the Adapter Pack.</p>
<p>&nbsp;</p>
<p>Note: No Applications were affected by our in place repair but it would be a good idea to back your Biztalk application bindings and binaries as well as ensuring that you have a recent backup of all your Biztalk Databases.</p>]]></content:encoded>
    </item>
    <item>
      <title>Biztalk 2009 Administration / Management Snap-in Fails to Load.</title>
      <link>https://docs.microsoft.com/archive/blogs/gautamm/biztalk-2009-administration-management-snap-in-fails-to-load</link>
      <pubDate>Wed, 11 Jun 2014 16:12:00 GMT</pubDate>
      <dc:creator><![CDATA[Gautamm-MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gautamm/2014/06/11/biztalk-2009-administration-management-snap-in-fails-to-load/</guid>
      <description><![CDATA[If you are running Biztalk 2009 or any other version for that matter and if you get the following...]]></description>
      <content:encoded><![CDATA[<p>If you are running Biztalk 2009 or any other version for that matter and if you get the following error when trying to view your Biztalk Application then Follow the steps below to help resolve this:</p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;"><strong>Error</strong><strong>:</strong></span></p>
<p>Microsoft.BizTalk.ExceptionMessageBox.BtsExceptionMessageBox.ReprocessManagementException(Exception exception, Exception newInnerException)</p>
<p>&nbsp;&nbsp; at Microsoft.BizTalk.ExceptionMessageBox.BtsExceptionMessageBox.ReprocessSpecificExceptions(Exception exception, Exception newInnerException)</p>
<p>&nbsp;&nbsp; at Microsoft.BizTalk.ExceptionMessageBox.BtsExceptionMessageBox.ReprocessExceptionRecursive(Exception exception)</p>
<p>&nbsp;&nbsp; at Microsoft.BizTalk.ExceptionMessageBox.BtsExceptionMessageBox.set_Message(Exception value)</p>
<p>&nbsp;&nbsp; at Microsoft.BizTalk.ExceptionMessageBox.BtsExceptionMessageBox..ctor(Exception exception, ExceptionMessageBoxButtons buttons, ExceptionMessageBoxSymbol symbol)</p>
<p>&nbsp;&nbsp; at Microsoft.BizTalk.SnapIn.Framework.FrameworkNotification.Show(Exception exception, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, Control staMarshaller, IWin32Window parent)</p>
<p>&nbsp;&nbsp; at Microsoft.BizTalk.SnapIn.Framework.FrameworkNotification.ShowError(Exception exception, Control staMarshaller, IWin32Window parent)</p>
<p>&nbsp;&nbsp; at Microsoft.BizTalk.SnapIn.Framework.FrameworkNotification.ShowError(Exception exception)</p>
<p>&nbsp;&nbsp; at Microsoft.BizTalk.Administration.SnapIn.GroupNode.FullRefresh(Object o, ResultsChangedEventArgs e)</p>
<p>&nbsp;&nbsp; at Microsoft.BizTalk.Administration.SnapIn.GroupNode.OnExpand(AsyncStatus status)</p>
<p>&nbsp;&nbsp; at Microsoft.ManagementConsole.NodeSyncManager.ProcessRequest(NodeRequestInfo info, IRequestStatus requestStatus)</p>
<p>&nbsp;&nbsp; at Microsoft.ManagementConsole.NamespaceSnapInBase.ProcessRequest(Request request)</p>
<p>&nbsp;&nbsp; at Microsoft.ManagementConsole.SnapIn.ProcessRequest(Request request)</p>
<p>&nbsp;&nbsp; at Microsoft.ManagementConsole.Internal.SnapInClient.Microsoft.ManagementConsole.Internal.IMessageClient.ProcessRequest(Request request)</p>
<p>&nbsp;&nbsp; at Microsoft.ManagementConsole.Internal.IMessageClient.ProcessRequest(Request request)</p>
<p>&nbsp;&nbsp; at Microsoft.ManagementConsole.Executive.RequestStatus.BeginRequest(IMessageClient messageClient, RequestInfo requestInfo)</p>
<p>&nbsp;&nbsp; at Microsoft.ManagementConsole.Executive.SnapInRequestOperation.ProcessRequest()</p>
<p>&nbsp;&nbsp; at Microsoft.ManagementConsole.Executive.Operation.OnThreadTransfer(SimpleOperationCallback callback)</p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;"><strong>Resolution:</strong></span></p>
<p>The issue is due to possible corruption of the Biztalk WMI Object. Inorder to fix this run the command below from the directory where you have BTSWMISchema.mof file present.</p>
<p>&nbsp;</p>
<p><strong>mofcomp BTSWMISchema.mof</strong></p>
<p>&nbsp;</p>
<p>The&nbsp; Above command rebuild the WMI Objects for Biztalk. This command should not affect any of your installed Biztalk Applications.</p>]]></content:encoded>
    </item>
    <item>
      <title>MSMQ Service Reports "Insufficient Resources to perform this operation" when trying to create a Private Queue.</title>
      <link>https://docs.microsoft.com/archive/blogs/gautamm/msmq-service-reports-insufficient-resources-to-perform-this-operation-when-trying-to-create-a-private-queue</link>
      <pubDate>Tue, 30 Oct 2012 14:08:00 GMT</pubDate>
      <dc:creator><![CDATA[Gautamm-MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gautamm/2012/10/30/msmq-service-reports-insufficient-resources-to-perform-this-operation-when-trying-to-create-a-private-queue/</guid>
      <description><![CDATA[Problem:
&nbsp;Customer was trying to create a private queue on a Windows 2008 R2&nbsp;Server and...]]></description>
      <content:encoded><![CDATA[<p><strong>Problem:</strong></p>
<p>&nbsp;Customer was trying to create a private queue on a Windows 2008 R2&nbsp;Server and getting back an "<em>insufficient resources to perform this operation</em>"&nbsp;error when trying to create a private queue.</p>
<p><strong></strong>&nbsp;</p>
<p><strong>BackGround:</strong></p>
<p>It has been 5+years since I have worked on a MSMQ Insufficient Resource to perform this Operation error. On Windows 2000 and 2003 these errors were pretty frequent and the root cause was due to storage size. So when I got this customer reporting this on Windows 2008 R2 Server I was a little surprised since storage size is not a really that big of a deal.</p>
<p><strong>Cause:</strong></p>
<p>After a little digging around, I found that the security on the server had been hardened. As a result of this, the MSMQ storage directory default&nbsp;security had been modified and had locked the msmq service out and the service was unable to access the storage folder.</p>
<p><strong>Resolution:</strong></p>
<p>We gave everyone group full access to the msmq storage and that resolved the issue.</p>]]></content:encoded>
    </item>
    <item>
      <title>MSMQ Service Hangs when trying to stop or start it on Windows 2008 or Windows 2008 R2 Server.</title>
      <link>https://docs.microsoft.com/archive/blogs/gautamm/msmq-service-hangs-when-trying-to-stop-or-start-it-on-windows-2008-or-windows-2008-r2-server</link>
      <pubDate>Mon, 04 Jun 2012 11:34:59 GMT</pubDate>
      <dc:creator><![CDATA[Gautamm-MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gautamm/2012/06/04/msmq-service-hangs-when-trying-to-stop-or-start-it-on-windows-2008-or-windows-2008-r2-server/</guid>
      <description><![CDATA[Problem:
If you are running Microsoft Message Queue (MSMQ) on Windows 2008 or Windows 2008 R2...]]></description>
      <content:encoded><![CDATA[<p><strong>Problem:</strong></p>
<p>If you are running Microsoft Message Queue (MSMQ) on Windows 2008 or Windows 2008 R2 Server and the service hangs on startup or when stopping it and logs the following error to event log:</p>
<p>Event ID: 2084</p>
<p>The Message Queuing Service cannot start because a queue is in an inconsistent state. For More Information See Microsoft Knowledge Base Article 827493 at support.microsoft.com</p>
<p>&nbsp;</p>
<p><strong>Resolution:</strong></p>
<p>After troubleshooting we found that the machine name for this server was greater than 15 characters. Netbios names can only be 15 characters or less. This was causing problems with the MSMQ Service as a result it was ending up in the inconsistent state as specified in the error. To fix this issue, we uninstalled MSMQ, renamed the machine to something smaller than 15 characters and then reinstalled MSMQ. This resolved the issue.</p>]]></content:encoded>
    </item>
    <item>
      <title>Biztalk 2010 Admin Server unable to Manage WCF Ports.</title>
      <link>https://docs.microsoft.com/archive/blogs/gautamm/biztalk-2010-admin-server-unable-to-manage-wcf-ports</link>
      <pubDate>Mon, 04 Jun 2012 10:58:07 GMT</pubDate>
      <dc:creator><![CDATA[Gautamm-MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gautamm/2012/06/04/biztalk-2010-admin-server-unable-to-manage-wcf-ports/</guid>
      <description><![CDATA[Problem:
If we have a Dedicated Admin Server for Managing the Biztalk Environment then you may...]]></description>
      <content:encoded><![CDATA[<p><span style="text-decoration: underline;"><strong>Problem:</strong></span></p>
<p>If we have a Dedicated Admin Server for Managing the Biztalk Environment then you may receive the following error when trying to Manage WCF ports:</p>
<p style="text-align: left;"><strong><span id="cid_22" class="nodetext" cid="22" name="nodetext">Windows Communication Foundation Administration Tools&nbsp; </span></strong></p>
<p style="text-align: left;"><span class="nodetext" cid="22" name="nodetext">You will be&nbsp;able to manage the file Adapter and other Standard Adapters without any problems. Only the WCF adapters will give you the error above.</span></p>
<p style="text-align: left;"><span class="nodetext" cid="22" name="nodetext"></span>&nbsp;</p>
<p style="text-align: left;"><span style="text-decoration: underline;"><strong><span class="nodetext" cid="22" name="nodetext">Cause:</span></strong></span></p>
<p style="text-align: left;"><span class="nodetext" cid="22" name="nodetext"><span id="cid_20" class="nodetext" cid="20" name="nodetext">The following Component was not installed.&nbsp; </span><br id="cid_21" cid="21" /><span id="cid_22" class="nodetext" cid="22" name="nodetext">Windows Communication Foundation Administration Tools&nbsp; </span></span></p>
<p style="text-align: left;"><strong><span class="nodetext" cid="22" name="nodetext"></span></strong>&nbsp;</p>
<p style="text-align: left;"><span style="text-decoration: underline;"><strong><span class="nodetext" cid="22" name="nodetext">Resolution:</span></strong></span></p>
<p style="text-align: left;"><span id="cid_31" class="nodetext" cid="31" name="nodetext">We were able to fix the issue by doing the following. <br /> </span><br id="cid_32" cid="32" /><span id="cid_33" class="nodetext" cid="33" name="nodetext"> </span><br id="cid_34" cid="34" /><span id="cid_35" class="nodetext" cid="35" name="nodetext">1. Close all instance of bts admin console&nbsp; </span><br id="cid_36" cid="36" /><span id="cid_37" class="nodetext" cid="37" name="nodetext">2. Go to Control Panel &gt; Uninstall and choose BizTalk Server and in there modify the install to add Windows Communication Foundation Administration Tools&nbsp; </span><br id="cid_38" cid="38" /><span id="cid_39" class="nodetext" cid="39" name="nodetext">3. Once that was added, open a new instance of bts admin console and it works&nbsp; </span></p>
<p style="text-align: left;"><strong><span class="nodetext" cid="22" name="nodetext"></span></strong></p>]]></content:encoded>
    </item>
    <item>
      <title>Biztalk 2010 Receive location intermittently stops reading files from FTP server.</title>
      <link>https://docs.microsoft.com/archive/blogs/gautamm/biztalk-2010-receive-location-intermittently-stops-reading-files-from-ftp-server</link>
      <pubDate>Thu, 17 May 2012 15:50:52 GMT</pubDate>
      <dc:creator><![CDATA[Gautamm-MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gautamm/2012/05/17/biztalk-2010-receive-location-intermittently-stops-reading-files-from-ftp-server/</guid>
      <description><![CDATA[Recently had a very interesting case. The biztalk 2010 FTP adapter would read messages but if there...]]></description>
      <content:encoded><![CDATA[<p>Recently had a very interesting case. The biztalk 2010 FTP adapter would read messages but if there is a gap of 10-15min where the Server did not have files to give to the Biztalk FTP&nbsp;Receive Location, the Biztalk Service would report Error 500 - Failed to connect to FTP Server.</p>
<p>A network monitor trace basically showed that Biztalk was trying to connect to the FTP server using the old session information. But the server had already decided to discard the old session and did so without notifying the Biztalk Server. As an easy workaround we executed the QUIT command in the After Put Property of the FTP Receive Location. Though not the most efficient method but did the job.</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>MSMQ Management console on Win2k8 &amp; WIn2k8 R2 Cluster not Visible</title>
      <link>https://docs.microsoft.com/archive/blogs/gautamm/msmq-management-console-on-win2k8-win2k8-r2-cluster-not-visible</link>
      <pubDate>Thu, 09 Feb 2012 11:26:47 GMT</pubDate>
      <dc:creator><![CDATA[Gautamm-MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gautamm/2012/02/09/msmq-management-console-on-win2k8-win2k8-r2-cluster-not-visible/</guid>
      <description><![CDATA[Symptoms
The customer has a Win2k8 R2 Cluster with MSMQ Resource. They right click the MSMQ...]]></description>
      <content:encoded><![CDATA[<h3 class="ms-SIfield">Symptoms</h3>
<div style="color: #000000; font-size: small;">The customer has a Win2k8 R2 Cluster with MSMQ Resource. They right click the MSMQ resource but MSMQ does not show up in the Computer Management console. We see the same thing with MMCV.</div>
<h3 class="ms-SIfield">Resolution</h3>
<div style="color: #000000; font-size: small;">Changed the MSMQ physical node service acct to run under&nbsp;Network Service and that resolved the cluster issue.</div>]]></content:encoded>
    </item>
    <item>
      <title>MSMQ 4 &amp; 5 not receiving messages from Large Number of Clients</title>
      <link>https://docs.microsoft.com/archive/blogs/gautamm/msmq-4-5-not-receiving-messages-from-large-number-of-clients</link>
      <pubDate>Thu, 09 Feb 2012 10:41:00 GMT</pubDate>
      <dc:creator><![CDATA[Gautamm-MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gautamm/2012/02/09/msmq-4-5-not-receiving-messages-from-large-number-of-clients/</guid>
      <description><![CDATA[Symptoms
Had a very interesting case this week. Customer had few MSMQ 2008 Servers forming the NLB....]]></description>
      <content:encoded><![CDATA[<h3 class="ms-SIfield">Symptoms</h3>
<div style="color: #000000; font-size: small;">Had a very interesting case this week. Customer had few MSMQ 2008 Servers forming the NLB. They had few thousand clients sending non transactional messages to MSMQ Queues using Direct Format Names. Everytime you restart the MSMQ on the server the client would be able to send messages and then stop. The messages would start building in the out going queue with state Waiting to connect. A netmon trace would show the Server sending resets to the clients and some times the reset would come from the server.</div>
<h3 class="ms-SIfield">Cause</h3>
<div style="color: #000000; font-size: small;">
<p>MSMQ service on the server caches the client certificate. If the number of clients exceeds the default cached size then the server tries to delete half the <br />number of certs based on age. Some problem here causes the threads to hang.</p>
</div>
<h3 class="ms-SIfield">Resolution</h3>
<div style="color: #000000; font-size: small;">
<p>There is an easy fix to this problem. All we do is increase the size of the cache so that we do not have to delete the certificates to make way for other <br />certificates.</p>
<p>HKLM\SOFTWARE\Microsoft\MSMQ\Parameters\UserCacheSize&nbsp; Dword Value to Number of client +100(for safety)</p>
<p>You can learn more about the registry key <a title="" href="http://technet.microsoft.com/en-us/library/cc957517.aspx" target="">here</a>.</p>
</div>]]></content:encoded>
    </item>
    <item>
      <title>MSMQ Performance degrades over time &amp; MSMQ LQS folder is 100s of MB.</title>
      <link>https://docs.microsoft.com/archive/blogs/gautamm/msmq-performance-degrades-over-time-msmq-lqs-folder-is-100s-of-mb</link>
      <pubDate>Thu, 09 Feb 2012 09:54:09 GMT</pubDate>
      <dc:creator><![CDATA[Gautamm-MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gautamm/2012/02/09/msmq-performance-degrades-over-time-msmq-lqs-folder-is-100s-of-mb/</guid>
      <description><![CDATA[Symptoms
MSMQ Performance degrades over a period of time. The MSMQ LQS folder is 100s of MB in...]]></description>
      <content:encoded><![CDATA[<h3 class="ms-SIfield">Symptoms</h3>
<div style="color: #000000; font-size: small;">MSMQ Performance degrades over a period of time. The MSMQ LQS folder is 100s of MB in Size. You have to delete <br />the Queue queue and recreated them to make this work.</div>
<h3 class="ms-SIfield">Cause</h3>
<div style="color: #000000; font-size: small;">There is some problem with the security descriptor as a result MSMQ keeps writing it over and and over again to the files in&nbsp;LQS folder.<br />This results in the file size growing large and the performance of the service goes down.</div>
<h3 class="ms-SIfield">Resolution</h3>
<div style="color: #000000; font-size: small;">The simple workaround to this problem is to set the queue security at the time of creation. When we create a <br />new queue, disable inheritance from parent and then give permissions to the&nbsp; appropriate account.</div>]]></content:encoded>
    </item>
  </channel>
</rss>