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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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!

v-yuezhe-msft
Employee
Employee

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

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors