Server Error in '/' Application.

Input array is longer than the number of columns in this table.

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.ArgumentException: Input array is longer than the number of columns in this table.

Source Error:


Line 563:                    {
Line 564:                        // copiar la fila
Line 565:                        tblRegistrosDeArticulsoRecuperados.Rows.Add(fila.ItemArray);
Line 566:                    }
Line 567:                }

Source File: C:\inetpub\wwwroot\BibliotecaCPI-PD\colecciones\articulos\Articulo.aspx.cs    Line: 565

Stack Trace:


[ArgumentException: Input array is longer than the number of columns in this table.]
   System.Data.DataTable.NewRecordFromArray(Object[] value) +313
   System.Data.DataRowCollection.Add(Object[] values) +20
   buscador_Articulo.DesplegarRecursosSimilares(RevistaClass _Revista, TablasdecontenidoClass _TablaDeContenido, ArticulosClass _Articulo) in C:\inetpub\wwwroot\BibliotecaCPI-PD\colecciones\articulos\Articulo.aspx.cs:565
   buscador_Articulo.DesplegarInfo() in C:\inetpub\wwwroot\BibliotecaCPI-PD\colecciones\articulos\Articulo.aspx.cs:487
   buscador_Articulo.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\BibliotecaCPI-PD\colecciones\articulos\Articulo.aspx.cs:116
   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