Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing ngpsql to use PostgreSQL in PowerBI

Tags:

npgsql

I'm trying to get data from a PostgreSQL database into PowerBI Desktop but it doesn't seem to work. I think the problem is with the installation with npgsql. When trying to setup a new database connection in PowerBI I type in the database and server, and this is the error message I get:

"Unable to connect Details: "PostgreSQL: We were unable to find a database provider with invariant name 'Npgsql'. This error could've been the result of provider-specific client software being required, but missing on this computer. To download client software for this provider, visit the following site and choose the 64-bit (x64) version of, at minimum, 'Npgsql version 2.0.12': https://go.microsoft.com/fwlink/?LinkID=282716""

I've tried going npgsql website and install the required components but I can't seem to get it working. I'm not a developer so this is a bit complicated for me. Does anyone know how to get these components installed? I very much appreciate your help!

I'm using Windows 10 on a Surface Pro 3 if this helps. And I do have Visual Studio Community installed as well.

Best, Bruno.

like image 450
Bruno Avatar asked Dec 01 '15 12:12

Bruno


People also ask

Can I use Toad to connect to PostgreSQL?

According to the Quest, Toad Edge supports EDB Postgres Advanced Server, MySQL, MariaDB, Amazon Redshift (beta), and PostgreSQL. This makes it a very handy tool to have on one's system.

Can I use PHP with PostgreSQL?

Installing PHP Before you can begin developing PHP scripts that interact with a PostgreSQL database, first you need to confirm if PHP is installed on your machine, and second you will need to confirm PostgreSQL support in your PHP installation.

How do I connect to a Python script using PostgreSQL?

To establish connection with the PostgreSQL database, make sure that you have installed it properly in your system. Open the PostgreSQL shell prompt and pass details like Server, Database, username, and password. If all the details you have given are appropriate, a connection is established with PostgreSQL database.


1 Answers

I have downloaded and tried it with version 3.6.6

  1. Install npgsql
  2. During the installation stage, enabled "Npgsql GAC Installation" as GAC requires Npgsql.
  3. Restart the PC.

It should work now.

like image 184
Priyanka Garg Avatar answered Sep 23 '22 23:09

Priyanka Garg