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 39: 
Line 40: Sub Page_Load(Src As Object, E As EventArgs)
Line 41: 		if	 DataSet1.FieldValue("lck", Nothing) = true then response.Redirect("/memberNews/contents.aspx?id="&request.QueryString("id"))
Line 42: End Sub
Line 43: 

Source File: D:\HostingSpaces\new-e-ivo\contents.aspx    Line: 41

Stack Trace:


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

[InvalidCastException: Conversion from string "" to type 'Boolean' is not valid.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ToBoolean(String Value) +390
   ASP.contents_aspx.Page_Load(Object Src, EventArgs E) in D:\HostingSpaces\new-e-ivo\contents.aspx:41
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1607


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