Forum Discussion
'Oracle.Databases.Client' could not be instantiated
In PowerBI, I can "Get Data", and the columns appear in the "Fields" section. However, when I select a field, this error appears:
"Could not load the data for this visual"
Error:The managed provider 'Oracle.DataAccess.Client' could not be instantiated. Unable to find the requested .Net Framework Data Provider. It may not be installed.
(I suspect it could be a 32 vs 64 bit thing, but not sure how I should resolve it)
20 Replies
- pqianMicrosoft Employee
dennisr you need to install the Oracle ODP.net driver:
32bit: http://www.oracle.com/technetwork/topics/dotnet/utilsoft-086879.html
64bit: http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
The ODC library has been deprecated.
- dennisrAdvocate II
I should have mentioned... I had already done that.
I installed ODAC112040Xcopy_64bit.zip
I already had instant client 11 installed prior, both 32 & 64 bit, and my PATH had the 64 bit folder before the 32 bit folders.
After I installed ODAC, into a completely new folder (c:\Oracle), I put c:\Oracle and c:\Oracle\bin into the front of my PATH and removed the prior folders from the path.
- mike_honeyMemorable Member
I'm striking the same error. It seems like an obvious bug to me that you can navigate and preview the data using whatever drivers, but then you cant generate a visual.
dennisr - did those steps your described in your last post solve your problem?
- nirobertsFrequent Visitor
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
- KnudFrequent Visitor
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.
- nirobertsFrequent 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