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 73: 
Line 74: 
Line 75:             int id = Convert.ToInt32(Session["ModFuncMix"].ToString().Split('|')[2]);
Line 76:             Cls_Shops_Products clsProducts = Cls_Shops_Products.getOject_Key(id);
Line 77:             clsProducts.ID_Product_find = id;

Source File: c:\inetpub\vhosts\304.com.vn\shophoatuoidanang.com\themes\default\modules\shops\blocks\detail3.ascx.cs    Line: 75

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   modules_shops_blocks_detail3.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\304.com.vn\shophoatuoidanang.com\themes\default\modules\shops\blocks\detail3.ascx.cs:75
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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