Microsoft KB Archive/281173

= BUG: Connect Call Missing in PublicInterfaces Sample =

Article ID: 281173

Article Last Modified on 10/17/2003

-

APPLIES TO


 * Microsoft BizTalk Server 2000 Standard Edition

-



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:

 

XLANG Scheduler

(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(&quot;COMAdmin.COMAdminCatalog.1&quot;)

Set objConnect= catalog.connect(computername) Set Apps = Catalog.GetCollection(&quot;Applications&quot;)



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.

Keywords: kbbug KB281173

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.