In this post, you’ll learn about the error message “OperationCanceled – The operation has been canceled.” 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.
OperationCanceled – The operation has been canceled.
Reason for the Error
The operation that is currently taking place is canceled because the user calls the CancelRequest method.
Call the CancelRequest method only if you want to cancel the current operation.