Microsoft KB Archive/172192

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 10:06, 21 July 2020 by X010 (talk | contribs) (Text replacement - """ to """)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base

Article ID: 172192

Article Last Modified on 11/7/2002


  • Microsoft Open Database Connectivity 2.1

This article was previously published under Q172192


Installation of ODBC 16-bit components with incompatible versions of OLE DLLs causes the error "Failed to get expression service."

The installation of ODBC 2.1x SDK on a fresh installation of Windows 95 also causes the error message described above.

The following table shows the difference in version numbers of the OLE DLLs that cause this problem.

                               Version installed with
File name         Windows 95         Windows NT         ODBC 2.1x SDK

Compobj.dll          2.2               2.1                  2.02
Ole2.dll             2.2               2.1                  2.02
Ole2conv.dll         2.01              2.1                  2.01
Ole2disp.dll         2.1               N/A                  2.02
Ole2nls.dll          2.1               2.1                  2.02
Stdole.tlb           2.1               2.1                  4.2kb (has no
                                                         internal version)
Storage.dll          2.2               2.1                  2.02

Typelib.dll          2.1               2.1                  2.02

Because the files that come with the ODBC 2.1x SDK are older(16-bit) than the ones that come with Windows 95, these files are not overwritten.


To work around this problem on a computer running Windows 95, delete the existing files mentioned above in the <Windows 95 root>/System directory and reinstall the ODBC 2.1x SDK. Make sure that the files have the correct version numbers after the ODBC 2.1x SDK reinstallation.


On computers running Windows NT 4.0, this does not cause a problem because the versions of the above files later than 2.02 are the 16/32 interoperability OLE DLLs (32-bit), and are installed in the <Windows NT root>/System32 directory. A fresh installation of the 16-bit ODBC components from the ODBC 2.1x SDK are installed into the <Windows NT root>/System directory.

Additional query words: odbc2.1x

Keywords: kbinterop kbenv kbprb KB172192