Server Error in '/' Application.

Session field 'UID' not found.

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: Session field 'UID' not found.

Source Error:


Line 146:</DeleteParameters>
Line 147:<SelectParameters>
Line 148:<asp:Parameter Name="UserID" Type="Int32" DefaultValue="<%$ Session: UID %>" />
Line 149:</SelectParameters>
Line 150: 

Source File: C:\Inetpub\vhosts\circlescreenworks.com\httpdocs\ShoppingCart.aspx    Line: 148

Stack Trace:


[InvalidOperationException: Session field 'UID' not found.]
   skmExpressionBuilders.BaseServerObjectExpressionBuilder.GetRequestedValue(String key, Type targetType, String propertyName) +227
   ASP.shoppingcart_aspx.__BuildControl__control7() in C:\Inetpub\vhosts\circlescreenworks.com\httpdocs\ShoppingCart.aspx:148
   ASP.shoppingcart_aspx.__BuildControl__control6(ParameterCollection __ctrl) in C:\Inetpub\vhosts\circlescreenworks.com\httpdocs\ShoppingCart.aspx:140
   ASP.shoppingcart_aspx.__BuildControlSqlDataSource1() in C:\Inetpub\vhosts\circlescreenworks.com\httpdocs\ShoppingCart.aspx:140
   ASP.shoppingcart_aspx.__BuildControlContent1(Control __ctrl) in C:\Inetpub\vhosts\circlescreenworks.com\httpdocs\ShoppingCart.aspx:137
   System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +15
   System.Web.UI.MasterPage.InstantiateInContentPlaceHolder(Control contentPlaceHolder, ITemplate template) +88
   ASP.masterpage_master.__BuildControlContentPlaceHolder1() in C:\Inetpub\vhosts\circlescreenworks.com\httpdocs\MasterPage.master:54
   ASP.masterpage_master.__BuildControlform1() in C:\Inetpub\vhosts\circlescreenworks.com\httpdocs\MasterPage.master:29
   ASP.masterpage_master.__BuildControlTree(masterpage_master __ctrl) in C:\Inetpub\vhosts\circlescreenworks.com\httpdocs\MasterPage.master:1
   ASP.masterpage_master.FrameworkInitialize() +90
   System.Web.UI.UserControl.InitializeAsUserControlInternal() +36
   System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +672
   System.Web.UI.Page.get_Master() +55
   System.Web.UI.Page.ApplyMasterPage() +14
   System.Web.UI.Page.PerformPreInit() +51
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +296


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