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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
pablo20
Frequent Visitor

PowerBi desktop doesn't connect oracle 11g or 12g when use:server_example:1525/service_name_example.

When i use:

get data from-->oracle, i configure the server with name_serve:port/service_name but this configuration doesn't work.

I recibe:"ORA-12154: TNS:could not resolve the connect identifier specified.". In my tnsnames.ora i have configurated
example.world =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = server_example)(PORT = 1525))
(CONNECT_DATA =
(SERVICE_NAME = service_name_example
)
)

i try this: server_example:1525/service_name_example. Does not work.
but if i use: example.word it's OK, work.

but i requiere server_example:1525/service_name_example because in my organization this require.

can you help me?

1 ACCEPTED SOLUTION

Hello !, I was able to configure it today.
In my tnsnames.ora just add:
server_example: 1525 / server_example =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = server_example)
(PORT = 1525)
)
(CONNECT_DATA =
(SERVICE_NAME = service_name_example)
)
)

The problem was in the configuration made by the gateway administrator and he was inflexible in changing it.

Thanks for the help.

Resume:
Configure the database configuration in tnsnames.ora using the connection string in the CONNECTION DESCRIPTOR:
"server_example: 1525 / server_example"

 

View solution in original post

3 REPLIES 3
lbendlin
Super User
Super User

"because in my organization this require"

 

Does that mean your organization does not allow the use of TNSNAMES.ORA and forces you to use tns-less connections?

TNS-less connection string - OraOLEDB.Oracle - ConnectionStrings.com

 

Worst case you could switch to the ODBC driver (and lose some performance)

Hello !, I was able to configure it today.
In my tnsnames.ora just add:
server_example: 1525 / server_example =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = server_example)
(PORT = 1525)
)
(CONNECT_DATA =
(SERVICE_NAME = service_name_example)
)
)

The problem was in the configuration made by the gateway administrator and he was inflexible in changing it.

Thanks for the help.

Resume:
Configure the database configuration in tnsnames.ora using the connection string in the CONNECTION DESCRIPTOR:
"server_example: 1525 / server_example"

 

"inflexible"  is a nice way to describe this.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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