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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
TJHoolahan01
Regular Visitor

PostgreSQL database connection not working in - Please install Npgsql version 4.0.10.0 or earlier

Hi,

 

We have a PostgreSQL database, which is hosted behind a firewall, and I am trying to connect to it through via an on premise data gateway, installed on my computer, to PowerBI service (connection type PostgreSQL). However, every time I try to do it, I see the following error:

TJHoolahan01_0-1684676161442.png

I have installed Npgsql version 4.0.10.0 with GAC as others have suggested (using https://github.com/npgsql/npgsql/releases/tag/v4.0.10), then restarted my computer and the gateway itself, but it still isn't working.

 

Can someone please help and explain what I am doing wrong, as it is incredibly frustrating that it isn't working.

 

Thanks,

Tim

1 REPLY 1
GilbertQ
Super User
Super User

Hi @TJHoolahan01 

 

Can you try and connect to your database from the Gateway server?

I would log into the Gateway server and try and connect from there. Typically there is something to be changed or an access update to the firewall for the gateway server.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors