Link to home
Create AccountLog in
Avatar of SQLSearcher
SQLSearcher

asked on

SSIS Error with OLE DB Command to Oracle

Hello Experts Exchange
I have a SSIS package that has a ADO datasource to MYSQL, it then does a lookup to Oracle, the match data then goes to a OLE DB Command to update the records.

The OLE DB Command is running this script.
Update SITE_INCOME 
Set SI_AMOUNT_BANKED = ?,
    SI_BGC_NO = ?
Where SI_ID = ?

Open in new window


But when I click Refresh in the OLE DB Command I get the following error message;
Error at Data Flow Task [OLE DB Command [99]]: SSIS Error Code DTS_E_OLEDBERROR. AN OLE DB error has occurred. Error code 0x80040E30.

An OLE DB record is available. Source "Microsoft OLE DB Provider for Oracle" Hrsult: 0x80040E30 Description: "Type name is invalid.".

Error at Data Flow Task [OLE DB Command [99]]: Unable to retrieve destination column descriptions from the parameters of the SQL command.

Open in new window


I have googled the error code 0x80040E30 , but have found nothing.

Can anyone suggest something I can try to get this working please?

Regards

SQLSearcher
Avatar of Vitor Montalvão
Vitor Montalvão
Flag of Switzerland image

I can see that you're using "Microsoft OLE DB Provider for Oracle". Don't you have an Oracle Client driver instead?
Avatar of SQLSearcher
SQLSearcher

ASKER

Hello Vitor
I have a Oracle ODBC driver but I have not got a OLE DB Oracle driver.

Where would I get that, and how would I install it??

Regards

SQLSearcher
Should be in your Oracle Client installation media but you can also download it from Oracle's website.
Hello Vitor
The web site you have given me has Oracle 10g but I have 11g, do you know where I can find the OLE DB drivers for that?

Regards

SQLSearcher
Check in this webpage. I think there are all the available versions.
Hello Vitor
Is there not a 32bit version of the 11g Oracle OLEDB driver?

Regards

SQLSearcher
ASKER CERTIFIED SOLUTION
Avatar of Vitor Montalvão
Vitor Montalvão
Flag of Switzerland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Hello Vitor
I have downloaded the file and extract the files on my c drive and run the following command.

install.bat oledb C:\oracle true

but I don't have a Oracle OLE DB driver on my machine.

What should I do next to get it to work?

Regards

SQLSearcher
Did you follow the install instructions that comes with the zip file?
Should be something similar with this one.
Thank you for your help.