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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

An exception occurred: An error happened while reading data from the provider

I'm getting the following error when attempting to set up a Dataflow to connect to a Postgresql database.  We have the correct version of npgsql installed.

 

An exception occurred: An error happened while reading data from the provider: 'Exception has been thrown by the target of an invocation.'

3 REPLIES 3
justa20fan
New Member

The issue was FIPS being enabled on the PBI Gateway server.  The NPGSQL application will not work with FIPS enabled.  In our case I moved the gateway server to a different GPO that has FIPS disabled. 

collinq
Super User
Super User

Hi @Anonymous ,

 

If you are using a Dataflow and you are getting that error I would turn in a ticket to Microsoft to confirm that on their side they have the right version of npgsql installed since I believe that it is their install and not yours that is used in a Dataflow. Please let us know the result.




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




Anonymous
Not applicable

Hi @collinq ,

 

Thanks for the response. The dataflow executes trough the gateway and not from the Microsoft side.  The version of npgsql is the correct version.  We have a ticket opened with MS, so hopefully we can get it resolved at some point.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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