Server Error in '/stopfire' Application.

There is no row at position 0.

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.IndexOutOfRangeException: There is no row at position 0.

Source Error:


Line 169:        if (dsResults != null)
Line 170:        {
Line 171:            pageTitle.InnerText = dsResults.Tables[2].Rows[0]["F601TITLE"].ToString();
Line 172:            this.Title = pageTitle.InnerText + " - " + Application[SessionConstants.INST_NAME].ToString() + " " + Application[SessionConstants.INST_COMMENT].ToString();
Line 173:

Source File: c:\Websites\stopfire.com.cy\stopfire\productDetails.aspx    Line: 171

Stack Trace:


[IndexOutOfRangeException: There is no row at position 0.]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +2519554
   System.Data.DataRowCollection.get_Item(Int32 index) +20
   ASP.productdetails_aspx.Page_PreRenderComplete(Object sender, EventArgs e) in c:\Websites\stopfire.com.cy\stopfire\productDetails.aspx:171
   System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +11692740
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3893


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