8

I'm trying to connect oracle database using prowerbi desktop. Throwing following error

Details: "An error happened while reading data from the provider: 'Object reference not set to an instance of an object.'"

Any idea why i see this error? I have searched it before posting here and found no clue.

Praveen Govind
  • 2,619
  • 2
  • 32
  • 45

4 Answers4

23
  1. Locate and copy the oraons.dll file in ‘<>product\12.2.0\client_1’ on your oracle install path

  2. Paste the file into the ‘<>product\12.2.0\client_1\bin directory

Mayur Bhardwaj
  • 231
  • 2
  • 2
5

In my case, the problem was the version of Power BI, I downloaded and install it from Windows Store and the version place there got a bug.

My solution was to uninstall my PBI, download it from microsoft web page (not from Store) and install it.

https://www.microsoft.com/es-ES/download/details.aspx?id=58494

Once it's done then problem get solve. Regards

Angel Quero
  • 51
  • 1
  • 1
2

Solved - The issue is because of the versions of Oracle client and Power BI desktop.

Oracle client was 32 bit and Powerbi was 64 bit, after updating oracle client to 64 bit everything works great.

Praveen Govind
  • 2,619
  • 2
  • 32
  • 45
0

I resolved this issue following this instruction from Power BI Desktop troubleshooting reference:

If you downloaded Power BI Desktop from the Microsoft Store, you might be unable to connect to Oracle databases because of an Oracle driver issue. If you encounter this issue, the error message returned is: Object reference not set. This is an issue with how Oracle driver works in Windows UWP Apps. To address the issue, you have to do the following:

manix
  • 14,537
  • 11
  • 70
  • 107