Microsoft KB Archive/283726

= PRB: Error -2147319765 When You Use BizTalk Orchestration Designer to Bind a COM Component =

Article ID: 283726

Article Last Modified on 10/17/2003

-

APPLIES TO


 * Microsoft BizTalk Server 2000 Standard Edition

-



This article was previously published under Q283726



SYMPTOMS
When you use the BizTalk Orchestration Designer to bind a Component Object Model (COM) component to a port, you may receive the following error message:

Problem in modTypeLibFunctions.GetMethods

Error Number: -2147319765

Error Description: Automation error

Element not found.



CAUSE
This error message occurs when the COM component is being referenced and is running in debug mode within Microsoft Visual Basic.



RESOLUTION
To resolve this problem, do not run the COM component in debug mode.



Steps to Reproduce Behavior
 Open Visual Basic, select ActiveX DLL, and then click Open. On the Tools menu, click Add Procedure. Name the procedure MyTest, and then click OK.  In the MyTest sub routine, paste the following code: MsgBox &quot;This is a test&quot;  Click Project, and then click Project1 Properties. Change the Project Name and Project Description to VBBizTalkTest . Click Debug, and then click Step Into. Open BizTalk Orchestration Designer, and drag the COM Component icon from the Implementation pane.</li> In the Wizard, click Next twice. Double-click VBBizTalkTest, click Class1, and then click Next.</li></ol>

Additional query words: -2147319765

Keywords: kbprb KB283726

-

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

© Microsoft Corporation. All rights reserved.