Forum Discussion
'Oracle.Databases.Client' could not be instantiated
Folks - I ran into this issue and have been troubleshooting all afternoon.
My initial config...
- PBI desktop 64bit (june 2017 release) installed
- existing 11g 32bit Oracle client
- new 12c Oracle Data Access client installed
- path updated to place new 12c Oracle home first
Even after downloading and installing the ODAC 12C and updating my path, my PBI desktop continued to throw errors when trying to build a viz with direct connection to Oracle Database.
I downloaded the 32bit version of PBI Desktop and it works as expected... no issue.
My question is - can we have 32bit and 64bit Oracle clients side-by-side whereby we are able to use PBI Desktop 64bit and Visual Studio (SSDT) to develop SSRS reports? The PBI desktop wants the 64bit ODAC and Visual Studio wants the 32bit client!!
Help please...
Thanks - Nick
We have the 32-bits and the 64- bits oracle driver installed on our machines. We use 64 bits Power BI Desktop (may release). We use Excel 32 bit. And both tools can connect to an Oracle database.
In the PATH variable we have first the 32-bits settings and after that the 64-bits settings.
- niroberts9 years agoFrequent Visitor
Thanks Knud - I actually worked through the issue last night.
In my haste (and ignorance) I didn't install the full Oracle client 64 bit - only the ODAC components.
So, after deinstalling all Oracle clients I did the following which resolved the issues:
1. Install Oracle 12c 64bit Client into a specific directory ie. "c:\oracle64"
Oracle Database Client (12.1.0.2.0) for Microsoft Windows (x64)
2. Install Oracle 12c Oracle Data Access Components 64 bit into the same directory (c:\oracle64).
64-bit ODAC 12.2c Release 1 (12.2.0.1.0) for Windows x64
3. Install Oracle 12c 32bit Client into another specific directory ie. "c:\oracle32"
Oracle Database Client (12.1.0.2.0) for Microsoft Windows (32-bit)
The results are good for my situation. I am now able to connect to an Oracle database from PowerBI desktop 64bit without issue. Additionally I can build visualizations over the connection. Finally my Visual Studio projects which use oracle connections also function as expected - using the 32bit Oracle client.
~Nick