Server Error in '/' Application.

Indice oltre i limiti della matrice.

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: Indice oltre i limiti della matrice.

Source Error:


Line 55:                 xtwFeed.WriteElementString("description", WebUtilities.TruncateText(WebUtilities.stripHTML(WebUtilities.GetValueIT_EN(n.Text, n.EN_Text)), 200, true));
Line 56:                 xtwFeed.WriteElementString("link", WebUtilities.AbsoluteWebRoot.ToString().TrimEnd('/') + WebUtilities.GetPathEverywhereLanguage(NewsHelper2.GetNewsLink_ID_Slug(n.ID, n.Slug)));
Line 57:                 xtwFeed.WriteElementString("pubDate", WebUtilities.GetDateRSS_GMT(n.Date.ToUniversalTime()));
Line 58: 
Line 59:                 //elemento enclosure (file allegato): i 3 attributi sono obbligatori

Source File: d:\inetpub\vhosts\rivieradelconero.tv\httpdocs\rss.aspx.cs    Line: 57

Stack Trace:


[IndexOutOfRangeException: Indice oltre i limiti della matrice.]
   WebUtilities.GetDateRSS_GMT(DateTime date) in E:\OneDrive\Visual Studio\WebUtilities\WebUtilities\WebUtilities.cs:554
   rss.BuildRss() in d:\inetpub\vhosts\rivieradelconero.tv\httpdocs\rss.aspx.cs:57
   rss.Page_Load(Object sender, EventArgs e) in d:\inetpub\vhosts\rivieradelconero.tv\httpdocs\rss.aspx.cs:15
   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


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