BUG: Connect Call Missing in PublicInterfaces Sample (281173)



The information in this article applies to:

  • Microsoft BizTalk Server 2000

This article was previously published under Q281173

SYMPTOMS

When you are using the PublicInterfaces sample that is supplied with BizTalk Server 2000, you may receive the following error message:
<remote computer name>

XLANG Scheduler
<path to sked.vbs>(157, 9) Microsoft VBScript runtime error: Invalid procedure call or argument

CAUSE

There is a call missing to the Connect method of the COMAdminCatalog interface.

RESOLUTION

To resolve this problem, you must edit the VBScript file to make a call to the remote server using the Connect method like the following:
Set Catalog=CreateObject("COMAdmin.COMAdminCatalog.1")

Set objConnect= catalog.connect(computername)    
Set Apps = Catalog.GetCollection("Applications")
				

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

The sample is located in the ..\Program Files\Microsoft BizTalk Server\SDK\XLANG Samples\PublicInterfaces\ folder.

Modification Type:MajorLast Reviewed:10/17/2003
Keywords:kbbug KB281173