Server Error in '/Minj-Order' Application.

There is no row at position 0.

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: There is no row at position 0.

Source Error:


Line 87: 
Line 88:                                 <%
Line 89:                                         foreach (System.Data.DataRow rwImage in ListImage().Rows)
Line 90:                                         {
Line 91:                                             %>

Source File: C:\inetpub\wwwroot\minjproperty.mn\Minj-Order\other.aspx    Line: 89

Stack Trace:


[IndexOutOfRangeException: There is no row at position 0.]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +2709189
   System.Data.DataRowCollection.get_Item(Int32 index) +19
   Minj_Order.other.ListImage() +131
   ASP.other_aspx.__RenderContent1(HtmlTextWriter __w, Control parameterContainer) in C:\inetpub\wwwroot\minjproperty.mn\Minj-Order\other.aspx:89
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +263
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   ASP.site_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in C:\inetpub\wwwroot\minjproperty.mn\Minj-Order\Site.Master:62
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +263
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +160
   System.Web.UI.Page.Render(HtmlTextWriter writer) +39
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8921


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