Server Error in '/' Application.

Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.

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.Runtime.InteropServices.COMException: Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.

Source Error:


Line 18: rsInfo.Open(sql, conn, 0, 1)
Line 19:    
Line 20: dim postid as string = rsInfo("id").value()   
Line 21: dim forumid as string = rsInfo("forum").value()   
Line 22:    

Source File: E:\Games\Template\forum\read.aspx    Line: 20

Stack Trace:


[COMException (0x800a0bcd): Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.]
   Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack) +1387
   Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack) +219
   ASP.forum_read_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in E:\Games\Template\forum\read.aspx:20
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +117
   System.Web.UI.Page.Render(HtmlTextWriter writer) +39
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8753


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