September 4, 2013 at 2:21 am
Hi,
I am trying to execute a sql agent job (ETL from Oracle 11g to Sql Server 2008) on a 64bit server.
I am using Oracle Provider for OLE DB from SSIS.
I am getting below mentioned error:
Description: SSIS Error Code DTS_E_OLEDB_NOPROVIDER_ERROR. The requested OLE DB provider OraOLEDB.Oracle.1 is not registered. Error code: 0x00000000. An OLE DB record is available. Source: "Microsoft OLE DB Service Components" Hresult: 0x80040154 Description: "Class not registered".
These are the things I have already tried/setup:
- Have oracle client 32bit & 64bit installed
- Have verified I can connect to the oracle dbs from the server using sql plus
- Have re-registered Oracle Oledb provider (regsvr32 OraOLEDB11.dl)
Could you please help in resolving this issue.
Thank you.
PS: The package works perfectly fine from my local machine which is 32bit.
Regards,
Ash
September 5, 2013 at 6:17 am
ashiyana14 (9/4/2013)
- Have verified I can connect to the oracle dbs from the server using sql plus
Have you verified both 32 and 64 bit SQL*Plus?
The SQL Server Agent running the job is 64 bit. Have you tried checking the Use 32 bit runtime option?
September 6, 2013 at 5:58 am
We have done this with several servers and have found the order that Oracle is installed is important. Below are some of our notes from the steps we use.
Install Oracle 11 32 bit
Install in C:\oracle, home = client_32
Install Oracle 11 64 bit
Install in C:\oracle, home = client_64
Make sure Path env var contains folder path to client_32 and client_64, client_32 should be listed first
TNS_ADMIN env var should have folder path to client_32
Run regedit to change settings
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\MTxOCI and
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MSDTC\MTxOCI
below are correct settings:
OracleOciLib = oci.dll
OracleSqlLib = orasql11.dll (old: SQLLib80.dll)
OracleXaLib = oraclient11.dll (old: xa80.dll)
September 17, 2013 at 7:42 am
Just to make sure: Did you install both Oracle drivers (32 and 64 bit) on the server that is running SSIS?
Make sure that it is definitely the correct driver version. 11.1 or 11.2 matters!
Best Regards
JP
________________________________________________________
If you set out to do something, something else must be done first.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply