Server Error in '/' Application.

Site.Modules not loaded!

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: Site.Modules not loaded!

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: Site.Modules not loaded!]
   WebCore.Components.Site.get_Modules() +77
   WebCore.Modules.RemoteModule.RemoteModule.LoadRemoteModule(IAppContext c) +106
   WebCore.Modules.RemoteModule.RemoteModule.ContentViewInitialize(IAppContext c, String pagemoduleid) +32
   WebCore.Web.UI.Controls.Content.OnInit(EventArgs e) +1425
   System.Web.UI.Control.InitRecursive(Control namingContainer) +454
   System.Web.UI.Control.InitRecursive(Control namingContainer) +219
   System.Web.UI.Control.InitRecursive(Control namingContainer) +219
   System.Web.UI.Control.InitRecursive(Control namingContainer) +219
   System.Web.UI.<InitRecursiveAsync>d__225.MoveNext() +336
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
   System.Web.Util.WithinCancellableCallbackTaskAwaiter.GetResult() +32
   System.Web.UI.<ProcessRequestMainAsync>d__523.MoveNext() +3073


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