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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
anddav87
New Member

Multiple Oracle Components Installed - causing issue connecting

Hi

 

I am trying to connect Power BI to an Oracle database.

 

I am using Power BI 64-bit so have downloaded and installed the Oracle ODAC component, 64-bit.  I have put that location in my PATH variable as well as the \bin folder.  I have my TNSNAMES.ora under TNS_ADMIN variable.

 

However I get this error when trying to connect:

 

We encountered an error while trying to connect.  Details: "An error happened while reading data from the provider: 'Attempt to load Oracle client libraries threw BadImageFormatException.  This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.'"

 

The machine does have a 32-bit client installed which is required for something else.  It's not an option to uninstall it.

 

Is there a way to "force" PowerBI to use the 64-bit component I just installed?

 

Thanks in advance


Andy

3 REPLIES 3
Anonymous
Not applicable

Hi @anddav87,

 

Based on your error message, this issue seems due to compatibility between 32bit and 64bit(datasource and connector), please refer to below link to know more about this:

Attempt to load Oracle client libraries threw BadImageFormatException

 

Regards,

Xiaoxin Sheng

Thank you, unfortunately that doesn't help me solve the issue

Anonymous
Not applicable

HI @anddav87,

 

I also not so sure why this exception appears, normally it will use the correspond oracle connector.
I'd like to suggest you to use udl to test these connectors if it works on your side.

Basics first : "UDL Test"

 

BTW, you can also try to submit a support ticket for this issue.

Submit a support ticketSubmit a support ticket

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.