Server Error in '/' Application.

Sequence contains no elements

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: Sequence contains no elements

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: Sequence contains no elements]
   System.Linq.Enumerable.Single(IEnumerable`1 source) +316
   Agora.Inscription.View.GetContent() +1435
   Agora.Inscription.ClientDefaultControl.Page_Init(Object sender, EventArgs e) +4179
   System.Web.UI.Control.OnInit(EventArgs e) +79
   System.Web.UI.UserControl.OnInit(EventArgs e) +108
   System.Web.UI.Control.InitRecursive(Control namingContainer) +390
   System.Web.UI.Control.AddedControl(Control control, Int32 index) +204
   System.Web.UI.ControlCollection.Add(Control child) +157
   Agora.Inscription.PL._Default.BindUserControl() +241
   Agora.Inscription.PL._Default.Page_Init(Object sender, EventArgs e) +214
   System.Web.UI.Control.OnInit(EventArgs e) +79
   System.Web.UI.Page.OnInit(EventArgs e) +12
   System.Web.UI.<InitRecursiveAsync>d__225.MoveNext() +552
   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +102
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +64
   System.Web.Util.WithinCancellableCallbackTaskAwaiter.GetResult() +30
   System.Web.UI.<ProcessRequestMainAsync>d__523.MoveNext() +2552


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