Server Error in '/' Application.

Input string was not in a correct format.

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.FormatException: Input string was not in a correct format.

Source Error:


Line 393:                            Else
Line 394:                                ' continue with showing the content as required
Line 395:                                Dim iRequiredContentItem As Integer = zItems(iIndex)
Line 396:
Line 397:

Source File: C:\inetpub\wwwroot\Applications\ContentManagedSites\GILERA_MANUFACTURER_SITES\GILERA-CORE\App_Code\modules\modSiteServer.vb    Line: 395

Stack Trace:


[FormatException: Input string was not in a correct format.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat) +204
   Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) +99

[InvalidCastException: Conversion from string "" to type 'Integer' is not valid.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) +257
   modSiteServer.ShowTaggedContent(ControlCollection oControls, HttpSessionState oSession, HttpRequest oRequest) in C:\inetpub\wwwroot\Applications\ContentManagedSites\GILERA_MANUFACTURER_SITES\GILERA-CORE\App_Code\modules\modSiteServer.vb:395
   cms_template.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\Applications\ContentManagedSites\GILERA_MANUFACTURER_SITES\GILERA-CORE\cms-template.vb:12
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.8784; ASP.NET Version:2.0.50727.8762