Server Error in '/osh' Application.

This operation requires the context of a Posting. The request must have a valid Posting Url or QueryString so that the CmsHttpContext.Posting will not be null.

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: Microsoft.ContentManagement.WebControls.WebAuthorException: This operation requires the context of a Posting. The request must have a valid Posting Url or QueryString so that the CmsHttpContext.Posting will not be null.

Source Error:


Line 55: 			//
Line 56: 			InitializeComponent();
Line 57: 			base.OnInit(e);
Line 58: 		}
Line 59: 		

Source File: E:\Projects\Terrace\Osh\Web\ProductSafety\ProductSafetyList.aspx.cs    Line: 57

Stack Trace:


[WebAuthorException: This operation requires the context of a Posting.  The request must have a valid Posting Url or QueryString so that the CmsHttpContext.Posting will not be null.]
   Microsoft.ContentManagement.WebControls.BasePlaceholderControl.initializePlaceholderObject() +96
   Microsoft.ContentManagement.WebControls.BasePlaceholderControl.initializeBinding() +64
   Microsoft.ContentManagement.WebControls.BasePlaceholderControl.Page_Init(Object sender, EventArgs e) +11
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnInit(EventArgs e) +67
   Terrace.Osh.Web.ProductSafetyList.ProductSafetyList.OnInit(EventArgs e) in E:\Projects\Terrace\Osh\Web\ProductSafety\ProductSafetyList.aspx.cs:57
   System.Web.UI.Control.InitRecursive(Control namingContainer) +241
   System.Web.UI.Page.ProcessRequestMain() +194


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