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 102:        <p>
Line 103:
Line 104:<%# iif(Rs.FieldValue("Immagine", Container),"<img src=copertine/" & Rs.FieldValue("Id", Container) & ".jpg />","Immagine non disponibile") %>        
Line 105:        
Line 106:        

Source File: C:\WebSites\vittorialibri.it\dettaglio.aspx    Line: 104

Stack Trace:


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

[InvalidCastException: Conversion from string "" to type 'Boolean' is not valid.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ToBoolean(String Value) +377
   ASP.dettaglio_aspx.__DataBind__control5(Object sender, EventArgs e) in C:\WebSites\vittorialibri.it\dettaglio.aspx:104
   System.Web.UI.Control.OnDataBinding(EventArgs e) +98
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +174
   System.Web.UI.Control.DataBindChildren() +246
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191
   DreamweaverCtrls.PageBind.Page_Load(Object src, EventArgs E) +699
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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