Errore server nell'applicazione '/'.

L'indice 0 è negativo oppure superiore al totale delle righe.

Descrizione: Eccezione non gestita durante l'esecuzione della richiesta Web corrente. Per ulteriori informazioni sull'errore e sul suo punto di origine nel codice, vedere la traccia dello stack.

Dettagli eccezione: System.IndexOutOfRangeException: L'indice 0 è negativo oppure superiore al totale delle righe.

Errore nel codice sorgente:


Riga 258:        {
Riga 259:            #region ...
Riga 260:            html = "<div class=\"mobile-header\">" +
Riga 261:            "	<div class=\"show-left-menu-box\"><a id=\"left-menu\" href=\"#left-menu\"><i class=\"fa fa-bars grey-icon-menu\"></i></a></div>" +
Riga 262:            "	<div class=\"show-right-menu-box\"><a id=\"right-menu\" href=\"#right-menu\"><i class=\"fa fa-user grey-icon-menu\"></i></a></div> " +

File di origine: c:\WEBFARM_FTP\localuser\ftppeople\new\App_Code\custom.cs    Riga: 260

Traccia dello stack:


[IndexOutOfRangeException: L'indice 0 è negativo oppure superiore al totale delle righe.]
   System.Data.DataView.GetRow(Int32 index) +2232036
   System.Data.DataView.get_Item(Int32 recordIndex) +17
   custom.site_header() in c:\WEBFARM_FTP\localuser\ftppeople\new\App_Code\custom.cs:260
   home.Page_Load(Object sender, EventArgs e) in c:\WEBFARM_FTP\localuser\ftppeople\new\home.aspx.cs:27
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1602


Informazioni di versione: Versione di Microsoft .NET Framework:4.0.30319; Versione di ASP.NET:4.8.9224.0