Performance Bond Vs. Payment Bond | Performance Bond Wikipedia

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 181:        '"where n.status=1 and n.RemovalDate >=getdate() " & whereclause & " order by n.OtherDate desc) as MyTable WHERE RowNum BETWEEN (@PageNum - 1) * @PageSize + 1 AND @PageNum * @PageSize  ORDER BY MyTable.OtherDate desc"
Line 182:
Line 183:        Dim var As String = HttpContext.Current.Request.UserAgent.ToLower()
Line 184:
Line 185:        If var.Contains("iphone") Then

Source File: C:\inetpub\wwwroot\hadef\News.aspx.vb    Line: 183

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
   News.GetPeopleData() in C:\inetpub\wwwroot\hadef\News.aspx.vb:183
   News.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\hadef\News.aspx.vb:425
   System.Web.UI.Control.LoadRecursive() +70
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3063


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