SSIS Error with OLE DB Command to Oracle

SQLSearcher
SQLSearcher used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Vitor MontalvãoIT Engineer
Distinguished Expert 2017

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

Author

Commented:
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
Vitor MontalvãoIT Engineer
Distinguished Expert 2017

Commented:
Should be in your Oracle Client installation media but you can also download it from Oracle's website.
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
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
Vitor MontalvãoIT Engineer
Distinguished Expert 2017

Commented:
Check in this webpage. I think there are all the available versions.

Author

Commented:
Hello Vitor
Is there not a 32bit version of the 11g Oracle OLEDB driver?

Regards

SQLSearcher
IT Engineer
Distinguished Expert 2017
Commented:
You never mentioned that you needs a 32bit version.
Lucky that they have a similar webpage for 32bit :)

Author

Commented:
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
Vitor MontalvãoIT Engineer
Distinguished Expert 2017

Commented:
Did you follow the install instructions that comes with the zip file?
Should be something similar with this one.

Author

Commented:
Thank you for your help.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial