In this post, you’ll learn about the error message “IRMedWorkbook – The requested workbook is IRM protected. Excel Services cannot load IRM protected workbooks.” that you usually receive when working eith the Excel Services in SharePoint.
When working with SharePoint Excel Services, there are error codes that are generated in the SOAP exception when the errors occur in the Excel Services. You can use the SubCode property that is available in the SoapException class to identity these error codes and troubleshoot the issue.
Error Message
IRMedWorkbook – The requested workbook is IRM protected. Excel Services cannot load IRM protected workbooks.
Reason for the Error
A call to the OpenWorkbook method failed because the workbook is protected by Information Rights Management (IRM).
Solution
Only pass in workbooks that are not IRM protected.