Home.NETSharePoint Excel Services InvalidOrTimedOutSession – The operation you performed cannot be completed at this time because the session is no longer available on the server.

SharePoint Excel Services InvalidOrTimedOutSession – The operation you performed cannot be completed at this time because the session is no longer available on the server.

In this post, you’ll learn about the error message “InvalidOrTimedOutSession – The operation you performed cannot be completed at this time because the session is no longer available on the server. You can reload the workbook and create a new session, but any changes you have made have been lost.” 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

InvalidOrTimedOutSession – The operation you performed cannot be completed at this time because the session is no longer available on the server. You can reload the workbook and create a new session, but any changes you have made have been lost.

Reason for the Error

The call sessionId value is either invalid or has since timed out.

Solution

Reload the workbook in a new session.

Share:

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this post, you’ll learn about the error message “WorkbookNotSupported – The file you selected cannot be opened because it...
  • .NET
  • December 17, 2022
In this post, you’ll learn about the error message “SpecifiedRangeNotFound – The requested range does not exist in the sheet.”...
  • .NET
  • December 17, 2022
In this post, you’ll learn about the error message “SheetRangeMismatch – The sheet provided as the sheet argument is not...
  • .NET
  • December 17, 2022