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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.