Consultor Eletrônico



Kbase P101271: Remote Windows Client connection fails with error 5192
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/11/2005
Status: Verified

FACT(s) (Environment):

Windows

SYMPTOM(s):

Remote Windows Client connection fails with error 5192

Unable to find server <name> with protocol TCP in file SERVICES or SERVICES file not found in expected location. (5192)

Clients connect using service name

Failure occurs after virus cleanup

Stinger software was used to clean up Virus on all clients.

Applied service packs on most of the clients.

Clients can connect using the port number

Edited Services file

Replaced services with one from a client that works

The Path to the service file in the registry is correct:
%SYStemRoot%\System32\drivers\etc

CAUSE:

The wrong data type in the registry prevents the system from locating the directory of the services file:
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControSet/Services/Tcpip/Parameters
Name: DataBasePath Data Type: REG_SZ Data: %SYStemRoot%\System32\drivers\etc
REG_SZ is a Data type for a fixed string. This parameter should have a Data Type of REG_EXPAND_SZ for a variable string.

FIX:

To resolve the issue of making the client connection using a service name, do the following:
1. Save a copy of the registry key Tcpip before making changes
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControSet/Services/Tcpip/
2. Delete the Name: DataBasePath from the parameters key
3. Re-create DataBasePath name ,but use a Data Type of REG_EXPAND_SZ and then put in the correct path to the etc directory:
Name: DataBasePath Data Type: REG_EXPAND_SZ Data: %SYStemRoot%\System32\drivers\etc
- OR -
Replace %systemRoot% with the absolute path, e.g.: C:\Windows\System32\drivers\etc