Kbase P4359: Open Client Proxy Cannot Connect To AppServer When Run In Microsoft .NET Environment
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/15/2008 |
|
Status: Verified
FACT(s) (Environment):
Progress 9.1x
SYMPTOM(s):
Calling ActiveX proxy from .Net program
AppServer has the "Supports default service" option turned on
Connect Failure: Application Service <Application Service> Unknown at NameServer at Host <Host> Port <Port>. (8234)
[COMException (0x80040201): Connect Failure: Application Service <Application Service> Unknown at NameServer at Host <Host> Port <Port>. (8234)]
CHANGE:
Changed AppServer location from local machine to remote machine
CAUSE:
The parameter list to the OC_Connect() method does not contain any URL in the first parameter.
FIX:
Modify the .Net source code and ensure that the first parameter to the OC_Connect() method contains a validly formatted URL with which to connect to the AppServer.
A validly formatted URL is structured as follows:
1) The string "AppServer://"
2) followed by the host name of the NameServer (not the AppServer)
3) followed by a colon ":"
4) followed by the port number of the NameServer (not the AppServer)
5) followed by a forward slash "/"
6) followed by a service name defined within an AppServer that is known to the NameServer