This project has moved. For the latest updates, please go here.

BizTalk 2009 Standard Edition

Mar 31, 2010 at 12:44 PM

Hi, 

I have just started looking at using the Benchmark Wizard against a BizTalk 2009 Standard Edition installation.

When running installhosts.vbs I am getting the following error:

"Standard Edition BizTalk Server can create 32-bit only host. <HRESULT: 0>."

Does anyone have any help they could throw my way to get past this step?

Cheers

Stu.

Coordinator
Apr 2, 2010 at 11:00 PM

Hi Stu,

there is a method called CreateHost in the InstallHosts.vbs file (first method). Replace the method with the code below, and it should work. If you still have problems let me know.

HTH

//Mikael

Sub CreateHost (HostName, HostType, NTGroupName, AuthTrusted, HostTracking)
  On Error Resume Next
  Dim objLocator, objService, objHostSetting, objHS

  ' Connects to local server WMI Provider BizTalk namespace
  Set objLocator = Createobject ("wbemScripting.SWbemLocator")
  Set objService = objLocator.ConnectServer(".", "root/MicrosoftBizTalkServer")

  ' Get WMI class MSBTS_HostSetting
  Set objHostSetting = objService.Get ("MSBTS_HostSetting")

  Set objHS = objHostSetting.SpawnInstance_

  objHS.Name = HostName
  objHS.HostType = HostType
  objHS.NTGroupName = NTGroupName
  objHS.AuthTrusted = AuthTrusted
  objHS.IsHost32BitOnly = True
  objHS.HostTracking = HostTracking

  ' Create instance
  objHS.Put_(CreateOnly)

  CheckWMIError
  wscript.echo "Host - " & HostName & " - has been created successfully"
  
end Sub