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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
akj2784
Post Partisan
Post Partisan

Not able to connect Postgres SQL database from Power BI

Hi All,

I am trying to connect Postgres db from Power BI. But getting the following error.

 

Details: "An error happened while reading data from the provider: 'Could not load file or assembly 'System.Memory, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.'" I have installed the ngpsql data provided but still not luck. Also restarted the laptop.

error9.JPG

 

 

Regards,

Akash

1 ACCEPTED SOLUTION

Hi,

 

Actually the latest version of npgsql has some bug which will be fixed in the next release. When I installed older version (4.0.3) it worked fine.

 

Regards,

Akash

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

Hi @akj2784 ,

It sounds like your software has missed some libraries, please try to fix your software environment first.

Get Power BI Desktop

Connecting Power BI To PostgreSQL

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hi,

 

Actually the latest version of npgsql has some bug which will be fixed in the next release. When I installed older version (4.0.3) it worked fine.

 

Regards,

Akash

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.