Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
StandFC
New Member

Postgres error with Power BI Desktop

I have a PostGRES DB I'm trying to connect to using ODBC as it has a port and SSL requirement that seem to mean the postGRES conenctor will not work.

 

Error mesasge here:

 

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 have the PostgreSQL35W driver installed (according to my ODBC) byt Power BI keeps erroring wehn I try to use it saying the Driver is not installed.

 

NB: I am using Windows 10x64 as my client for the Power BI desktop install.

 

I'm trying connections stringsd as found at

 

https://connectionstrings.com/postgresql-odbc-driver-psqlodbc/

 

but keep gettgin told I don't have the postgreSQL Unicode driver installed.

1 REPLY 1
BlancaHernandez
New Member

Hi, 

I followed exactly this tutorial 

 

http://outofmemory.azurewebsites.net/configure-npgsql-on-windows/

 

and I could make it work. Pay attention to the exact version of Npgsql you write in the DbProviderFactories tag. Check your GAC content and pick the exact version out of it.

 

Hope it helps!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.