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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
lw24
Helper I
Helper I

Oracle ORA-25700 Transport Layer Secutiry (TLS) connection error

Hello, I've posted here about an issues I'm experiencing with Oracle connecting to Power BI... I'm looking for some guidance on the following and how to resolve this issue 

 

Oracle: ORA-25700: Current configuration does not use Transport Layer Security (TLS). Token based authentication requires TLS with server authentication.

 

I'm running Oracle Instant Client 21c and Power BI verion is 2.126. 

 

Thank you!

 

 

1 ACCEPTED SOLUTION

correct! yeah it was an issue with company system. We all switched to 21c instant client, connectied via database option and it appears to be working!! 

View solution in original post

9 REPLIES 9
jeancosta2024
New Member

I have found the solution to your problem. The error occurs because when you connect to the database, Oracle asks you to authenticate the information to connect to the database.

 

On this screen:

Autenticação do banco de dados.Autenticação do banco de dados.

 

You will need to enter the username and password you created in the database. If you have SQL Developer installed, you can easily view it.


If you have already connected to the bank and you get this error when you click on Update, do the following:

In Power BI go to Power Query -> at the top click on "Data source settings" -> click on the name of the database that has a cylinder icon, for example "testebase" or as written in yours. -> A window will open with "Credentials in bold" and below it "Type: Database" and below that there will be two options "Edit" or "Delete". -> Click on "Edit". -> When it opens, as in the picture above, go to "Database" and enter your bank username and password and that's it. Problem solved.

 

Appreciate the reply. The company I work for uses the "Microsoft Account" option here which connect us directly

 

lw24_1-1720474412702.png

 

When I try with the "Database"option this is the error message I get. Not sure I can work around this...

lw24_0-1720474370946.png

 

 

that's a "good"  error message. Check your Power Query or Oracle SQL code - somewhere you are referencing a table that is either not there or not visible to your user.

correct! yeah it was an issue with company system. We all switched to 21c instant client, connectied via database option and it appears to be working!! 

lbendlin
Super User
Super User

try with Oracle client 19

Thanks @lbendlin . I tried this and now get this error? Oracle: ORA-25700: Current configuration does not use Transport Layer Security (TLS). Token based authentication requires TLS with server authentication. 

 

Do you know how to resolve?

We have tried with Oracle 19. I was getting different error back then.... 

 

lw24_0-1714513309702.png

 

Anonymous
Not applicable

Hi @lw24 ,

 

I want to acknowledge valuable input provided by @lbendlin . However, I noticed that more details are needed to fully understand this issue.


1. If you are using the market version of Power Bi Desktop and receive this error, try the following:


In the oracle client home directory you should be able to find oraons.dll. Copy this file to the \bin folder in the same directory.
Close any open Power BI Desktop and reopen it.
You should be able to connect now.


For example, the directory of files is:
c:\app\client\OraHome
copy it to
c:\app\client\OraHome\bin

 

2. Here are some solutions related to your problem, I hope they can be helpful to you.

Solved: Re: PowerBI desktop 64Bit oracle connection error ... - Microsoft Fabric Community

Solved: PowerBI desktop 64Bit oracle connection error Obj... - Microsoft Fabric Community

Solved: Oracle: Object reference not set to an instance of... - Microsoft Fabric Community

 

If your Current Period does not refer to this, please clarify in a follow-up reply.

 

Best Regards,

Clara Gong

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

Hi @Anonymous - really appreciate the reply and resources! 

 

Looks like the suggestions are for error "Object reference not set to an instance of an object"?? The file you mentioned above, oraons.dll, is already in the /bin folder. 

 

 

Because I downloaded 21c, I was able to bypass that issue (possibly) and now see this one "Current configuration does not use Transport Layer Security (TLS). Token based authentication requires TLS with server authentication." 

 

Possibly an issue with 21c this is my folder structure.... might need to uninstall one of the versions?

 

C:\Oracle\Product

 

lw24_0-1714687034506.png

 

C:\Oracle\Product\21.12.0\instantclient_64

lw24_1-1714687072585.png

 

C:\Oracle\Product\21.12.0\instantclient_64\network

lw24_3-1714687164808.png

C:\Oracle\Product\21.12.0\instantclient_64\network\admin

lw24_4-1714687208390.png

 

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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