Consultor Eletrônico



Kbase P93871: Getting error (9989).(7203) when connecting to the AppServer from a .Net Open Client
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   9/8/2004
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.x

FACT(s) (Environment):

Windows

SYMPTOM(s):

Getting error (9989).(7203) when connecting to the AppServer from a .Net Open Client

Could not connect to the AppServer: General Error: Cannot find the support
library for the http protocol (9989) . (7203)

Error message appears when creating a new instance of the AppObject

CAUSE:

When the instance of the AppObject is created, there was not any AppServer connection parameters.
When an new instance is created, a connection to the AppServer is attempted. However, since there is no information about the AppServer connection, the .Net client cannot connect to the AppServer.

For instance:
  Dim ao As New myAppObject   ' <---- Error appears here
  ao.Connect("AppServer://localhost:5162/asbroker1", 0)

FIX:

Create a Connection object that will connect to the AppServer, and then refer to this connection when creating a new instance of the AppObject.

See below a VB.Net example:

   ><------------------------------------------------><

' Declare the objects

Private conn As Connection
Private ao As  myAppObject

   ><------------------------------------------------><

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

   ' Connect to the AppServer
   conn = New Connection("AppServer://localhost:5162/asbroker1","","","")
   
   ao = New myAppObject(conn)
   MsgBox("Connected")

End Sub