POWERBI - 对象引用未设置为对象的实例

POWERBI - Object reference not set to an instance of an object

我正在尝试使用 prowerbi 桌面连接 oracle 数据库。抛出以下错误

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

知道为什么我会看到这个错误吗?我在发帖前搜索了一下,没有发现任何线索。

已解决 - 问题是因为 Oracle 客户端和 Power BI 桌面的版本。

Oracle 客户端是 32 位的,Powerbi 是 64 位的,将 Oracle 客户端更新到 64 位后一切正常。

  1. 在您的 oracle 安装路径的“<>product.2.0\client_1”中找到并复制 oraons.dll 文件

  2. 将文件粘贴到‘<>product.2.0\client_1\bin目录

就我而言,问题是 Power BI 的版本,我从 Windows 商店下载并安装了它,那里的版本出现了错误。

我的解决方案是卸载我的 PBI,从 Microsoft 网页(而不是商店)下载并安装。

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

一旦完成,问题就解决了。 此致

我遇到了同样的错误,但是当尝试连接到 CentOS 8 MariaDB 10.4 时,不知道我必须做什么才能让它工作。(我已经创建了一个用户来远程访问并且端口在防火墙)

我正在尝试从 PowerBI Desktop 2.79.5768.1082 64 位(2020 年 3 月)连接

如果有人知道我如何实现这一点,那就太好了。

我按照 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: