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 176:        <div class="productScroller">
Line 177:            <ul class="productsList">
Line 178:                <uc1:ProductsList id="productsList" runat="server" Products='<%# Product.RelatedProducts %>' ImageSize="list_thumb" />
Line 179:            </ul>
Line 180:        </div>

Source File: D:\Skylight\kalistileman.co.uk\Web\assets\controls\shop\product.ascx    Line: 178

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.assets_controls_shop_product_ascx.__DataBindingproductsList(Object sender, EventArgs e) in D:\Skylight\kalistileman.co.uk\Web\assets\controls\shop\product.ascx:178
   System.Web.UI.Control.OnDataBinding(EventArgs e) +97
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +173
   assets_controls_shop_product_list.OnLoad(EventArgs e) +20
   System.Web.UI.Control.LoadRecursive() +67
   System.Web.UI.Control.LoadRecursive() +161
   System.Web.UI.Control.LoadRecursive() +161
   System.Web.UI.Control.LoadRecursive() +161
   System.Web.UI.Control.LoadRecursive() +161
   System.Web.UI.Control.LoadRecursive() +161
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3784


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