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
IgorAtRydlab
Regular Visitor

a problem connecting wiht postgresql database

When creating a connection to a PostgreSQL DB always receive the following:

 

"Подробности: "При чтении данных от поставщика произошла ошибка: 'Не удалось загрузить файл или сборку "System.Runtime.CompilerServices.Unsafe, Version=4.0.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" либо одну из их зависимостей. Не удается найти указанный файл.'"

 

which means that it cannot find "System.Runtime.CompilerServices.Unsafe, Version=4.0.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

 

it happens after inserting data on connection, when all connection data is provided and it tries to get data from DB, as I see it.

 

What should I do to fix this?

 

Скриншот 2018-06-04 12.13.13.png

 

1 ACCEPTED SOLUTION

it is IgorAtRydlab ...

 

moved forward from that problem by removing latest npgsql 4.* version and installing previous 3.*.

View solution in original post

5 REPLIES 5
v-shex-msft
Community Support
Community Support

Hi @IgorAtRydlab,

 

I think this issue more related to your environment and libraries, please check below links or try to use scan command to fix environment.

 

Sfc Command (System File Checker)

Microsoft .NET Framework Repair Tool

 

Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Same issue, but on a fresh installation, everything looks good except for connecting to postgres on powerbi

I have this same issue.

 

Clean install of Windows 10 Pro, Power Bi Desktop (May 18), Npgsql 4.0.0.

 

I'm attempting to connect to Panoply.io (Postgres).

 

Ran the .NET repair tool and SFC, no apparent issues.

it is IgorAtRydlab ...

 

moved forward from that problem by removing latest npgsql 4.* version and installing previous 3.*.

Thanks,

 

Also downgraded to Npgsql (3.2.7) and connected successfully.

 

Ian

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.