Server Error in '/' Application.

Index was outside the bounds of the array.

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: Index was outside the bounds of the array.

Source Error:


Line 185:for i = 1 to cnt
Line 186:	drA.read()
Line 187:	docno(i-1) = trim(drA.item("docno"))
Line 188:	subject(i-1) = trim(drA.item("subject"))
Line 189:	publishdate(i-1) = trim(drA.item("publishdate"))

Source File: D:\novaysplac\hoteventbody.aspx    Line: 187

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   ASP.hoteventbody_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in D:\novaysplac\hoteventbody.aspx:187
   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