Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
tripleacoder
Helper I
Helper I

DirectQuery w. Oracle: An invalid connection string has at least one of the passed arguments

I have published a report that uses DirectQuery against an Oracle database. I also have a Power BI Gateway set up.

 

All my normal reports work using the Gateway, but the Direct Query one causes this error:

 

"An invalid connection string has at least one of the passed arguments which does not meet the parameter specification"

 

The Gateway logs contain this error:

"Non-gateway exception encountered in activity scope: System.ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed."

 

Oracle database is v. 12.

Gateway is version 30000.8.452 (August 2019)
It is running on a virtual pc with Windows Server 2016.

Gateway pc has Oracle ODAC client 12.2.0.1.0 (32 bit)

 

I have looked in the GAC and neither Oracle.ManagedDataAccess.dll nor Oracle.DataAccess.dll is installed. Also, neither machine.config files (32- and 64 bit) contain a DbProvider reference to these dlls.
However, all the normal Import reports are working fine despite of this.

 

What I have tried:

Upgrading Power BI Gateway to newest version

Installing Oracle.ManagedDataAccess.dll into the GAC, and updating machine.config with a DbProvider reference
Installing Oracle Client 19 and removing Oracle Client 12

 

I have spent several days on this problem but the error never changes.

1 ACCEPTED SOLUTION

I received help from support with this.

After installing 

Oracle ODAC client 12.2.0.1.0 (64 bit) w. machine-wide configuration checked

the error went away.

(32 bit version was already installed, as well as version 19)

View solution in original post

2 REPLIES 2
Greg_Deckler
Super User
Super User

Are you using the personal gateway or enterprise data gateway?  You could check the Issues forum here:

https://community.powerbi.com/t5/Issues/idb-p/Issues

And if it is not there, then you could post it.

If you have Pro account you could try to open a support ticket. If you have a Pro account it is free. Go to https://support.powerbi.com. Scroll down and click "CREATE SUPPORT TICKET".


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

I received help from support with this.

After installing 

Oracle ODAC client 12.2.0.1.0 (64 bit) w. machine-wide configuration checked

the error went away.

(32 bit version was already installed, as well as version 19)

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors