Forum Discussion
'Oracle.Databases.Client' could not be instantiated
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.
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?
- dennisr10 years agoAdvocate II
I just didn't have time to continue playing with it, as I was just evaluating PowerBI. So, I just did "Import" rather than direct. I stil suspect it's related to some 32 vs 64 bit issue.
- mike_honey10 years agoMemorable Member
Thanks Dennis. I think my machine has both Oracle 32 and 64 bit drivers, but they were the older 11GR2 client.
Following that tip from @pquian I downloaded the "64-bit ODAC 12c Release 4 (12.1.0.2.4) for Windows x64" (ODAC121024_x64.zip), and installed it using the default settings. It now seems to be working.
It still seems like a clear bug to me that you can connect and model using some Oracle Drivers, but can't visualise until other drivers are installed. Surely all PBI tasks should use the same drivers? There are lots of other risks e.g. inconsistent drivers, performance, TNSNAMES configurations.
- mike_honey10 years agoMemorable Member
OK it worked ... for a while, all the way through to PBI Web querying via the Enterprise Gateway (after I installed ODAC121024_x64 on that machine).
But today it is working in PBI Desktop, but after re-publishing to PBI Web every visual returns an error:
Couldn't load the data for this visualWe reached the enterprise gateway, but the gateway can't access the on-premises data source.
Please try again later or contact support and provide the following details to help resolve your issue faster.Error CodeDM_GWPipeline_Gateway_DataSourceAccessError...
Digging into the PBI Gateway log I'm seeing lots of errors "Unable to find the requested .Net Framework Data Provider. It may not be installed.".
From the Settings / Gateways page the connection tests OK. I tried restarted the PBI Gateway service.