Server Error in '/' 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 50:  <meta name="description" content=""/>
Line 51:  <meta property="og:title" content="<%=Title %>">
Line 52:  <meta property="og:image" content="https://alexandriaairlines.com<%=resolveurl(dt.rows(0)("A_Img"))%>">
Line 53:  <meta property="og:url" content="https://alexandriaairlines.com/EN-article-<%= Request.QueryString("ID")%>">
Line 54:  <meta property="og:type" content="article">

Source File: C:\inetpub\wwwroot\User_Site_Home_MasterPage.master    Line: 52

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
   ASP.user_site_home_masterpage_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in C:\inetpub\wwwroot\User_Site_Home_MasterPage.master:52
   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