Consultor Eletrônico



Kbase P91207: Incorrect DatBasePath path entry in Windows registry causes 5191 error
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/30/2004
Status: Unverified

FACT(s) (Environment):

Progress 9.1X
Windows XP
MERANT 3.70 32-BIT Progress SQL-89

SYMPTOM(s):

ODBC test connection fails

*"[MERANT][ODBC PROGRESS Driver]Invalid attribute in connection string:
Description."

"[MERANT][ODBC PROGRESS Driver][PROGRESS]Unable to find protocol TCP in file
PROTOCOL or PROTOCOL file not found in expected location (5191)."


"[MERANT][ODBC PROGRESS Driver][PROGRESS]Error establishing Open Interface
Driver connection (2575)."

CAUSE:

The registry entry for DataBasePath was corrupt.

FIX:

The Registry key in question is: HKEY_Local_Machine\System\ControlSet\Services\Tcpip\Parameters.
On XP the path for the database files is %SystemRoot%\System32\Drivers\etc

1. Run regedt32
2. Locate the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
3. Click on the 'Parameters' key in the left pane
4. Select the 'DataBasePath' key in the right pane
5. The entry should point to %SystemRoot%\System32\drivers\etc
6. Correct incorrect path to read as follows: DataBasePath:REG_EXPAND_SZ:%SystemRoot%\System32\drivers\etc