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 467:                    else
Line 468:                    {
Line 469:                        ltrBread.Text += "<li itemprop=\"itemListElement\" itemscope itemtype=\"https://schema.org/ListItem\"><span itemprop=\"name\">" + Request.QueryString["data"].ToString() + "-" + Request.QueryString["volt"].ToString() + "-1</span><meta itemprop=\"position\" content=\"" + (i + 1).ToString() + "\" /></li>";
Line 470:                    }
Line 471:                }

Source File: c:\inetpub\vhosts\teksan.com\httpdocs\list.aspx.cs    Line: 469

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   list.DataDetail() in c:\inetpub\vhosts\teksan.com\httpdocs\list.aspx.cs:469
   list.Page_Init(Object sender, EventArgs e) in c:\inetpub\vhosts\teksan.com\httpdocs\list.aspx.cs:200
   System.Web.UI.Control.OnInit(EventArgs e) +107
   System.Web.UI.Page.OnInit(EventArgs e) +16
   System.Web.UI.Control.InitRecursive(Control namingContainer) +172
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +490


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