Server Error in '/' Application.

Argument 'Index' is not a valid value.

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: Argument 'Index' is not a valid value.

Source Error:


Line 129:		
Line 130:		dim ThisItemFatherType as LOG.WorldClassInk.clsItemFatherType
Line 131:		ThisItemFatherType = colItemFatherType.ItemById(Id_ItemFatherType)
Line 132:	
Line 133:		response.Write("<br /><h2 class=""TitleSiteMap"">" & ThisItemFatherType.Name & "</h2><br /><br />")

Source File: D:\Inetpub\wwwroot\WorldClassInk\Sitemap.aspx    Line: 131

Stack Trace:


[ArgumentException: Argument 'Index' is not a valid value.]
   Microsoft.VisualBasic.Collection.get_Item(String Key) +1599774
   LOG.WorldClassInk.clsItemFatherTypeCollection.get_ItemById(Int32 entId) +127
   ASP.sitemap_aspx.__Render__control2(HtmlTextWriter __w, Control parameterContainer) in D:\Inetpub\wwwroot\WorldClassInk\Sitemap.aspx:131
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +276
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   ASP.root_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in D:\Inetpub\wwwroot\WorldClassInk\Root.master:230
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +276
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +169
   System.Web.UI.Page.Render(HtmlTextWriter writer) +40
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4239


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