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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
Anonymous
Not applicable

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

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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