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 428:                          </itemtemplate>
Line 429:                          </asp:Repeater>
Line 430:                                <% IF formatNumber(Context.Items("orderTotalCartPage")) < variabili.priceOrder THEN %>
Line 431:                                  <table width="97%"  border="0" align="center" class="tableSpedizioneCart">
Line 432:                                    <tr>

Source File: D:\inetpub\webs\manuelstoreit\head.ascx    Line: 430

Stack Trace:


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

[InvalidCastException: Conversion from string "" to type 'Double' is not valid.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat) +214
   Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value) +7
   ASP.head_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in D:\inetpub\webs\manuelstoreit\head.ascx:430
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +103
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +9
   System.Web.UI.Control.Render(HtmlTextWriter writer) +10
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +129
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +287
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   ASP.prodotti_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in D:\inetpub\webs\manuelstoreit\prodotti.aspx:775
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +103
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +9
   System.Web.UI.Page.Render(HtmlTextWriter writer) +30
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +129
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +287
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5624


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