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 640:<div class="products_page">
Line 641:
Line 642:<div class="slideshow_categories" style="display:<%# (storeCategory["imageVis2"].ToString() == "True") ? "block" : "none" %>">
Line 643:<div class="page_categories_slideshow" style="background-image: url(<%# (storeSubCategory == null) ? "" : "images/" + storeSubCategory["image3"].ToString() %>); background-size: cover; background-repeat: no-repeat; background-position: center;"></div>
Line 644:<div class="banners_items_slideshow">

Source File: c:\inetpub\wwwroot\hamesameach.co.il\Moduls\store\products\products_regular\store_products_page_right_filter.ascx    Line: 642

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.store_products_page_right_filter.__DataBind__control3(Object sender, EventArgs e) in c:\inetpub\wwwroot\hamesameach.co.il\Moduls\store\products\products_regular\store_products_page_right_filter.ascx:642
   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
   System.Web.UI.Control.DataBindChildren() +246
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191
   store_products.Page_LoadComplete(Object sender, EventArgs e) in c:\inetpub\wwwroot\hamesameach.co.il\store-products.aspx.cs:53
   System.Web.UI.Page.OnLoadComplete(EventArgs e) +11859940
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5462


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