Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I have one excel in which we retrieve oracle database data using VBA. It was working on windows 7 but now systems are upgraded to windows 10. After upgradation we are facing runtime ora-01019 error.

Error: "Run-time error '-2147467259 (80004005)': Error while trying to retrieve text for error ORA-01019"

Please help.

What I have tried:

I tried installation on of Oracle client drivers 32 bit and 64 bit. now I have installed on 32 bit drivers.
Posted
Updated 30-Aug-17 3:01am

If you get an error message you don't understand, Google it: Run-time error '-2147467259 (80004005)': Error while trying to retrieve text for error ORA-01019 - Google Search[^] as you can see, loads of possibilities...
 
Share this answer
 
Comments
anurag9179 30-Aug-17 6:10am    
Hello OriginalGriff,

I already did google thats why I put this question on code project.
You have two errors:
At first you have an ORA-01019 ("unable to allocate memory in the user side") from the database driver. Then you have a 0x80004005 (E_FAIL = "An undetermined error occurred") error when trying to get the database error message.

A quick search for the ORA error: ORA-01019[^]

After fixing the database error you should also fix the second one. You have probably a function that tries to get and show the error message. There you should catch the failure and show an appropriate message like "Unable to get error message text for [Oracle error code]".
 
Share this answer
 
Hi,

Finally lot R and D I found soultion my self and that is nothing but a VBA Project ref.

VBA Window -> Tools -> References -> and check OracleDataControl, OraOLEDB 1.0 Type Library
Now its working fine
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900