Reply
Frequent Visitor
Posts: 2
Registered: ‎06-12-2018
Accepted Solution

Oracle - New Gateway An invalid connection string has at least one of the passed arguments ..

We have recently configured a new gateway to replace an existing one which was situated on the same machine as the oracle database.

 

I have configured the new machine to house the gateway and installed the gateway, then configured Oracle 11g 64Bit client on the machine. (As i read it is best for the client version to match the database). Though normal clients are using 32Bit, i dont know if that will make a difference?

 

I have then gone in to the admin portal and added the connections under the gateway which say they are connected fine. The issue arises just after publishing a report that looks to DirectQuery one of the oracle connections through this new gateway. Publishing to the old gateway it works fine. Also if the report is recreated and 'import' is selected it will refresh on demand without issues.

The error we receive is when we go onto the report on the powerBI web portal - clicking the report just brings up a big white window with the below issue.

 

An invalid connection string has at least one of the passed arguments which does not meet the parameter specification. Please check the data source connection string.
Please try again later or contact support. If you contact support, please provide these details.

Activity IDa31aae1d-ee70-4686-9bd3-a6f905eb11d9
Request IDbe07bea6-5983-5eef-61ba-763314e0f00a
Correlation ID709d3229-931b-a720-d8aa-9b6293679334
TimeTue Jun 12 2018 16:46:59 GMT+0100 (GMT Summer Time)
Version13.0.5557.154
 
any help greatly welcomed as this is a real headache and im not sure where to start!
 
thanks

Accepted Solutions
Frequent Visitor
Posts: 2
Registered: ‎06-12-2018

Re: Oracle - New Gateway An invalid connection string has at least one of the passed arguments ..

this was fixed after installing the ODP.NET for 11.2.0.4 , maybe the oracle client version i was using was too old (11.2.0.1 on an 11.2.0.3 database)

 

After installing this client and updating the $oracle_home and path variables this issue was fixed.

View solution in original post


All Replies
Moderator
Posts: 9,523
Registered: ‎03-10-2016

Re: Oracle - New Gateway An invalid connection string has at least one of the passed arguments ..

@ashleycarrigan,

What version of Power BI Desktop do you use? And what version of Oracle server do you connect to in Power BI Desktop? Power BI Desktop DirectQuery mode supports version 12 or higher Oracle.

In addition, for On-premises data gateway, use the following link to download and install the 64-bit Oracle client:

64-bit ODAC 12.2c Release 1 (12.2.0.1.0) for Windows x64



Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Frequent Visitor
Posts: 2
Registered: ‎06-12-2018

Re: Oracle - New Gateway An invalid connection string has at least one of the passed arguments ..

this was fixed after installing the ODP.NET for 11.2.0.4 , maybe the oracle client version i was using was too old (11.2.0.1 on an 11.2.0.3 database)

 

After installing this client and updating the $oracle_home and path variables this issue was fixed.

Highlighted
Moderator
Posts: 9,523
Registered: ‎03-10-2016

Re: Oracle - New Gateway An invalid connection string has at least one of the passed arguments ..

@ashleycarrigan,

Glad to hear the issue is solved, you can accept helpful replies as answer to close this thread.

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.