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.Components.ForumUrlHandler.ProcessRequest(HttpContext context) +673
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +542
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +93


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