How to get the total number of outgoing messages from a remote MSMQ server?

We have to use the COM interface of MSMQ to enumerate every outgoing queue’s message count and sum up them to get the number. To get started, add mqoa30.tlb under system32 folder as reference in your VS project. Below is the code. using System; using System.Messaging; using System.Collections; namespace MSMQOutgoingMsgCount { class Program { static…

0

Error <No BizTalk Configuration database(s) found on server ”.> when deploy BizTalk application in VS if your account is removed from sysadmin role in SQL.

 The problem: =========================== When a user account’s SQL sysadmin role is removed and only leaves it with public, the user cannot use Visual Studio to deploy BizTalk application after you edit the server name, even if the account is in BizTalk Server Administrators group. An Error <No BizTalk Configuration database(s) found on server ”.> is…

0

“Large message size” setting can impact the execution of map

  We recently got a problem reported by our customer that the “large message size” configuration(in BizTalk group property settings)    Problem:  “Large message size” setting can impact the execution of map.    The scenario: In the orchestration, the customer uses a mapping can split 1 input message into 2 output message, based on the value a node….

0

How to use BizTalk throttling feature to achieve throughput control like receive/deliver only 1 document every contain period?

  How to use BizTalk  throttling feature to achieve throughput control like receive/deliver 1 document every contain period?   Many people may not know but this is definitely possible by using Rate-based throttling settings. For example, you can create a particular host with the following Rate-based throttling configuration:       And a more important action…

0

BAM Tracking not working correctly with custom pipeline component when message type is unknown

We recently received a problem reported by our customer that BAM tracking doesn’t work correctly with custom pipeline component when message type is unknown. Below are the details.   The problem:   We are using Microsoft Biztalk Server 2013 R2. The problem that I am having is to do with BAM. BAM isn’t “continuing” correctly…

1

Problems with high availability of ServiceBus 1.1 for Windows Server

There are some interesting behavior SB high availability. Let’s look into the following scenario:  A typical ServiceBus farm with 3 hosts. Use the connection string returned by get-SBClientConfiguration which includes all the 3 hosts. The first host in the connection string is stopped.           In this case, when connect with ServiceBus Explorer 2.1.3, it…

0

BAM data of Port Messaging Properties doesn’t get correctly populated when using Passthrough Pipeline on BizTalk 2013 R2

The problem: ================================          Create and deploy a very simple Tracking Profile with PortStartTime and PortEndTime messaging properties.             Map the properties to Receive Port which has its receive location with PassThrough pipeline.       Submit test data to the receive location.   The BAM data will not get generate on BizTalk…

3

SSO service Memory Leak after applying hotfix of KB3000847

The Problem: ================================  After applying the following hotfix from KB3000847, you may find the memory usage of SSO service keeps increasing and will not be released before restarting it.   FIX: Enterprise Single Sign-On triggers event 10536 and error code 0x80090005 https://support.microsoft.com/en-us/kb/3000847?wa=wsignin1.0       Solution:   ================================   The memory allocation is because the following Crypt…

1

“Remote server returned error: (400) Bad request” occurs when using Microsoft® BizTalk 2013 Accelerator for RosettaNet to communicate with partner via SSL in BizTalk Server 2013

“Remote server returned error: (400) Bad request” occurs when using Microsoft® BizTalk 2013 Accelerator for RosettaNet to communicate with partner via SSL in BizTalk Server 2013   Recently one of my customer complained that they could not send messages to their partner when using Microsoft® BizTalk 2013 Accelerator for RosettaNet while they were able to…

0

The element orders in schemas generated by WCF-SQL adapter are different for SQL 2012 and SQL 2014

Repro steps: ==================================   Use the following sample SQL script to create sample tables on both SQL 2012 and SQL 2014. In VS, create a BizTalk project and use ‘Add Generated Items’ to generate schemas for Outbound operation->Tables->[dbo].[Employees]->Insert.   USE [BiztalkEducationDB]GO /****** Object:  Table [dbo].[Employees]    Script Date: 2015/2/25 上午 11:00:49 ******/SET ANSI_NULLS ONGO SET QUOTED_IDENTIFIER ONGO CREATE TABLE…

3