PowerBI连接到Oracle客户端出现错误

时间:2019-02-06 19:55:49

标签: oracle powerbi powerbi-datasource

我安装了Oracle客户端,但是当我尝试将Oracle数据导入PowerBI时出现错误

请协助

错误

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

enter image description here

这里是tnsnames.ora

DLPOracle =
   (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SERVER_NAME)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = service_name) 
    )
  )

它在目录E:\app\client\adm.user\product\12.2.0\client_1\Network\Admin

PATH包含

E:\app\client\adm.user\product\12.2.0\client_1 E:\app\client\adm.user\product\12.2.0\client_1\bin

以下服务正在运行

enter image description here

@Littlefoot是连接屏幕

enter image description here

然后我被问到如何登录

enter image description here

然后我选择“数据库”

enter image description here

1 个答案:

答案 0 :(得分:1)

输入DLPOracle作为服务器名称。

输入mariumpassword作为凭据

感谢@kfinity