Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in BI by (17.6k points)

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 Answer

0 votes
by (47.2k points)

With the latest version of Npgsql versions, there is no problem. You can successfully connect with Npgsql 3.1.8 version by uninstalling the existing version. Now restart and check.

Related questions

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...