Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Making SSIS work for extraction from Oracle11g to Sql Server 2008 on a 64bit server. Expand / Collapse
Author
Message
Posted Wednesday, September 4, 2013 2:21 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, May 15, 2014 12:21 AM
Points: 2, Visits: 21
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
Post #1491179
Posted Thursday, September 5, 2013 6:17 AM


SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

Group: General Forum Members
Last Login: Today @ 7:17 AM
Points: 487, Visits: 259
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?
Post #1491741
Posted Friday, September 6, 2013 5:58 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Wednesday, July 2, 2014 3:56 PM
Points: 11, Visits: 379
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)
Post #1492178
Posted Tuesday, September 17, 2013 7:42 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, August 25, 2014 10:53 PM
Points: 160, Visits: 235
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.
Post #1495510
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse