After you add Host and Host-Instances to BizTalk, they are not useful and cannot be associated with Send/Receive ports until you relate the Host to the Adapter. This can be done in BizTalk Admin Console, but below is a program that allows you to do it with the BizTalk Powershell Extensions. See related script to […]
Month: May 2017
How to set Isolated vs In-Process when creating BizTalk Host with Powershell
The following shows how to set the $HostType for the BizTalk Powershell Extensions. if ($HostType -eq "Isolated") { $HostTypeCode = 2 #Isolated } else { $HostTypeCode = 1 #In-Process } $temp = New-Item -path $hostName -HostType:$HostTypeCode -NtGroupName:$myNTHostGroupName -AuthTrusted:$AuthTrusted See full function in this blog about Adding BizTalk Hosts and Hostinstances […]
How set 32-bit-only flag when creating BizTalk Hosts with Powershell Extension
In a previous blog, I gave a full Powershell Script to Add BizTalk Hosts, but it didn’t show how to set the 32-bit vs 64-bit flag (it has now been updated to include that). 64 bit vs 32 bit Host In BIzTalk, the flag is called the 32BitOnly flag. To create a 64-bit Host, set […]
BizTalk 2016 Powershell Extensions not Found (not Installed)
Error: No snaps-ins have been registered for Windows PowerShell You run the following: <pre>cls Add-PSSnapIn -Name BiztalkFactory.PowerShell.Extensions #NOTE: Must be in 32-bit version of Powershellto use this SnapIn </pre> And you get this error: <pre>Add-PSSnapIn : No snap-ins have been registered for Windows PowerShell version 3. </pre> Solution:Go the SDK/Utilities/Powershell and install them Basically […]
BizTalk Pipeline Component Won’t Go into Debug Mode in Visual Studio Debugger
The following may help with a variety of custom pipeline component issues, including why your “Debug” is not catching when you expect it to. There were times today, where I would do “Debug Attach” to the BizTalk Host Instance, and the component would never go into debug mode. 1. Check that date/time of the .DLL […]
BizTalk 2016 – Could not load file or assembly ‘WinSCPnet, Version=1.2.10.6257
Error: The adapter failed to transmit message going to send port “sp_Test_SFTP” with URL “sftp://sftp.mycompany.com:22/%MessageID%.xml”. It will be retransmitted after the retry interval specified for this Send Port. Details:”System.IO.FileLoadException: Could not load file or assembly ‘WinSCPnet, Version=1.2.10.6257, Culture=neutral, PublicKeyToken=2271ec4a3c56d0bf’ or one of its dependencies. General Exception (Exception from HRESULT: 0x80131500) File name: ‘WinSCPnet, Version=1.2.10.6257, Culture=neutral, […]
BizTalk Pipeline Component Unzip and Select Only Files Matching Mask
I started with this excellent working unzip pipeline component here (by Rui Machado). I made the following changes to that code: 1) Put it in MyCompany.Common.etc… namespace and project (not shown here) 2) Added a Property Bag Item called FileMask (and a one for future use called “ParmReserved1” (this is standard coding, so I didn’t […]