Server Error in '/' Application.

No CSContext exists in the Current Application. AutoCreate fails since HttpContext.Current is not accessible.

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.Exception: No CSContext exists in the Current Application. AutoCreate fails since HttpContext.Current is not accessible.

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:


[Exception: No CSContext exists in the Current Application. AutoCreate fails since HttpContext.Current is not accessible.]
   CommunityServer.Components.CSContext.get_Current() +358
   CommunityServer.Data.<GetPostAsync>d__12.MoveNext() +1305
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
   System.Runtime.CompilerServices.ConfiguredTaskAwaiter.GetResult() +32
   CommunityServer.Discussions.Components.Posts.GetPost(Int32 postID, Int32 userID, Boolean trackViews, Boolean markRead, Boolean includeCategories) +634
   CommunityServer.Discussions.Components.Posts.GetPost(Int32 postID, Int32 userID, Boolean trackViews, Boolean markRead) +79
   CommunityServer.Discussions.Components.Posts.GetPost(Int32 postID, Int32 userID) +53
   CommunityServer.Discussions.Controls.CSForumThemePage.get_CurrentParentPost() +528
   CommunityServer.Discussions.Controls.CSForumThemePage.get_CurrentSection() +439
   CommunityServer.Discussions.Controls.CSForumThemePage.get_CurrentForum() +55
   CommunityServer.Discussions.Controls.CSForumThemePage.OnInit(EventArgs e) +140
   System.Web.UI.Control.InitRecursive(Control namingContainer) +173
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +491


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