PRB: IM003 Specified Driver Could Not Be LoadedLast reviewed: June 27, 1995Article ID: Q119904 |
The information in this article applies to:
SYMPTOMSWhen you are trying to use the DBConnect() function to connect to a data source with the FoxPro Connectivity Kit (CK), the following error message occurs:
ODBC error IM003(0): [Microsoft][ODBC DLL] Specified driver could not be loaded CAUSEThe required driver .DLL is missing from the WINDOWS\SYSTEM subdirectory.
RESOLUTIONReinstall the driver from disk.
MORE INFORMATIONThe error listed above can be reproduced using the SQL Server driver. FoxPro communicates to SQL Server by going through the following basic ODBC levels:
FoxPro | FPSQL.FLL | ODBC Driver Manager (ODBC.DLL) | ODBC Cursor Library (Optional) (ODBCCURS.DLL) | SQL Server Driver (16-bit) (SQLSRVR.DLL) | Network Library (DBNMP3.DLL, DBMSSPX3.DLL, and so on) | Network Software (Microsoft LAN Manager, Novell NetWare, and so on) | SQL Server DBMSSQLSRVR.DLL is the driver in this instance. The SQLSRVR.DLL file is located in the WINDOWS\SYSTEM subdirectory. If the SQLSRVR.DLL file is missing, the error message will appear. The driver's filename can be found by looking in the ODBC.INI file located in the WINDOWS directory. Below is an excerpt from the ODBC.INI file:
[test] Driver=C:\WINDOWS\SYSTEM\sqlsrvr.dll Description= Server=REDDFOXXIn the example above, "test" is the data source name as it appears in the ODBC Driver Manager. The "driver=" line gives the path and name of the driver that is associated with the data source "test".
Steps to Reproduce Problem
|
Additional reference words: FoxWin 2.50a 2.50b 2.50c 2.60 errmsg novel
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |