cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Panigrahi Frequent Visitor
Frequent Visitor

Error while connecting with oracle database server in TNS name.

Hi All,

 

This is related to power BI issue. Initially the TNS name for my server connection name was “WORLD” in my local system and it is connecting  the same server name in power BI desktop. But when I am changing my TNS name in the TNS file from “WORLD” to “WORLDDEV” and trying to connect it through “WORLDDEV” as server name in power BI desktop, then the following  issue is coming.

TNS-12545: Connect failed because target host or object does not exist.

 

So can anyone suggest me what should be the solution.

1 REPLY 1
Community Support Team
Community Support Team

Re: Error while connecting with oracle database server in TNS name.

hi, @Panigrahi 

Please configure your tnsnames.ora file with the proper information for your database. Power BI Desktop and the gateway go off of the net_service_name defined in the tnsnames.ora file. If the net_service_name isn't configured, you can't connect. The default path for tnsnames.ora is [Oracle Home Directory]\Network\Admin\tnsnames.ora. For more information about how to configure tnsnames.ora files, see Oracle: Local naming parameters (tnsnames.ora).

and also please refer to these blog:

http://logic.edchen.org/how-to-resolve-tns-12545-connect-failed-because-target-host-or-object-does-n...

http://www.dba-oracle.com/t_tns_12545_connect_failed_because_target_host_or_object_does_not_exist.ht...

 

Regards,

Lin

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

Helpful resources

Announcements
New Kudos Received Badges Coming

New Kudos Received Badges Coming

Kudos to you if you earned one of these! Check your inbox for a notification.

Microsoft Implementation for Communities Wins Award

Microsoft Implementation for Communities Wins Award

Learn about the award-winning innovation that was implemented across Microsoft’s Business Applications Communities.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Kudoed Authors (Last 30 Days)
Users online (1,012)