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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
STANHTPS
Frequent Visitor

Scheduled reports refresh is not working after may 2022 updates

After deploying latest updates for PBI report server from june 14, we have a problem to refresh reports (SQL,Oracle source DB) via scheduled jobs on web.

 

SessionID: bae8ae59-f5a7-42e1-957e-21328055bb7b
[0] 0: Could not load file or assembly 'Microsoft.AnalysisServices.Azure.Common, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. Access is denied.

 

Test connection to source DBs is OK. A problem with some kind of local server permissions? Might be a problem of August WIN CU and any .NET dependencies?  

 

LOGS:

DataModelRefresh
2022-08-18 08:47:06.3961|INFO|31|Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Starting Data Refresh.
2022-08-18 08:47:06.3961|INFO|31|Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Starting Retrieving PBIX AsDatabaseInfo.
2022-08-18 08:47:06.4117|INFO|17|Finding model for refresh sessionId=922016a5-26b0-4eca-be15-7bd02280af07, catalogId=b37a7896-4132-429f-82c9-5af11ce88dc5, lastCatalogItemUpdate =18.08.2021 19:06:22, lastModelUpdateinCatalog=25.01.2022 8:47:08, resolved to database name=b37a7896-4132-429f-82c9-5af11ce88dc5_1308213423, wasInMemory=False
2022-08-18 08:47:06.4274|TRACE|5|Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Finished Retrieving PBIX AsDatabaseInfo.
2022-08-18 08:47:06.4274|INFO|31|Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Starting Verifying all the data sources are embedded.
2022-08-18 08:47:06.4274|TRACE|31|Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Finished Verifying all the data sources are embedded.
2022-08-18 08:47:06.4274|INFO|31|Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Starting Verifying connection strings are valid.
2022-08-18 08:47:06.4274|TRACE|31|Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Finished Verifying connection strings are valid.
2022-08-18 08:47:06.4274|INFO|31|Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Starting Streaming model to Analysis Server.
2022-08-18 08:47:06.4430|TRACE|15|New clientSessionId generated: clientSessionId=922016a5-26b0-4eca-be15-7bd02280af07
2022-08-18 08:47:06.6305|INFO|15|LoadDatabaseAsync: Successfully EnsureDbLoaded clientSessionId=922016a5-26b0-4eca-be15-7bd02280af07, databaseName=b37a7896-4132-429f-82c9-5af11ce88dc5_1308213423, modelId=1832001986, alreadyLoaded=False
2022-08-18 08:47:06.7868|TRACE|31|Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Finished Streaming model to Analysis Server.
2022-08-18 08:47:06.7868|INFO|31|Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Starting Refreshing the model.
2022-08-18 08:47:06.8961|ERROR|31|Error Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Error Failed to refresh the model, Exception System.IO.FileLoadException: Could not load file or assembly 'Microsoft.AnalysisServices.Azure.Common, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. Access is denied.
File name: 'Microsoft.AnalysisServices.Azure.Common, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'
at Microsoft.PowerBI.ReportServer.AsServer.AnalysisServicesServer.GetDataSourcesCollection(String databaseName, TOMWrapper asWrapper)
at Microsoft.PowerBI.ReportServer.AsServer.AnalysisServicesServer.GetDataSourcesInternal(String databaseName, TOMWrapper asWrapper)
at Microsoft.PowerBI.ReportServer.AsServer.AnalysisServicesServer.SetModelParametersInternal(TOMWrapper asWrapper, String databaseName, IEnumerable`1 parameters)
at Microsoft.PowerBI.ReportServer.AsServer.AnalysisServicesServer.RefreshDatabase(String databaseName, IEnumerable`1 dataSources, IEnumerable`1 parameters, String clientSessionId)
at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.AnalysisServicesDataRefresh.RefreshDatabase(AsDatabaseInfo asDatabaseInfo)
at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.DataRefreshScope.<>c__DisplayClass34_0.<ExecuteActionWithLogging>b__0()
at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.DataRefreshScope.<ExecuteFuncWithLogging>d__33`1.MoveNext()

 

2nd log information :

 

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.AnalysisServices.Azure.Common, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91
(Fully-specified)
LOG: Appbase = file:///C:/Program Files/Microsoft Power BI Report Server/PBIRS/PowerBI/
LOG: Initial PrivatePath = NULL
Calling assembly : Microsoft.PowerBI.ReportServer.AsServer, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Program Files\Microsoft Power BI Report Server\PBIRS\PowerBI\RSPowerBI.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.AnalysisServices.Azure.Common, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Power BI Report Server/PBIRS/PowerBI/Microsoft.AnalysisServices.Azure.Common.DLL.
ERR: Failed to complete setup of assembly (hr = 0x80070005). Probing terminated.

2022-08-18 08:47:06.8961|TRACE|31|Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Finished Refreshing the model.
2022-08-18 08:47:06.8961|ERROR|31|Error Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Error Failed Data Refresh, Exception System.IO.FileLoadException: Could not load file or assembly 'Microsoft.AnalysisServices.Azure.Common, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. Access is denied.
File name: 'Microsoft.AnalysisServices.Azure.Common, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'
at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.DataRefreshScope.ExecuteActionWithLogging(Action methodToExecute, String description, String localizedDescription, String messageInFailure, RefreshInfo refreshInfo, DataAccessors dataAccessors, ReportEventType operation, Boolean isDataRetrieval, Boolean showInExecutionLog, Boolean sendToTelemetry)
at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.AnalysisServicesDataRefresh.RefreshData(RefreshInfo refreshInfo)
at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.DataRefreshScope.<>c__DisplayClass34_0.<ExecuteActionWithLogging>b__0()
at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.DataRefreshScope.<ExecuteFuncWithLogging>d__33`1.MoveNext()

3 REPLIES 3
STANHTPS
Frequent Visitor

After deploying latest updates for PBI report server from june 14, we have a problem to refresh reports (SQL,Oracle source DB) via scheduled jobs on web.

 

SessionID: bae8ae59-f5a7-42e1-957e-21328055bb7b
[0] 0: Could not load file or assembly 'Microsoft.AnalysisServices.Azure.Common, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. Access is denied.

 

Test connection to source DBs is OK. A problem with some kind of local server permissions? Might be a problem of August WIN CU and any .NET dependencies?  

 

LOGS:

DataModelRefresh
2022-08-18 08:47:06.3961|INFO|31|Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Starting Data Refresh.
2022-08-18 08:47:06.3961|INFO|31|Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Starting Retrieving PBIX AsDatabaseInfo.
2022-08-18 08:47:06.4117|INFO|17|Finding model for refresh sessionId=922016a5-26b0-4eca-be15-7bd02280af07, catalogId=b37a7896-4132-429f-82c9-5af11ce88dc5, lastCatalogItemUpdate =18.08.2021 19:06:22, lastModelUpdateinCatalog=25.01.2022 8:47:08, resolved to database name=b37a7896-4132-429f-82c9-5af11ce88dc5_1308213423, wasInMemory=False
2022-08-18 08:47:06.4274|TRACE|5|Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Finished Retrieving PBIX AsDatabaseInfo.
2022-08-18 08:47:06.4274|INFO|31|Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Starting Verifying all the data sources are embedded.
2022-08-18 08:47:06.4274|TRACE|31|Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Finished Verifying all the data sources are embedded.
2022-08-18 08:47:06.4274|INFO|31|Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Starting Verifying connection strings are valid.
2022-08-18 08:47:06.4274|TRACE|31|Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Finished Verifying connection strings are valid.
2022-08-18 08:47:06.4274|INFO|31|Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Starting Streaming model to Analysis Server.
2022-08-18 08:47:06.4430|TRACE|15|New clientSessionId generated: clientSessionId=922016a5-26b0-4eca-be15-7bd02280af07
2022-08-18 08:47:06.6305|INFO|15|LoadDatabaseAsync: Successfully EnsureDbLoaded clientSessionId=922016a5-26b0-4eca-be15-7bd02280af07, databaseName=b37a7896-4132-429f-82c9-5af11ce88dc5_1308213423, modelId=1832001986, alreadyLoaded=False
2022-08-18 08:47:06.7868|TRACE|31|Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Finished Streaming model to Analysis Server.
2022-08-18 08:47:06.7868|INFO|31|Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Starting Refreshing the model.
2022-08-18 08:47:06.8961|ERROR|31|Error Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Error Failed to refresh the model, Exception System.IO.FileLoadException: Could not load file or assembly 'Microsoft.AnalysisServices.Azure.Common, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. Access is denied.
File name: 'Microsoft.AnalysisServices.Azure.Common, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'
at Microsoft.PowerBI.ReportServer.AsServer.AnalysisServicesServer.GetDataSourcesCollection(String databaseName, TOMWrapper asWrapper)
at Microsoft.PowerBI.ReportServer.AsServer.AnalysisServicesServer.GetDataSourcesInternal(String databaseName, TOMWrapper asWrapper)
at Microsoft.PowerBI.ReportServer.AsServer.AnalysisServicesServer.SetModelParametersInternal(TOMWrapper asWrapper, String databaseName, IEnumerable`1 parameters)
at Microsoft.PowerBI.ReportServer.AsServer.AnalysisServicesServer.RefreshDatabase(String databaseName, IEnumerable`1 dataSources, IEnumerable`1 parameters, String clientSessionId)
at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.AnalysisServicesDataRefresh.RefreshDatabase(AsDatabaseInfo asDatabaseInfo)
at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.DataRefreshScope.<>c__DisplayClass34_0.<ExecuteActionWithLogging>b__0()
at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.DataRefreshScope.<ExecuteFuncWithLogging>d__33`1.MoveNext()

 

2nd log information :

 

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.AnalysisServices.Azure.Common, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91
(Fully-specified)
LOG: Appbase = file:///C:/Program Files/Microsoft Power BI Report Server/PBIRS/PowerBI/
LOG: Initial PrivatePath = NULL
Calling assembly : Microsoft.PowerBI.ReportServer.AsServer, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Program Files\Microsoft Power BI Report Server\PBIRS\PowerBI\RSPowerBI.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.AnalysisServices.Azure.Common, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Power BI Report Server/PBIRS/PowerBI/Microsoft.AnalysisServices.Azure.Common.DLL.
ERR: Failed to complete setup of assembly (hr = 0x80070005). Probing terminated.

2022-08-18 08:47:06.8961|TRACE|31|Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Finished Refreshing the model.
2022-08-18 08:47:06.8961|ERROR|31|Error Processing Data Model Refresh: SessionId: 922016a5-26b0-4eca-be15-7bd02280af07, Status: Error Failed Data Refresh, Exception System.IO.FileLoadException: Could not load file or assembly 'Microsoft.AnalysisServices.Azure.Common, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. Access is denied.
File name: 'Microsoft.AnalysisServices.Azure.Common, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'
at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.DataRefreshScope.ExecuteActionWithLogging(Action methodToExecute, String description, String localizedDescription, String messageInFailure, RefreshInfo refreshInfo, DataAccessors dataAccessors, ReportEventType operation, Boolean isDataRetrieval, Boolean showInExecutionLog, Boolean sendToTelemetry)
at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.AnalysisServicesDataRefresh.RefreshData(RefreshInfo refreshInfo)
at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.DataRefreshScope.<>c__DisplayClass34_0.<ExecuteActionWithLogging>b__0()
at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.DataRefreshScope.<ExecuteFuncWithLogging>d__33`1.MoveNext()

v-henryk-mstf
Community Support
Community Support

Hi @STANHTPS ,

 

For such problems, try the following scheme.
1: Register the assembly: "C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\x64\gacutil.exe" /i "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\PrivateAssemblies\Microsoft.AnalysisServices.AdomdClientUI.dll"
2: (Optional) Verify registration:

"C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\x64\gacutil.exe" /l Microsoft.AnalysisServices.AdomdClientUI
3: Configure version redirect in machine.config
4: Save the file.

 

For more details, you can refer to below similiar solution.

ssis - Error: Could not load file or assembly Microsoft.AnalysisServices.AdomdClientUI - Stack Overf...

 

Or you can update to lastest version and try again.


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


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

Hi Henry,

We troubleshooted this problem with MS pro team and after restart of service from config. manager, the data began to refresh at all reports. Really weird behaviour, because, it was like third or fourth restart of service since we found out the problem, because there a few topics in this community with similiar problem and similiar solution, dont know, probably guys from MS have better karma than me :-). But thank you for your help.

 

Best Regards,

Stand

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors