Forum Discussion
Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe while refresh in service
Yesterday all working fine, but today refresh failed in all our reports in PowerBI service (we haven't changed reports since yesterday).
Same error in all reports:
An error happened while reading data from the provider: 'Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'
Reports contains PostgreSQL and web contents datasources.
What can we do to fix this?
41 Replies
- periyasinghNew Member
Hi,
Same issue is coming for me too. The on-demand and scheduled data refresh in power bi server was working fine beforehand, now getting issue since monday. Still no issue in loading and refreshing data from the same source in Power BI desktop.
I am using postgresql azure PaaS database. The issue i am getting is :
An error happened while reading data from the provider: 'Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=x.x.x.x, Culture=neutral, PublicKeyToken=xxxxxxxxxx' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'
- ysanabriaFrequent Visitor
I'm having the same issue, in power BI desktop work fine but in PBI Web not synchronize
An error happened while reading data from the provider: '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 located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'
- ysanabriaFrequent Visitor
Me too and still waiting for Microsoft support request 😥
- shubhamamilkantHelper II
Same, I am still having this issue.
any solutions?
- daneriRegular Visitor
I'm in the same situation.
Datasource updates once a week and have not been changed in some time -> Today it failes with the same error as OP.
Edit: Also using PostgreSql Azure Paas
- AWILLIMNew Member
I have the same issue. All reports are affected. Yesterday evening worked all fine.
Reports contains PostgreSQL
- AnonymousNot applicable
I am having the same issue. Using PostgreSQL data.
- AnonymousNot applicable
I am having the same issue using direct query to an Azure for PostgreSQL db. No users can access the report via PowerBI Service. The connection works fine, and the data refreshes correctly for me as the admin on desktop.
I am unable to recconect the gateway as Anonymous suggested:
- daneriRegular Visitor
Same setup as you:
Azure for PostgreSQL, no gataway and the data using Direct Query is not working online.
Data using import mode is working.
Sent in a Support Ticket, where they escalated the issue to the Product Team. Will update when I get more info.
- AnonymousNot applicable
daneri wrote:Data using import mode is working.
I'm afraid, for me import mode is working neither ...
daneri wrote:
Sent in a Support Ticket, where they escalated the issue to the Product Team. Will update when I get more info.
Does it help if every affected person files in a separate support ticket to raise the priority, or would this only be spam to Microsoft?
- connecRegular Visitor
I have the exact same issue with the exaxt same setup...
- AnonymousNot applicable
I have been experiencing the same problem for a few days. Hosting a Postgresql as a Database-as-a-service on Azure. Not using any gateway.
- ALWIFrequent Visitor
I got a call from Microsoft the issue is on the awareness list: https://powerbi.microsoft.com/en-us/support/