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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
harryishs
New Member

Unable to login error

Hi,

 

Until last week i was able to connect with PowerBI desktop,but today when i try to login and connect my oracle database,randomly i am getting error like this:

 

We encountered an error while trying to connect:

Details: "Oracle: ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA

 

I am unsure what is the reason behind this and i am trying to figure out in vain,Could someone please fix the issue or please let me know how to get this working,i tried several ways but unable to get it cleared.

 

Thanks

1 REPLY 1
v-qiuyu-msft
Community Support
Community Support

Hi @harryishs,

 

Regarding the error message "Oracle: ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA", the issue should be caused by Oracle client is not installed, or if it is not configured properly. If it is installed, you will want to verify the tnsnames.ora file is properly configured and you are using the proper net_service_name. See: https://powerbi.microsoft.com/en-us/documentation/powerbi-gateway-onprem-manage-oracle/#troubleshoot...

 

You can also take a look at jmiridium 's suggestion in this similar thread Connect To Oracle Database .

 

Best Regards,

Qiuyun Yu 

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

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors