Server Error in '/' 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 40: 		if edirect = "SummerCamp" then 
Line 41: 			lblHeader.Text = "<h2>Thank you for your interest in Big Cat Safari Camps!</h2>"
Line 42:             DropDownSendTo.Items.FindByValue("RenDruash").Selected = True
Line 43: 			txtSubject.Text = "Summer Camp Inquiry"
Line 44: 			enews.Checked = True

Source File: D:\Hosting\4899791\html\about\contactus.aspx.vb    Line: 42

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   testweb_about_Default.Page_Load(Object Sender, EventArgs E) in D:\Hosting\4899791\html\about\contactus.aspx.vb:42
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.4253; ASP.NET Version:2.0.50727.4252