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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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