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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.