Cannot install Microsoft Power Bi Postgre SQL connector

风流意气都作罢 提交于 2019-11-28 07:23:47

问题


I am trying to use Microsoft Power Bi to connect to a PostgreSQL database.

When I go to Get Data it just says that the connector requires one or more additional components to be installed before it can be used

  1. I have installed Microsoft Power Bi version: 2.47.4766.801 64-bit (June 2017).
  2. I have installed Npgsql 3.2.3.
  3. I have installed VS Studio 2017 Community and added the dll files to the assembly using the VS Studio command prompt.
  4. I have edited my machine.config file.

below

<system.data>
  <DbProviderFactories>
    <add name="Npgsql Data Provider" invariant="Npgsql" description=".Net Framework Data Provider for PostgreSQL Server" type="Npgsql.NpgsqlFactory, Npgsql, Version=3.2.3.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7"/>
  </DbProviderFactories>
</system.data>
  1. I am running Windows 10 so I already have .NET framework 4.5 installed.  6. I restart my PC, open up Power Bi and try to connect to Postgre again and I get the same message that the connector requires one or more additional components to be installed before it can be used.

The tracer log from my Power Bi can be found here:

https://www.sendspace.com/file/vleze0

How can I get this thing to work?  It's driving me crazy!   Thanks


回答1:


There seems to be some problem with the latest Npgsql versions.
Succeded to connect with Npgsql 3.1.8 version.
First uninstall the existing version then install and restart.



来源:https://stackoverflow.com/questions/44793519/cannot-install-microsoft-power-bi-postgre-sql-connector

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!