Consultor Eletrônico



Kbase P46992: Connecting to a database using SQL-92 generates error -20212.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   30/09/2008
Status: Verified

SYMPTOM(s):

Connecting to a database using SQL-92 generates error -20212.


A service name is being used when connecting.

ErrorCode=-20212

Error in Network Daemon

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x
All Supported Operating Systems

CAUSE:

The service name being used is not found within the services file on the client machine.

FIX:

Edit the services file on the client machine and add the appropriate service entry. Ensure that both the service name and the port number aren't already being used within the service file, the name and port number must be unique. The line in the services file on the client should be exactly the same as the line in the services file on the server and the database broker must be started using that same service name or port number. If your client machine is:

Windows 95/98:
Edit the c:\windows\services file and add the appropriate line for a TCP port (not UDP port).

Windows NT/2000/2003/XP:
Edit the c:\winnt\system32\drivers\etc\services file and add the appropriate line for a TCP port (not UDP port).

UNIX:
Edit the /etc/services file and add the appropriate line for a TCP port (not UDP port).