Error 126 on Test Connect - ODBC Merant 3.7 32-bit - wrong host or service

« Go Back


Article Number000010417
EnvironmentProduct: Progress
Version: 9.1D, 9.1E
Product: OpenEdge
Version: 10.x, 11.x
OS: Windows
Question/Problem Description
Configuring ODBC DataSource returns error 126 when Test Connect.

Registry Driver and Setup value data portions of the registry key point to the correct location of PGPRO915.DLL and the PGPRO915S.DLL files.

Registry entry for driver version exists in the REGISTRY under:HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\(version)

For Progress 9.x the registry entry for HKEY_LOCAL_MACHINE > SOFTWARE> ODBC > ODBINST.INI > Progress <OE Version> Driver shows the pgproXXXX.dll
pointing to where the dll is physically located in %DLC%\bin\pgproXXXX.dll
where XXXX is a numeric number for ODBC version eg: pgpro915.dll (9.1D)

For OpenEdge 10 and 11, the registry entry for the HKEY_LOCAL_MACHINE > SOFTWARE> ODBC > ODBINST.INI > Progress OpenEdge <OE Version> Driver shows the pgoeXXXX.dll
pointing to where the dll is physically located in %DLC%\bin\pgproXXXX.dll
where XXXX is a numeric number for ODBC version eg: pgoe1025.dll (10.2B)

Steps to Reproduce
Clarifying Information
Configuring ODBC DataSource using a supported Progress ODBC driver for the version and bit version in use.
On Windows, error code 126 translates to "ERROR_MOD_NOT_FOUND = specified module could not be found."
Client Networking license installed.
Error MessageSpecified Driver could not be loaded due to system error 126 Merant 3.70 32-bit Progress
Defect/Enhancement Number
The ODBC Data source entries are not configured correctly. Entries are missing in the Hosts and Services files.
Set the Host and the Service:

1) Control Panel -> Data Sources ODBC
2) Select the ODBC Data Source in question -> Configure -> General Tab
3) Ensure that the "Host Name" and "Port Number" are valid entries for the connecting database.
Last Modified Date9/13/2015 4:00 AM

The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.

Was this article helpful?


Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025