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 809:<h2 class="product_id_product_content fs_p fs_regular fs_blue"><%# (storeProduct == null) ? "" : storeProduct["title_" + Session["lang"].ToString()].ToString()%></h2>
Line 810:
Line 811:<div style="display:<%# (storeProduct["imageVis2"].ToString() == "True") ? "block" : "none" %>">
Line 812:<div class="product_id_product_price_before fs_red" style="display: <%# (storeProduct["imageVis1"].ToString() == "True") ? "block" : "none" %>;"><span class="change_rate"><%# (storeProduct == null) ? "" : storeProduct["prevPrice"].ToString()%></span><span class="rate_icon"></span></div>
Line 813:<div class="product_id_product_price fs_grey"> <span id="unit_price" class="change_rate"><%# (storeProduct == null) ? "" : storeProduct["price"].ToString()%></span> <span class="rate_icon"></span></div>

Source File: c:\inetpub\wwwroot\silvercrossil.co.il\Moduls\store\store_product_id_page.ascx    Line: 811

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.store_product_id_page.__DataBind__control8(Object sender, EventArgs e) in c:\inetpub\wwwroot\silvercrossil.co.il\Moduls\store\store_product_id_page.ascx:811
   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_product_id.Page_LoadComplete(Object sender, EventArgs e) in c:\inetpub\wwwroot\silvercrossil.co.il\store-product-id.aspx.cs:61
   System.Web.UI.Page.OnLoadComplete(EventArgs e) +11860132
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5462


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