Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
I am experiencing an issue when trying to connect Power BI Online to my Azure PostgreSQL database. The error message I receive is:
Failed to update data source credentials: An error happened while reading data from the provider: 'Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.' Activity ID: ff4337ed-2f6e-4865-9c33-5c843b9568ae Request ID: a6dc0300-c46a-f794-1488-7d735cecfb51 Status code: 400 Time: Tue Sep 17 2024 01:28:57 GMT-0300 Service version: 13.0.24209.56 Client version: 2409.2.20860-train Cluster URI:
The error seems to indicate that a required assembly or dependency is missing in the connection between Power BI Online and Azure PostgreSQL. As this is a cloud service, I do not have control over installing drivers or managing dependencies.
Could you please provide guidance on how to resolve this issue in the Power BI Online environment?
Thank you for your assistance.
Solved! Go to Solution.
Good afternoon everyone! Check your reports because the error is solved. At least in my case where I connect to a base that is located on a web server.
Greetings!!
I'm also having the same problem, but I don't use Azure, but rather Oracle. The data is being updated normally, but when I try to check the status in 'Manage connections and gateways', the message below appears.
New projects published, I can't schedule updates or change existing ones. I noticed on 09/16 when this started happening.
-------------------------------------------------
Status
Offline - Unable to retrieve the status. Check your connection and try again. Contact Microsoft support if the problem persists.
Here are some details about the reason for the "offline" connection status. Contact Microsoft support and include the information below in your ticket
----------------------------------------------
Error Code: DataAccessError
Connection error: Data access error
Cluster URI: https://api.powerbi.com
Session ID: XXXXXXXXXXXXXXXXXXXXXXXXXXX
Request ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
undefined: An error happened while reading data from the provider: 'Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.'
Aqui também estou enfrentando esse mesmo problema. Reparei ontem também.
Alguem ja descobriu alguma solução?
Same issue as above, occured a few days ago for a client. During the same time it worked for me as well (in another tenant) when trying to re-create the issue, the next day it stopped working for me, so I am thinking it could be region/cluster specific.
Status code: 400
Time: Wed Sep 18 2024 11:51:51 GMT+0200 (Central European Summer Time)
Service version: 13.0.24209.56
Client version: 2409.2.20860-train
Cluster URI: (wabi north europe cluster)
Best regards
Hi @zeromero
We have seen on the internal platform that other engineers have reported this issue and submitted it.
The engineers on the product team are now aware and will do their best to resolve the issue. I will update here if there is any progress, so please be patient!
Possible mitigation measures given by PG:
Best Regards,
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Community Support Team _ Ailsa Tao,
The existing PostgreSQL connections do not work (they appear offline) and Power BI Service does not allow to create new PostgreSQL cloud connections (see attached image).
Do you have an ETA to solve the issue?
This is similar to what I'm encountering also. Trying to create a new shared connection fails -
Error Message: "Unable to create connection for the following reason: Unable to connect to the data source. Either the data source is inaccessible, a connection timeout occurred... etc. "
Is there any update on the issue?
Hello,
We are having the same problem.
Best regards,
We’ve encountered the same issue. It’s puzzling because our current schedule completes successfully, and manual refreshes of the online Power BI reports work fine.
However, this problem prevents us from changing any schedule times or days.
I completely agree with @zeromero. This is the main reason we’re using Azure PostgreSQL—to avoid extra setup.
We sincerely hope this gets resolved soon.
Same behavior here. Datasets that were previously configured and working until yesterday are still functioning fine, but any changes or the addition of a new dataset trigger the error.
We are having the same issue while patching our datasets and reached out to the support team. After a long debug session and submitting all the diagnostic logs we finally heard back today that the Power BI product team is working on a fix.
We are experiencing same issue.
Any update on this?
Hi,
We are also experiencing this problem. I am receiving the exact same error message:
Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.'
Is there any update or workaround to resolve this?
Same behaviour suddenly today. What is the ETA to resolve this??
Any update on this?
We are experiencing same issue, until yesterday it worked perfectly...
Hi @zeromero
Please try and check the below things
1) Install latest gateway (if not already installed)
2) Install PostgreSQL driver
3) Create a data source for PostgreSQL in gateway
4) Map data source to Dataset in the dataset settings page
In short, you have to install latest version of NpgSQL and when installing, select the NpgSQL GAC option. The article I linked has a more detailed step-by-step guide.
https://powerbipoint.com/2024/01/22/fix-power-bi-refresh-error-could-not-load-file-or-assembly-or-on...
Best Regards,
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Ailsa Tao,
As I mentioned in my previous message, I am using the Azure PostgreSQL database precisely to avoid the need for an on-premises data gateway. When using the gateway, everything works as expected, but the advantage of Azure is to eliminate the need for this extra setup.
This same issue occurred a few years ago, and at the time, Microsoft identified the problem, provided a 15-day resolution window, and suggested using the gateway temporarily while they worked on a fix.
I have several clients connected to my database, and installing the gateway for each of them is not a viable solution.
The purpose of my message is to find out if others are experiencing the same problem and if Microsoft or the Power BI team is already aware of it. I’ve tried everything I can on my side. I’ve created a new database, tested with another tenant, and the issue persists.
Any insights from the team would be greatly appreciated.
Best regards,
Jose Romero
We use Azure PostgreSQL for us and our customers for this exact reason as well. We had Microsoft run maintenance today which took long enough for 4 refreshes to fail and now can't get automatic refresh back on for a mission critical dashboard.
Responses like use the gateway show a total lack of understanding of the problem.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
37 | |
30 | |
17 | |
16 | |
8 |
User | Count |
---|---|
49 | |
39 | |
32 | |
16 | |
14 |