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 228:        '    Me.texto_noticia.Text = lbl_desc & " ...<br/><br/><span style='font-size:18px;'>Debe registrarse para poder leer el artículo completo</span>"
Line 229:        'Else
Line 230:        Me.img_noticia.ImageUrl = fila(0)("foto").ToString
Line 231:        Me.titulo_noticia.Text = fila(0)("titulo").ToString
Line 232:        Me.texto_noticia.Text = fila(0)("texto").ToString

Source File: D:\webs\abogados-diez-multi-vertical-LATAM\noticias.ascx.vb    Line: 230

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   noticias.cargar_noticia(Int32 id_noticia) in D:\webs\abogados-diez-multi-vertical-LATAM\noticias.ascx.vb:230
   noticias.Page_Load(Object sender, EventArgs e) in D:\webs\abogados-diez-multi-vertical-LATAM\noticias.ascx.vb:62
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.8800; ASP.NET Version:2.0.50727.8762