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

Connect to Oracle Database Error(ORA-12154: TNS:could not resolve the connect identifier specified)

Hi,

 

I want to connect to Oracle Database, but there's still an error message after the Oracle DataAccess Client is installed, saying: Details: "Oracle:ORA-12154: TNS: could not resolve the connect identifier specified".

Is there any guide that can help me

 

4.png

3 REPLIES 3
theov
Advocate II
Advocate II

Hello, 

I'd make sure the ora client is installed properly, the string is correct and finally tnsnames.ora is up to date. This video might helps as well:

https://www.youtube.com/watch?v=EpeJrO5tHDc

Icey
Community Support
Community Support

Hi @Anonymous ,

 

Please check:

1. Whether the Oracle client either is installed or configured properly.

2. If it's installed, verify that the tnsnames.ora file is properly configured and you're using the proper net_service_name.

3. Make sure that the net_service_name is the same between the machine that uses Power BI Desktop and the machine that runs the gateway.

4. Whether it is a compatibility issue between the Oracle server version and the Oracle client version.

 

For more details, please refer to this document:

https://docs.microsoft.com/en-us/power-bi/service-gateway-onprem-manage-oracle#troubleshooting.

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.


amitchandak
Super User
Super User

This typically when either the listener is not on or connection details are not correct.

 

You can test that by connecting using same details with some other tool like oracle sql developer.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.