Server Error in '/' Application.

Index was outside the bounds of the array.

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: Index was outside the bounds of the array.

Source Error:


Line 95: 																				<TR>
Line 96: 																					<TD align="center" colspan=2>
Line 97: 																						<div id=div_GCIcon style="display:block"><img src="<%=m_arrGCIcons_lg[m_intCardID-1]%>"></div>
Line 98: 																					</TD>
Line 99: 																				</TR>

Source File: c:\websites\Websites_SKPlease\SKPleaseWeb2010\giftcard2.aspx    Line: 97

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   ASP.giftcard2_aspx.__RenderfrmGiftCard(HtmlTextWriter __w, Control parameterContainer) in c:\websites\Websites_SKPlease\SKPleaseWeb2010\giftcard2.aspx:97
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +117
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +11834213
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +47
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +50
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +250
   SKPleaseWeb.giftcard2.Render(HtmlTextWriter writer) +48
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8753


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