Errore server nell'applicazione '/'.

Nessuna riga alla posizione 0.

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: Nessuna riga alla posizione 0.

Errore nel codice sorgente:


Riga 56:             id = Int32.Parse(Request.Params["news"].ToString());
Riga 57:             DataTable dtPress = wrPressArea.spdtPressArea(id, IDLingua);
Riga 58:             DataRow drPress = dtPress.Rows[0];
Riga 59:             imgpress = drPress["pathImg"].ToString().Replace("~", "");
Riga 60:             LiteralTitolo.Text = drPress["titPressArea"].ToString();

File di origine: c:\sites\semantyca\www.craldipendentiuslprato.it\news_scheda.aspx.cs    Riga: 58

Traccia dello stack:


[IndexOutOfRangeException: Nessuna riga alla posizione 0.]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +2441293
   System.Data.DataRowCollection.get_Item(Int32 index) +19
   news_scheda.Page_Load(Object sender, EventArgs e) in c:\sites\semantyca\www.craldipendentiuslprato.it\news_scheda.aspx.cs:58
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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