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 32: 
Line 33: <div class="event_id_slideshow">
Line 34: <div class="fluid_container" style="display:<%# (about_haifahag["imageVis1"].ToString() == "True") ? "block" : "none" %>">
Line 35: <div class="camera_wrap camera_white_skin" id="camera_wrap_1" style="margin:0px!important; padding:0px;">
Line 36: <div class="cameraTest1" data-src="<%# (about_haifahag == null) ? "" : "images/" + about_haifahag["image1"].ToString() %>"></div>

Source File: c:\inetpub\wwwroot\haifahag.com\controls\about_haifahag_section.ascx    Line: 34

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.about_haifahag_section.__DataBind__control2(Object sender, EventArgs e) in c:\inetpub\wwwroot\haifahag.com\controls\about_haifahag_section.ascx:34
   System.Web.UI.Control.OnDataBinding(EventArgs e) +97
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +173
   System.Web.UI.Control.DataBindChildren() +246
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191
   System.Web.UI.Control.DataBindChildren() +246
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191
   System.Web.UI.Control.DataBindChildren() +246
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191
   System.Web.UI.Control.DataBindChildren() +246
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191
   MasterPage.Page_PreRender(Object sender, EventArgs e) in c:\inetpub\wwwroot\haifahag.com\MasterPage.master.cs:88
   System.Web.UI.Control.OnPreRender(EventArgs e) +11905684
   System.Web.UI.Control.PreRenderRecursiveInternal() +162
   System.Web.UI.Control.PreRenderRecursiveInternal() +256
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6875


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