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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Data source(postgres) connectivity with powerbi gateway

We are trying to connect with postgres sql which is hosted at cantos machine on premise server. On windows machine we have installed the power bi gateway and where database is accessable. This error is been coming from app.powerbi.com. Please help us. 

 

 
Underlying error code: -2147467259
Underlying error message: Please install Npgsql version 4.0.10.0 or earlier.
DM_ErrorDetailNameCode_UnderlyingHResult: -2147467259
Microsoft.Data.Mashup.ValueError.DataSourceKind: PostgreSQL
14 REPLIES 14
Nitin_1703
Regular Visitor

i am also facing same issue, whereas i am using single gateway for SQL & PG, SQL Reports are working fine, but PG Connection is not working with same error.

There is a bug in the gateway installers. It is missing the npgsql ADO drivers. Copy them over from the Desktop install.

I have already installed npsql3.2.6 but it's showing same error 

That is unrelated and unnecessary.  You need to copy the npgsql files from the Desktop install to the gateway install.

 

Alternatively, use this https://github.com/npgsql/npgsql/releases/tag/v4.0.10

Yes Now I am Connected but My Data tables are not Showing

Did you uninstall 3.2.6?

No I have just updated Version 4.0.10

you may want to clean that up to make sure there are no residuals of the older (or newer!) versions.

Yes You are right, I have just updated my desktop version now its showing Data.

Anonymous
Not applicable

The problem is been resolved by using ODBC connectivity and its not related to the version changes. Thanks for your support.

Anonymous
Not applicable

Hi @Anonymous ,

 

Based on your description, it may be that the version you are currently using cannot match Power BI Service. You can try to install the previous version and then connect to the data source.

v-yuaj-msft_0-1612152912127.png

 

Hope that's what you were looking for.

Best Regards,

Yuna

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

Its not the version the causes the problem. Its something else that is creating the issue.

lbendlin
Super User
Super User

Which Npgsql version is installed on the gateway?

Anonymous
Not applicable

The same version we are using. 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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