Errore server nell'applicazione '/'.

Richiesto numero non negativo.
Nome parametro: count

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.ArgumentOutOfRangeException: Richiesto numero non negativo.
Nome parametro: count

Errore nel codice sorgente:


Riga 35:         Paginator1.DataBind();
Riga 36:         
Riga 37:         ArticlesPreview1.List = arts.GetRange(Paginator1.StartIndex, Paginator1.NumElements);
Riga 38:         ListRecents.List = Article.GetRecents(5);
Riga 39:         ListSections.List = Article.GetByPid(-1);

File di origine: e:\Websites\Abystron\pub\ArticlesArchive.aspx    Riga: 37

Traccia dello stack:


[ArgumentOutOfRangeException: Richiesto numero non negativo.
Nome parametro: count]
   System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) +69
   System.Collections.Generic.List`1.GetRange(Int32 index, Int32 count) +13127531
   ASP.pub_articlesarchive_aspx.Page_Load(Object sender, EventArgs args) in e:\Websites\Abystron\pub\ArticlesArchive.aspx:37
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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