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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.