FIX: "Attempt to load required component ODBC32.DLL failed"
This article was previously published under Q129772
This article has been archived. It is offered "as is" and will no longer be updated.
The following error occurs when trying to access an ODBC data source from a32-bit application under Win32s:
Attempt to load required component ODBC32.DLL failed.
There are two main causes for this:
- The ODBC components weren't installed because the ODBC setup program wasn't executed from the WIN32S\ODBC directory of the Visual C++ version 2.0 or 2.1 CD.
- The \WIN32S\ODBC directory on the Visual C++ version 2.1 CD contains an incorrect version of the ODBC32.DLL file (the thunking driver manager). The incorrect version does not load under Win32s.
Ensure that the ODBC setup program from the WIN32S\ODBC directory has beenexecuted.
Additionally, after installing from the Visual C++ version 2.1 CD, you'llneed to copy the ODBC3216.DLL file located in the WIN32S\ODBC directory(this is the correct thunking ODBC driver manager for Win32s) to theWINDOWS\SYSTEM directory and rename it to ODBC32.DLL to replace theincorrect ODBC32.DLL.
Microsoft has confirmed this to be a bug in the Microsoft products listedat the beginning of this article. This problem was corrected in MicrosoftVisual C++, 32-bit Edition, versions 2.2.
2.00 2.10 3.0 3.00 3.1 3.10
Article ID: 129772 - Last Review: 10/26/2013 01:04:00 - Revision: 3.0
Microsoft Foundation Class Library 4.2
- kbnosurvey kbarchive kbbug kbdatabase kbfix kbsetup KB129772