How to send and receive messages in MSMQ using C#/VB

In this blog, we will discuss on how to implement System.Messaging class to send and receive the XML messages to a MSMQ queue and some issues that you may come across while receiving the XML messages.  We will begin with adding reference to the System.Messaging dll. The path of the dll is:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\…

3

How to do offline install of Service bus

In the recent past I have come across multiple request for installing Service bus and Workflow Manger for Windows Server in Servers where internet connections are not available.Products like WorkFlow Manager and Service bus cannot be installed directly and needs WPI(Web Platform Installer). Advantages being WPI installs the prerequisites and proper versions and bits of…

2

Content Based Routing with EDI Pipeline/ Promote a custom property for EDI message

I had a requirement to implement Content Based Routing for EDI messages in BizTalk. I was using a edireceive pipeline to disassemble the incoming EDI messages.For an xml or flat files messages, CBR is simple and can be achieved with just promoting the specific field and using xml/flatfile disassembler. Assume I want to promote the…

0

Unable to enable WCF-Custom Receive Location – Error: System.PlatformNotSupportedException

Recently I came across an issue in BizTalk Server in which we were getting the following error while trying to enable a WCF – Custom receive location: The Messaging Engine failed to add a receive location “ABC” with URL “ServiceURL” to the adapter “WCF-Custom”. Reason: “System.PlatformNotSupportedException: Operation is not supported on this platform.    at System.Net.HttpListener..ctor()   at…

0

BAM Tracking data getting accumulated in the BizTalkMsgBox Database

I recently got into a situation where I noticed that the size of the tracking tables in BizTalkMsgBoxDb database kept increasing. I noticed that the tables which had larger size were supposed to hold BAM tracking data and end with ‘0_x’ (dbo. TrackingData_0_1, etc). This meant that TDDS is not able to move data out…

0

Service Bus Issue while sending Large messages to a queue

I recently got a case where my customer was trying to send large messages (> 5 MB) to a service bus queue and was getting a below error message. Smaller messages (< 5 MB) would go through without any issue.  Error: Microsoft.ServiceBus.Messaging.MessagingCommunicationException was unhandled   HResult=-2146233088  Message=Error during communication with Service Bus. Check the connection information,…

0

BizTalk 2013 Compatibility with latest platforms of Microsoft

We have been getting many question from our customers regarding BizTalk 2013’s compatibility with latest Microsoft Platforms like Visual Studio 2013, Windows Server 2012 R2 and Windows 8.1. It is understandable that as the latest two version of the above mentioned platforms (Windows 8 and Windows 8.1, Server 2012 and Server 2012 R2, VS 2012…

10

Delay while picking message using MSMQ Adapter in BizTalk Server 2010

Recently we came across an issue in which , while using BizTalk default or custom pipelines, like XML receive pipeline or Pass Thru pipelines, we see a delay of exact 10 seconds, from the time the messages comes into the queue till the time pipeline execution gets completed.For example:We send a message to a queue…

0

BizTalk 2013- HL7 Installation Error

Recently, I came across an issue in while installing HL7 accelerator for BizTalk 2013, where I was not getting option of “Starter Project”.Ideally, we should see the installation screen like:   However in my case, we were getting the following:   I did some troubleshooting and came to know that HL7 installer package looks for the following path…

1

Saving Suspended Messages using WMI, PowerShell and the Microsoft.BizTalk.Operations Assembly (Part II)

In Part I of this article, we discussed about saving suspended messages using WMI and a fairly simple PowerShell script. The problem with that approach is that it works great as long as your suspended orchestration instances don’t contain multiple suspended messages. If your suspended orchestration instances have more than asingle message, the script above…

6