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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
pmscorca
Post Prodigy
Post Prodigy

Issue about connecting to a on-premise PostgreSQL source to implement a copy activity

Hi,

I need to copy data from a PostgreSQL source using a data pipeline.

In order to implement it, on my machine I've installed PostgreSQL vers. 17.2 and created a test database.

Moreover, I've installed and configured an on-premise data gateway.

Then, I've created a data pipeline and selected a copy activity: for the data source I've specified PostgreSQL database,

indicating the server name and the database name, the basic authentication, the user name and the related password,

but it isn't possible to create the connection successfully for an exception that says to install Npgsql vers. 4.0.16 or earlier.

Now, how could I solve a such issue, please? Thanks

1 ACCEPTED SOLUTION
NandanHegde
Super User
Super User

Similar threads:

https://community.fabric.microsoft.com/t5/Service/An-exception-occurred-Please-install-Npgsql-versio...

https://community.fabric.microsoft.com/t5/Service/Gateway-error-connecting-to-PostgreSQL/m-p/963650

 

https://stackoverflow.com/questions/34020719/installing-ngpsql-to-use-postgresql-in-powerbi

 

 




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

View solution in original post

3 REPLIES 3
NandanHegde
Super User
Super User

Similar threads:

https://community.fabric.microsoft.com/t5/Service/An-exception-occurred-Please-install-Npgsql-versio...

https://community.fabric.microsoft.com/t5/Service/Gateway-error-connecting-to-PostgreSQL/m-p/963650

 

https://stackoverflow.com/questions/34020719/installing-ngpsql-to-use-postgresql-in-powerbi

 

 




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

Hi, thanks for your reply.

I've solved installing npgsql vers. 4.0.16 in the GAC (Global Assembly Cache) and then creating a gateway.

The similar threads are related to Power BI, not Fabric data pipeline.

Thanks

The concept of onpremises dara gateway remains the same across powerbi or data pipelines.  Same gateway is leveraged by both




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

Helpful resources

Announcements
Fabric July 2025 Monthly Update Carousel

Fabric Monthly Update - July 2025

Check out the July 2025 Fabric update to learn about new features.

July 2025 community update carousel

Fabric Community Update - July 2025

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

Top Solution Authors