Forum Discussion
Details: "Unable to find the requested .Net Framework Data Provider. It may not be installed."
Where are you trying to connect from? The Power BI desktop app? Do you mind sharing the exact steps you're taking?
I'm experience exactly the same problem. I've just installed Power BI Desktop.
- Romoreira10 years agoNew Member
I found a solution: in my case the machine config has a duplicated entry "DbProviderFactories". As soon as I deleted one of them and restarted PowerBi, it started to work.
- chefe10 years ago
Helper II
Hi there,
I am having the same problem (error message partly in german, but it reads the same), unfortunately the adivce regarding DbProviderFactories did not work.
I found references of machine.config in the following four places
#1 C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config
#2 C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config
#3 C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG\machine.config
#4 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config
I am new at this but #2 and #4 seem to be odd, going in the direction as to say "duplicate <DbProviderFactories> entry" as Romoreira suggests.
This what it looked like.
This is what i now looks like, uncommented that thing.
I restarted the PC, refreshed my pbix file, dragged some field on the report and still get the same error message.
I do have to day: I am using DirectQuery on the Oracle Database, the previews in PowerQuery load fine, its only when i drag and drop fields onto the report that I get this error. When I change from DirectQuery mode to Import mode, I do not get this error.
I also read somewhere that maybe installing "ODAC" (oracle data access components) from Oracle, but I am hesitant to do so since this is a work PC.
So does this directly relate to DirectQuery? Connecting to the Database in Power BI using ImportMode works fine.
Here's the source:
http://www.oracle.com/technetwork/topics/dotnet/utilsoft-086879.html
- ChrisRenlund5 years ago
Advocate I
This is what solved it for us:
In the case with direct query towards an Oracle database this is what solved above error message for us:- Install Oracle Client 12.1 (64-bit ODAC 12c Release 4 (12.1.0.2.4) for Windows x64) as an additional Oracle home on your gateway server (we were running 12.2)
- Restart you On-premises data gateway (it did not work if you didn't restart the gateway)
Seems as Oracle 12.2 for some reason doesn't work with direct query.