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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.