Server Error in '/pcm2010' 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 155:        Dim description As String, time As String, course As String
Line 156:        Dim itemHtml As StringBuilder = New StringBuilder()
Line 157:        description = rs.Fields.Item("Description").Value
Line 158:
Line 159:        Dim m As Match

Source File: D:\WebApps\pcm2010.ltc.tw\pcm2015.net\pcm\course\Course.aspx    Line: 157

Stack Trace:


[COMException (0x800a0bcd): Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.]
   ADODB.Field.get_Value() +0
   ASP.pcm_course_course_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in D:\WebApps\pcm2010.ltc.tw\pcm2015.net\pcm\course\Course.aspx:157
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +276
   System.Web.UI.Page.Render(HtmlTextWriter writer) +40
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4239


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