Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> OO4OLE - Specified class not registered in registry
I have developed a database browser application with MFC using Oracle
Objects for OLE.
The program runs on my computer, but when I install it on another client and attempt to execut it, I get the message "Specified class not registered in registry".
This happens when I attempt to call OSession::Open(). OStartup executes OK. (I call OStartup first.)
My target machine is running Windows 95 with:
SQL*NET 2.3.2.1.6
Oracle TCP/IP Adapter Version 2.3.2.1.4
Required Support Files Version 7.3.2.2.0C
I have been attempting to install OO4OLE 2.0 on the target machine. To do so, I copy the following files to C:\Orawin95\Bin
Oip20.dll (2.0.0.7)
Oip20.tlb
Oraansi.dll (3.2.1.0)
Oraclm.dll (2.0.7.2)
Oraipsrv.reg
My path setting (in AUTOEXEC.BAT) is set correctly to C:\Orawin95\Bin.
I double-click on Oraipsrv.reg and it indicates that it has correctly intered the values in the registry.
The contents of Oraipsrv.reg is :
REGEDIT
; Registration information for Oracle InProc Server
; Version independent registration
HKEY_CLASSES_ROOT\OracleInProcServer.XOraSession = OraDatabaseInProc
HKEY_CLASSES_ROOT\OracleInProcServer.XOraSession\Clsid =
{3893B4A0-FFD8-101A-ADF2-04021C007002}
; Version 2.0 registration
HKEY_CLASSES_ROOT\OracleInProcServer.XOraSession.2 = OraInProcTestDatabase
2.0
HKEY_CLASSES_ROOT\OracleInProcServer.XOraSession.2\Clsid =
{3893B4A0-FFD8-101A-ADF2-04021C007002}
; Class ID registration
HKEY_CLASSES_ROOT\CLSID\{3893B4A0-FFD8-101A-ADF2-04021C007002} =
OraInProcTestDatabase 2.0
HKEY_CLASSES_ROOT\CLSID\{3893B4A0-FFD8-101A-ADF2-04021C007002}\ProgID =
OracleInProcServer.XOraSession.2
HKEY_CLASSES_ROOT\CLSID\{3893B4A0-FFD8-101A-ADF2-04021C007002}\VersionIndepe
ndentProgID = OracleInProcServer.XOraSession
HKEY_CLASSES_ROOT\CLSID\{3893B4A0-FFD8-101A-ADF2-04021C007002}\InProcServer
= oip20win.dll
HKEY_CLASSES_ROOT\CLSID\{3893B4A0-FFD8-101A-ADF2-04021C007002}\InProcServer3
2 = oip20.dll
HKEY_CLASSES_ROOT\TypeLib\{F2D4ED20-FFD3-101A-ADF2-04021C007002}
HKEY_CLASSES_ROOT\TypeLib\{F2D4ED20-FFD3-101A-ADF2-04021C007002}\2.0 =
OracleInProcServer 2.0 Type Library
HKEY_CLASSES_ROOT\TypeLib\{F2D4ED20-FFD3-101A-ADF2-04021C007002}\2.0\HELPDIR
= ;US english
HKEY_CLASSES_ROOT\TypeLib\{F2D4ED20-FFD3-101A-ADF2-04021C007002}\2.0\409\win
16 = oip20win.tlb
HKEY_CLASSES_ROOT\TypeLib\{F2D4ED20-FFD3-101A-ADF2-04021C007002}\2.0\409\win
32 = oip20.tlb
I compiled and linked my program with OO4O2 (ORACLM.LIB and OMFC.LIB).
I've tried all the above with OO40 2.1 with the same result.
Is there something in the installation process that I'm missing?
-- Ken Sutherland ken_at_j-mac.co.jp http://www.j-mac.co.jp/ http://www.voicenet.co.jp/~kenReceived on Wed Sep 05 2001 - 02:29:09 CDT