Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Postgresql shows refreshing error with Power Bi

HI 

I have Postgresql connection with Power Bi and it gives me below error while refreshing desktop version

 

"OLE DB or ODBC error: [DataSource.Error] PostgreSQL: 53300: too many connections for role" and "OLE DB or ODBC error: Exception from HRESULT: 0x80040E4E. An unexpected exception occurred." 

 

I do have 7 queries in Power Bi with connects to DB(Postgresql) and fetch value.

 

when i go to Data and refresh each query one by one manually it works but when i click on refresh in report it gives me above error. i do not have any other connection open except this power bi desktop file

 

can anyone help, big thanks in advance

 

 

 

  • Hi Anonymous 

     

    It appears that the PostgreSQL does not like so many connections.

     

    You can change how many connections run at one time by going into the settings in PBI Desktop and changing it as shown below to 1 for Simultaneous connections

     

     

6 Replies

  • Hi Anonymous 

     

    It appears that the PostgreSQL does not like so many connections.

     

    You can change how many connections run at one time by going into the settings in PBI Desktop and changing it as shown below to 1 for Simultaneous connections

     

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      HI GilbertQ

      Thanks for replying. so i have to change 8 to 1 ?

      • GilbertQ's avatar
        GilbertQ
        Super User

        Yes if you could change that and see if it then works?