Server Error in '/' Application.

No data exists for the row/column.

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.InvalidOperationException: No data exists for the row/column.

Source Error:


Line 56:                 qreader.Read()
Line 57: 
Line 58:                 cat.InnerText = "BROWSE THROUGH " + qreader("CatName") + "  Spare parts"
Line 59: 
Line 60:                 Session.Add("CatName", qreader("CatName"))

Source File: h:\root\home\lineesh-001\www\AGBME\Products.aspx.vb    Line: 58

Stack Trace:


[InvalidOperationException: No data exists for the row/column.]
   System.Data.OleDb.OleDbDataReader.DoValueCheck(Int32 ordinal) +1247823
   System.Data.OleDb.OleDbDataReader.GetValue(Int32 ordinal) +14
   System.Data.OleDb.OleDbDataReader.get_Item(String name) +28
   Products.Page_Load(Object sender, EventArgs e) in h:\root\home\lineesh-001\www\AGBME\Products.aspx.vb:58
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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