Server Error in '/' Application.

Заданный аргумент находится вне диапазона допустимых значений.
Parameter name: index

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.ArgumentOutOfRangeException: Заданный аргумент находится вне диапазона допустимых значений.
Parameter name: index

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ArgumentOutOfRangeException: Заданный аргумент находится вне диапазона допустимых значений.
Parameter name: index]
   System.Web.UI.ControlCollection.get_Item(Int32 index) +76
   SelenaJewellery.catalog.RenderPager(DataPager pager, Int32 currentPage, Int32 totalPages, Int32 NumericPageCount) in D:\Clients\Selena Jewellery\Code\SelenaJewellery\catalog.aspx.cs:224
   SelenaJewellery.catalog.lvItems_PreRender(Object sender, EventArgs e) in D:\Clients\Selena Jewellery\Code\SelenaJewellery\catalog.aspx.cs:216
   System.Web.UI.Control.OnPreRender(EventArgs e) +79
   System.Web.UI.WebControls.BaseDataBoundControl.OnPreRender(EventArgs e) +31
   System.Web.UI.Control.PreRenderRecursiveInternal() +166
   System.Web.UI.Control.PreRenderRecursiveInternal() +236
   System.Web.UI.Control.PreRenderRecursiveInternal() +236
   System.Web.UI.Control.PreRenderRecursiveInternal() +236
   System.Web.UI.Control.PreRenderRecursiveInternal() +236
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4719


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