Server Error in '/' Application.

Index and length must refer to a location within the string.
Parameter name: length

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: Index and length must refer to a location within the string.
Parameter name: length

Source Error:


Line 735:style="Z-INDEX: 999; POSITION: absolute; TOP: -500px; LEFT: -500px" 
Line 736:name=gToday:normal:agenda.js 
Line 737:src='<%Response.write(PortalLibraries.PortalUtils.ParseRootPath("~/Packages/Calendar/" + PackagesLanguage.GetString("PACKAGES000000").substring(0,2) + "/ipopeng2.htm"))%>' 
Line 738:frameBorder=0 width=174 scrolling=no height=189>
Line 739:		</IFRAME>

Source File: D:\WebFiles\VHM\demos\DemoVisiteHotelesdeMexico\packages\PackageSearch.aspx    Line: 737

Stack Trace:


[ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length]
   System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) +10090116
   ASP.packages_packagesearch_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in D:\WebFiles\VHM\demos\DemoVisiteHotelesdeMexico\packages\PackageSearch.aspx:737
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +115
   System.Web.UI.Page.Render(HtmlTextWriter writer) +38
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4240


Version Information: Microsoft .NET Framework Version:2.0.50727.8745; ASP.NET Version:2.0.50727.8745