BizTalk Pipeline Editor Shows Same Component Twice

Today, I was driven crazy by the Pipeline Editor in Visual Studio. I dropped two different pipeline components in it, then when I closed and re-opened it they would show the same name. When I opened the .btp file in a text editor it looked okay. So it was apparently a problem displaying the user […]

C# Send Email (with \r\n Line Breaks for Non-HTML or
for HTML

The .NET System.Message class allow for isHTMLBody to be true or false. Setting to true allows you to use HTML to make fields bolds, to use headers, to change colors, fonts, etc… But sometimes you prefer just a text email. In an HTML email, you cna use (break HTML) to create new lines. In a […]

How to Schedule a PowerShell Script in Windows Task Scheduler

NOTE: I highly recommend that you create a folder in Task Scheduler for your company name. Do not mix your scheduled tasks with those that are there under various Windows features. Open Windows “Task Scheduler”, and create a task. Give it a name and a schedule. The part most people have questions about is the […]

PowerShell – Find top X Largest Files on Disk

Frequently, we get monitor alerts that the disk is under 20% full. The question is usually what files are large that can be deleted. I often use the fantastic utility WinDirStat. And there are PowerShell commands to show you the top files on the disk. But typically, some of the largest files are the paging […]

BizTalk Receive Location Duplicator in PowerShell

How do you create an identical copy of a BizTalk ReceiveLocation within a Receive Port? Well, it cannot be 100% identical. The name will of course have to change, the URI will have to be unique as well. I recently had a case where we wanted the same orchestration to run on two different databases […]

BizTalk SendPort Duplicator in PowerShell

How do you create an identical copy of a BizTalk SendPort except for the name? It’s not uncommon for me to want create a duplicate of a SendPort, especially if it’s a more complicated SendPort like WCF or SQL with lots of parameters. I finally wrote a PowerShell to do this. Maybe later, I’ll do […]

High Level Overview of BizTalk Binding Files – Major Sections

In BizTalk, you can export and import and export bindings to/from the BizTalk Database using the BizTalk Administration Console and/or BTSTask.exe (command line utility). The binding file has five major sections: 1) ModuleRefCollection (Orchestrations a.k.a. “Services” and Orchestration bindings) 2) SendPortCollection (Send Ports) 3) DistributionListCollection (Send Port Groups) 4) ReceivePortCollection (Receive Port and their related […]

PowerShell to split a large disk/log file

I had a huge 550 MB file, I wanted to split it into 55 or so files of 10 MB each. The one improvement I would make to this next time is to make the suffix a 3 digit number so when the files sort by name they would be in numerical order (currently _1 […]

PowerShell Search a Huge Disk or Log File for a String

You will likely get a memory error (System.OutOfMemoryException) if you use Get-Content to try to load a 550MB file into a string variable. We can using a System.IO.StreamRead in PowerShell to stream the data instead of doing one big massive load into memory. The script below allows you to search a huge file for a […]

BizTalk: SMTP – The transport error code was 0x80040217

The Full Error Was The message could not be sent to the SMTP server. The transport error code was 0x80040217 Solution I had to go to the BizTalk Adapters in BizTalk Admin Console, find the SMTP adapter, then configure it for the host. On the properties window, there is an “Authentication Type” which defaulted to […]

Recent Posts




All Rights Reserved Theme by 404 THEME.