Object reference not set to an instance of an object.

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 46:                 tbl_kala v = d.tbl_kalas.SingleOrDefault(x => x.code == Convert.ToInt32(ss[0]));
Line 47:                 if (v != null) Session["pid"] = v.k_code;
Line 48:                   if (!Convert.ToBoolean(v.mojaz))  Response.Redirect("/notallow.aspx");//"javascript:alert('به درخواست مراجع ذی صلاح این کالا حذف شد')";
Line 49: 
Line 50:             }

Source File: c:\inetpub\vhosts\bigbag.co\bigbag.co\httpdocs\ProductsDetails.aspx.cs    Line: 48

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
ProductsDetails2.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\bigbag.co\bigbag.co\httpdocs\ProductsDetails.aspx.cs:48
System.Web.UI.Control.OnLoad(EventArgs e) +107
System.Web.UI.Control.LoadRecursive() +89
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1532


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4380.0
به درخواست مراجع ذی صلاح این کالا حذف شد



مشاوره آنلاین
مشاوره آنلاین
درصورت آنلاین نبودن پشتیبان میتوانید از طریق اکانت تلگرام bigbagteamco @ یا شما تلفن 02144975133 ارتباط بر قرار کنید