PRB: ODBC Error Message 1526 - "Connectivity Error" (239714)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
- Microsoft Data Access Components 2.5
This article was previously published under Q239714 SYMPTOMS
When attempting to connect to an external data source using SQLCONNECT(), the following errors appear:
Connectivity error: [Microsoft][ODBC Driver Manager] Function sequence error
- or -
The ODBC resource DLL (Drive:\Path\odbcinit.dll) is a different version than the ODBC driver manager (Drive:\Application_Path\odbc32.dll)
You need to reinstall the ODBC components to ensure proper operation"
This is followed by another error message:
"Initialization of the dynamic link library Drive:\Application_Path\odbc32.dll failed. The process is terminating abnormally."
At other times, the same SQLCONNECT() command may work with no problem.
CAUSE
This behavior occurs when ODBC support files, incompatible with ODBC support files in the Windows System directory, are copied to the application directory and then loaded into memory.
Files copied to the application directory of the distribution tree and included in setup diskettes created with the setup wizard are copied to the application directory during installation of the application.
RESOLUTION
Shut down Visual FoxPro. Remove the ODBC32.DLL, ODBC32INT.DLL, and any other ODBC components from that current application directory that are not compatible with the ODBC components in the Windows system directory. Restart Visual FoxPro.
ODBC Components should be distributed by checking the ODBC drivers check box in step 2 of setup wizard.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 5/10/2003 |
---|
Keywords: | kbAppSetup kbprb kbSQLProg kbwizard KB239714 |
---|
|