Server Error in '/' Application.

Operation is not valid due to the current state of the object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: Operation is not valid due to the current state of the object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[InvalidOperationException: Operation is not valid due to the current state of the object.]
   Microsoft.SharePoint.Publishing.CbqQueryCache.FetchCbqQueryInfoFromPage(Boolean userKnownCanSeeDraft) +740
   Microsoft.SharePoint.Publishing.CbqQueryCache.FetchCbqQueryInfoFromCache() +164
   Microsoft.SharePoint.Publishing.CbqQueryCache..ctor(Cache feed, String web, Guid page, Guid webpart, Int32 cacheTime, String query) +125
   Seven49.SharePoint.Web.RSSRedirect.RedirectRSSPath() +2647
   Seven49.SharePoint.Web.RSSRedirect.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +129
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3712


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0