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 368:
Line 369:                // validación mínima de información: titulo, url y resumen
Line 370:                if (!string.IsNullOrWhiteSpace(filaReg[0][nclmurlacceso].ToString()))
Line 371:                {
Line 372:                    // armar la url de destino

Source File: C:\inetpub\wwwroot\BibliotecaCPI-PD\busqueda\Router.aspx.cs    Line: 370

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   buscador_EnrutadorRE.ObtenerURLDI(String _idregistro) in C:\inetpub\wwwroot\BibliotecaCPI-PD\busqueda\Router.aspx.cs:370
   buscador_EnrutadorRE.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\BibliotecaCPI-PD\busqueda\Router.aspx.cs:171
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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