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 14: 	<body bgcolor="#ffffff">
Line 15: 		<%
Line 16: If (Not Request.Cookies("pref") Is Nothing) AND (Not Request.Cookies("pref")("JavaMenus") is Nothing) Then
Line 17:   If(Request.Cookies("pref")("JavaMenus") = true) then
Line 18: %>

Source File: C:\sites\LocalUser\brew\MidwestSupplies\hof\DataEntry.aspx    Line: 16

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.DataEntry_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) in C:\sites\LocalUser\brew\MidwestSupplies\hof\DataEntry.aspx:16
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
   System.Web.UI.Control.Render(HtmlTextWriter writer) +7
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
   System.Web.UI.Page.ProcessRequestMain() +1926


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