Server Error in '/ou/classes' Application.

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 701:        studentInfo.Zip = lblZip.Text;
Line 702:
Line 703:        double ConsolidationFee = config.ConsolidationFee; //System.Convert.ToDouble(System.Web.Configuration.WebConfigurationManager.AppSettings.Get("ConsolidationFee").ToString());
Line 704:        double TitanCardFee = config.TitanCardFee; // System.Convert.ToDouble(System.Web.Configuration.WebConfigurationManager.AppSettings.Get("TitanCardFee").ToString());
Line 705:

Source File: d:\www\ou-app\classes\Register\Default.aspx.cs    Line: 703

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   Register_Default.AddToShoppingCart(Object sender, EventArgs e) in d:\www\ou-app\classes\Register\Default.aspx.cs:703
   System.Web.UI.WebControls.View.OnActivate(EventArgs e) +148
   System.Web.UI.WebControls.MultiView.set_ActiveViewIndex(Int32 value) +602
   System.Web.UI.WebControls.MultiView.OnInit(EventArgs e) +66
   System.Web.UI.Control.InitRecursive(Control namingContainer) +432
   System.Web.UI.Control.AddedControl(Control control, Int32 index) +238
   System.Web.UI.WebControls.TableWizardRendering.CreateControlHierarchy_CreateStepArea(Table mainContentTable) +343
   System.Web.UI.WebControls.TableWizardRendering.CreateControlHierarchy() +75
   System.Web.UI.WebControls.Wizard.CreateChildControls() +235
   System.Web.UI.Control.EnsureChildControls() +129
   System.Web.UI.WebControls.Wizard.OnInit(EventArgs e) +142
   System.Web.UI.Control.InitRecursive(Control namingContainer) +432
   System.Web.UI.Control.InitRecursive(Control namingContainer) +218
   System.Web.UI.Control.InitRecursive(Control namingContainer) +218
   System.Web.UI.Control.InitRecursive(Control namingContainer) +218
   System.Web.UI.Control.InitRecursive(Control namingContainer) +218
   System.Web.UI.Control.InitRecursive(Control namingContainer) +218
   System.Web.UI.Control.InitRecursive(Control namingContainer) +218
   System.Web.UI.Control.InitRecursive(Control namingContainer) +218
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1615


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