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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
PBI_user27
Frequent Visitor

Scheduled refresh - Error Processing Data Model Refresh

Need some opinion on the error encountered as I was unable to resolve this.

Currently version of report server: May 2022. Scheduled refresh was working fine until recently with this error.

 

2022-08-17 06:08:38.6058|ERROR|87|Error Processing Data Model Refresh: SessionId: 02a0c685-4214-4081-8791-60de307e818e, Status: Error Failed Data Refresh, Exception Microsoft.AnalysisServices.OperationException: Unexpected number of disk files associated with database object. Possible cause for that is missing or corrupt cryptokey.bin or detach.log file.

 

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()

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @PBI_user27 ,

 

For such issues, if the backup file is encrypted, you must first provide the password specified during the backup before you can use the file to restore the Analysis Services database. If the encryption key file is lost, you will never be able to decrypt the backup file. You cannot decrypt it using another generated CryptoKey.bin file (otherwise this would be a big security issue).
For more information, see the following documentation.

Backup and Restore of Analysis Services Databases | Microsoft Docs

 

Alternatively, try upgrading to a new version or reinstalling to ensure that there is enough space on the PBI RS data drive.
Also try restarting the PBIRS service and checking that the log files reside in the PBIRS folder for more details.


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.

View solution in original post

2 REPLIES 2
rakeshmistry212
New Member

In On Premiises Power BI Report server , Refreshng Status Continue showing,

Kinldy Help, FInd the attached ScreenshotRefreshng Status Continue.jpg

v-henryk-mstf
Community Support
Community Support

Hi @PBI_user27 ,

 

For such issues, if the backup file is encrypted, you must first provide the password specified during the backup before you can use the file to restore the Analysis Services database. If the encryption key file is lost, you will never be able to decrypt the backup file. You cannot decrypt it using another generated CryptoKey.bin file (otherwise this would be a big security issue).
For more information, see the following documentation.

Backup and Restore of Analysis Services Databases | Microsoft Docs

 

Alternatively, try upgrading to a new version or reinstalling to ensure that there is enough space on the PBI RS data drive.
Also try restarting the PBIRS service and checking that the log files reside in the PBIRS folder for more details.


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.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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