Understanding -TaskType ClusterWide on ScheduledClusteredTasks

09/15/2014 14:46:28 Test 09/15/2014 14:47:02 Test 09/15/2014 14:48:02 Test 09/15/2014 14:49:02 Test cls $PSVersionTable $Action1 = New-ScheduledTaskAction -Execute "I:\Scripts\TestClusteredTaskRS.cmd" $Action2 = New-ScheduledTaskAction -Execute "E:\Scripts\TestClusteredTaskCW.cmd" $DurationTimeSpan = New-TimeSpan -Minutes 1 $DurationTimeSpanIndefinite  = ([TimeSpan]::MaxValue) $DurationTempTest = New-TimeSpan -Days 1000 $Trigger = New-ScheduledTaskTrigger -Once -At "00:01" -RepetitionInterval $DurationTimeSpan -RepetitionDuration $DurationTimeSpanIndefinite   #Register-ScheduledTask -TaskName "RegularCalcTest2" -Action $action #Register-ClusteredScheduledTask -TaskName "CalcTask01" -TaskType […]

Powershell cuts off Task Name at 12 characters

Suppose you run this: Get-ClusteredScheduledTask and get this as a result: TaskName         TaskType                         ——–         ——–                         TestClusterWide  ClusterWide                       TestResourceS… ResourceSpecific   What a pain. So how do you see the value of the second TaskName above. One idea would be to use names under 12 characters. If you must or do use longer names, here’s one solution: cls […]

Check if Current Node of Cluster is Active in Powershell

Function “IsActiveNode” function IsActiveNode { $activeClusterName = (Get-WMIObject Win32_ComputerSystem -ComputerName BIZTALK2013).Name $computerName = get-content env:computername $message = "ActiveCluster=$activeClusterName computerName=$computerName" $isSame = $false if ($activeClusterName -eq $computerName)   {    $isSame = $true   } $message = $message + " IsSame=$isSame"   #Write-Host $message   return $isSame } cls $IsActiveNodeResult = IsActiveNode Write-Host "IsActiveNode=$IsActiveNodeResult" Sample test: . .\IsActiveNode.ps1 cls $IsActiveNodeResult […]

Does BizTalk BizTalk 2013 support IBM WebSphere MQ 8.0?

No, BizTalk 2013 (nor prior release of BizTalk) do NOT support IBM WebSphere MQ 8.0. We confirmed this with a ticket to Microsoft. What is confusing is the following on Microsoft page: http://msdn.microsoft.com/en-us/library/jj248684%28v=bts.80%29.aspx#BKMK_MQSeries According to current information, supported IBM WebSphere MQ versions in Microsoft BizTalk Server 2013 and 2013 R2 :     IBM WebSphere MQ 6.0.2.12 […]

MQ 80070005 with BizTalk MQ series adapter

If you see 8007005, it may mean “access denied”, but it can also mean that it cannot find a .dll, such as “MQM.dll”. Your environment variables for the “PATH” must include the directory that contains “MQM.dll”. Use must include the regular directory, and the one that ends with bin64 or bin32 (depending on which mode […]

MQ/BizTalk Error Code 2058

Error received in Windows Application EventLog: Error encountered on QueueManager.open Queue Manager name = QTAAFrank Reason code = 2058. MQ Queue Manager names are case sensitive. In our case, it should have been QTAAFRANK instead of QTAAFrank. You could get this error by specifying any non-existent, misspelled, or name that is not properly matching based […]

How to view which BizTalk cumulative updates are installed in Control Panel/”Add Remove Programs”

I recently learned about the “View installed updates” link in Add/Remove programs.  It reveals the updates and BizTalk Cumulative Updates installed on your system.  Below are screen shots from Win 2008/R2. Results – just scroll down and look for updates related to Microsoft BizTalk.  The Adapter Pack CU3 was temporarily uninstalled due an issue we […]

Odd Error Trying to Start a Simple SendPort

When I treid to start a project, several SendPorts would not start.  When I tried to start each one manually, some of them were giving this misleading error in the EventLog. Unable to communicate with MessageBox BizTalkMsgBoxDb on SQL Instance DAL-BIZ-APP01. Error Code: 0x8004d00e. Possible reasons include: 1) The MessageBox is unavailable. 2) The network […]

BizTalk Rounding in Map with Custom MapHelper Class/Function

The BizTalk roundingfunctoid uses “Banker’s rounding” by default. That means if you have odd numbers round away from zero, and even numbers round towards zero. For example, 1.5 rounds to 2, and 2.5 rounds to 2. This is the a “fair” way of rounding, so that neither party in a business transaction benefits. I’m currently […]

“Unknown Error Description” with Dynamic FTP

Error A message sent to adapter "BiztalkMessagingEngine" on send port "XX.FMA.Extract_1.0.0.0_XX.FMA.Extract.SendExtract_DynamicFTP_f136abb33540170c" with URI "ftp://1.2.3.101:21/%SourceFileName%" is suspended. Error details: Unknown Error Description   MessageId:  {28F29FA5-18EF-4FE7-B6CC-E03F4E2AA26F} InstanceID: {C09E16A5-11AB-46AF-980A-7826772EEF0B} Background We moved code to a new target environment, where the Host-Instances didn’t match the source environment. We reconfigured some of the HostInstances to allow for a default 32-bit host instance, […]