Thursday 13 November 2014

SharePoint error the context has expired and cannot be used


Solution:
Set the application pool to recycle once in 24 hours
Configure an Application Pool to Recycle at a Scheduled Time 
Steps:
Open IIS Manager
In the Connections pane, expand the server node and click Application Pools
On the Application Pools page, select an application pool, and then click Recycling in the Actions pane.
Select Specific time(s), and in the corresponding box type a time at which you want the application pool to recycle daily.For example, type 11:30 AM or 11:30 PM.
Note: The value that you enter is saved in configuration based on a 24-hour clock.
Click Next, select the events that should be logged when an application pool recycles and then click Finish.