SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Making SSIS work for extraction from Oracle11g to Sql Server 2008 on a 64bit server.


Making SSIS work for extraction from Oracle11g to Sql Server 2008 on a 64bit server.

Author
Message
ashiyana14
ashiyana14
Grasshopper
Grasshopper (16 reputation)Grasshopper (16 reputation)Grasshopper (16 reputation)Grasshopper (16 reputation)Grasshopper (16 reputation)Grasshopper (16 reputation)Grasshopper (16 reputation)Grasshopper (16 reputation)

Group: General Forum Members
Points: 16 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
SQL Surfer '66
SQL Surfer '66
SSC Eights!
SSC Eights! (932 reputation)SSC Eights! (932 reputation)SSC Eights! (932 reputation)SSC Eights! (932 reputation)SSC Eights! (932 reputation)SSC Eights! (932 reputation)SSC Eights! (932 reputation)SSC Eights! (932 reputation)

Group: General Forum Members
Points: 932 Visits: 328
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?
pshields
pshields
SSC Rookie
SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)

Group: General Forum Members
Points: 33 Visits: 402
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)
Dscheypie
Dscheypie
Old Hand
Old Hand (302 reputation)Old Hand (302 reputation)Old Hand (302 reputation)Old Hand (302 reputation)Old Hand (302 reputation)Old Hand (302 reputation)Old Hand (302 reputation)Old Hand (302 reputation)

Group: General Forum Members
Points: 302 Visits: 271
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.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search