Forum Stats

  • 3,826,761 Users
  • 2,260,705 Discussions
  • 7,897,072 Comments

Discussions

Class not registered

imagic1
imagic1 Member Posts: 22
edited Feb 11, 2011 12:27PM in Oracle Provider for OLE DB
Hi,

We have a 32 bit Windows program (VC++ with MFC) what connect to Oracle Database (9i - 11g R2 [32 bit]) via OLEDB.
We use Oracle provider for it.
With 32 bit Windows + 32 bit Oracle client everything well.
Our 32 bit app. on 64 bit Windows (Vista) + Oracle 64 bit client (11g R2) we have error during connect:
OLEDB error (HRESULT : 0x80040154) : Class not registered

If I find OraOLEDB11.dll and register it, problem become an unhadled exception from CDataSource::OpenFromInitializationString(...) MFC class.
Initialization string like this: 'Provider=OraOLEDB.Oracle;User ID=...;Password=...;Data Source=...'

I can not download OLEDB provider (ODAC) from (error on page):
http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html

Please help me if there is solution.

Regards,
Imre

Answers

This discussion has been closed.