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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Oracle DirectQuery Error

Hello community,

 

I currently have an oracle database and our IT infrastructure department has set up an ODBC connector to access this database. This works fine. I chose ODBC from the list in PowerBI desktop and it pulls data as required. However, ODBC does not support DirectQuery and I have a requirement to construct a streaming (real-time) report.

 

I have all the necessary information on the oracle server. 

HostName, Port, ServiceName, UserName and its Password. However, when i try to connect using the Oracle Database connector, it detects the server alright but when I enter the username and password, it gives the following error message:

 

dilipraghu_0-1596217925872.png

 

I tried looking up the error ID and similar posts here in the community but couldn't find anything useful enough to help me find a solution.

Has anyone encountered this problem before/has a solution to this ?

 

Regards,

Dilip

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Both on your desktop and on the gateway can you confirm that your dataset uses the native Oracle connector and not the ODBC connector? TNSNAMES.ORA needs to be up to date on both, in the right location etc.

 

Use TNSPing or Toad or whatever to validate the connection.

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

Both on your desktop and on the gateway can you confirm that your dataset uses the native Oracle connector and not the ODBC connector? TNSNAMES.ORA needs to be up to date on both, in the right location etc.

 

Use TNSPing or Toad or whatever to validate the connection.

Anonymous
Not applicable

Thanks @lbendlin for your answer. It was indeed an issue with ODAC. I installed the latest version and confirmed the correct configuration of TNSNames.ORA and it works perfectly now. 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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