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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
LeaRupnik
Helper III
Helper III

Power BI - PostgresSQL connection

Hello 

a have a one question. i have a problem with connect power bi with postgresSQL. 

ERROR : Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified    

 

I have a version of:

       -  npgsql - 4.1.1 ,

       -  Power Bi -  2.74.5619.862 64-bit (10.2019)    

 

Tnx Lea

1 REPLY 1
dax
Community Support
Community Support

Hi LeaRupnik,

This might be related to npgsql version, you could try to use previous version which might work. You could refer to connection to power bi (there are many suggestions for this similar problem) for details.

Best Regards,
Zoe Zhi

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

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors