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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Zalexatwork
Frequent Visitor

« Oracle : ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA »

Hello All,

After changing my pc, I find that I cannot connect to my database, with the error shown in subject.
With my previous pc, the oracle connector generated the tns name just fine and the connexion worked.
I reinstalled the oracle connector, made sure the tns name was the same as it was on my older pc when everything worked, and yet I get the error above when trying to connect.
My IT department is baffled, as the exact same setup still works on my colleagues pc.
We have tried uninstalling and reinstaling different versions of the connector and of power BI, to no avail.
At this point we have no clue as to where to look next, and I am hoping this forum may shed a light on at least possible ideas that we could look into to make it work.
Any help would be greatly appreciated.
Regards,

Alex

1 ACCEPTED SOLUTION
v-xiaotang
Community Support
Community Support

Hi @Zalexatwork 

Not familiar to Oracle, but please try this, I hope it can help,

vxiaotang_1-1639387326530.png

https://stackoverflow.com/questions/19129931/oracle-error-tns-listener-was-not-given-the-service-nam...

We are happy to help you, but we may not be very professional with Oracle and may waste your time, so you can also go to Oracle Community for more professional advice, https://community.oracle.com/hub/

 

Best Regards,

Community Support Team _Tang

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

View solution in original post

3 REPLIES 3
v-xiaotang
Community Support
Community Support

Hi @Zalexatwork 

Not familiar to Oracle, but please try this, I hope it can help,

vxiaotang_1-1639387326530.png

https://stackoverflow.com/questions/19129931/oracle-error-tns-listener-was-not-given-the-service-nam...

We are happy to help you, but we may not be very professional with Oracle and may waste your time, so you can also go to Oracle Community for more professional advice, https://community.oracle.com/hub/

 

Best Regards,

Community Support Team _Tang

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

This was finally the solution for me!

amitchandak
Super User
Super User

@Zalexatwork , Please add oracle path to env variable. Also, create an entery into tnsnames.ora file and then try

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.