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 236:drA = cmA.ExecuteReader()  
Line 237:drA.read() 
Line 238:subject2 = trim(drA.item("subject"))
Line 239:publishdate2 = trim(drA.item("publishdate"))
Line 240:body = trim(drA.item("body"))

Source File: D:\novaysplac\newdocbody.aspx    Line: 238

Stack Trace:


[InvalidOperationException: No data exists for the row/column.]
   System.Data.OleDb.OleDbDataReader.DoValueCheck(Int32 ordinal) +1120079
   System.Data.OleDb.OleDbDataReader.GetValue(Int32 ordinal) +9
   System.Data.OleDb.OleDbDataReader.get_Item(String name) +24
   ASP.newdocbody_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in D:\novaysplac\newdocbody.aspx:238
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +98
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20
   System.Web.UI.Page.Render(HtmlTextWriter writer) +26
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2558


Version Information: Microsoft .NET Framework Version:2.0.50727.1873; ASP.NET Version:2.0.50727.1433