Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

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

  • Anonymous's avatar
    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's avatar
      Anonymous
      Not applicable

      The same version we are using. 

  • Anonymous's avatar
    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.

     

    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's avatar
      Anonymous
      Not applicable

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

  • Nitin_1703's avatar
    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.

    • lbendlin's avatar
      lbendlin
      Super User

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

      • Nitin_1703's avatar
        Nitin_1703
        Regular Visitor

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