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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
gcanelon
Frequent Visitor

Connecting to PostGreSQL on the cloud

Hi, I am trying to connect to a PostGreSQL database that is in the cloud hosted by the Clinical Trials Collaboration Initiative. 

 

I am trying to conduct research on clinical trials and this service provides data updated daily for researchers. 

 

The credentials to use are (this is public information)

 

Hostname: aact-prod.cr4nrslb1lw7.us-east-1.rds.amazonaws.com

Port: 5432

Database name: aact

User name: aact

Password: aact

 

But then I get the following error:

 

Details: "An error happened while reading data from the provider: 'Could not load file or assembly 'Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The system cannot find the file specified.'"

 

I am using PowerBi Desktop installed in Windows 10.

 

Any idea what might be going on?

 

Thanks. 

3 REPLIES 3
hannahgrobinson
Frequent Visitor

@juanpablo @gcanelon were you able to resolve this? running into the same issue now myself. thanks!

Anonymous
Not applicable

Hi @gcanelon,

Based on the above error message, the issue is related to npgsql installation. Please Download and unzip the most recent Ngpsql data provider for PostgreSQL, then use GACUtil.exe to add Mono.Security.dll to the global cache.

There is a similar article for your reference.
https://support.office.com/en-us/article/Connect-to-a-PostgreSQL-database-Power-Query-bf941e52-066f-...


Thanks,
Lydia Zhang

Hi. We were able to get this working directly (not via ODBC), but I am left wandering: I want to publish this to the web and have it update periodically, with a database on the cloud. 

 

Do I need a gateway? It seems odd to need a machine inside my network to connect a thing in the cloud (BI) with another thing in the cloud (postgres).

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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 Kudoed Authors