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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
HarshaKnv
New Member

Oracle Data Connection - ORA 12154

Hi guys,

 

I am trying to connect to an on prem Oracle server for which i have setup a gateway to point to the VM in the same network where the Oracle server is hosted.

I have also installed Oracle Client https://www.oracle.com/database/technologies/appdev/ocmt.html from here and installed it on the same VM where the gateway resides.

 

Now when i am trying to create a data connection, i am facing the following error "Oracle: ORA-12154: TNS:could not resolve the connect identifier specified". I have tried to look at few online resources and verified that i am able to ping the oracle server from the VM. Created environement variables ORACLE_HOME and TNS_ADMIN so it points to the path where tnsnames.ora is located.

It would be helpful if anyone can point what i might have missed/overlooked.

Thanks

1 REPLY 1
GilbertQ
Super User
Super User

Hi @HarshaKnv 

 

Have a look at my blog post, which might help with regards to this. Power BI – On-Premise Gateway Configuration steps to an Oracle Database - FourMoo | Fabric | Power B...





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.