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



The information in this article applies to:

  • Microsoft BizTalk Server 2000

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.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Open Visual Basic, select ActiveX DLL, and then click Open.
  2. On the Tools menu, click Add Procedure. Name the procedure MyTest, and then click OK.
  3. In the MyTest sub routine, paste the following code:
    MsgBox "This is a test"
    					
  4. Click Project, and then click Project1 Properties. Change the Project Name and Project Description to VBBizTalkTest.
  5. Click Debug, and then click Step Into.
  6. Open BizTalk Orchestration Designer, and drag the COM Component icon from the Implementation pane.
  7. In the Wizard, click Next twice. Double-click VBBizTalkTest, click Class1, and then click Next.

Modification Type:MajorLast Reviewed:10/17/2003
Keywords:kbprb KB283726