Server Error in '/' Application.

No content exists with the specified ID.

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: No content exists with the specified ID.

Source Error:


Line 88:         if ( fromDatabase )
Line 89:         {
Line 90:             ControlContent = CmsFile.GetDetails( GetBasicContent() );
Line 91:         }
Line 92: 

Source File: d:\_WEBSITES\MidstateCMS\Controls\EditableImageArea.ascx.cs    Line: 90

Stack Trace:


[InvalidOperationException: No content exists with the specified ID.]
   SomethingDigital.CMS.Content.GetContent(Guid id) +104
   SomethingDigital.CMS.Controls.BaseContentUserControl.GetBasicContent() +142
   EditableImageArea.PrepareControl(Boolean fromDatabase) in d:\_WEBSITES\MidstateCMS\Controls\EditableImageArea.ascx.cs:90
   SomethingDigital.CMS.Controls.BaseContentUserControl.Page_Load(Object sender, EventArgs e) +40
   EditableImageArea.Page_Load(Object sender, EventArgs e) in d:\_WEBSITES\MidstateCMS\Controls\EditableImageArea.ascx.cs:68
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061


Version Information: Microsoft .NET Framework Version:2.0.50727.26; ASP.NET Version:2.0.50727.26