i am trying to book a date for my parents on VFS but it gives me server error and says cast type error when regarding date. i called the customer service and it wan't of much use as they didn't understand what i was talking. please anyone in here advice me on this.i will post the error so that it might bring some insight.
Server Error in '/' Application.
Cast from string "" to type 'Date' is not valid.
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.InvalidCastException: Cast from string "" to type 'Date' is not valid.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidCastException: Cast from string "" to type 'Date' is not valid.]
Microsoft.VisualBasic.CompilerServices.DateType.FromString(S tring Value, CultureInfo culture) **60
Microsoft.VisualBasic.CompilerServices.DateType.FromString(S tring Value) +53
vfsus.SpamBot.btnSubmit_Click(Object sender, EventArgs e) in D:\Projects\US-INDIA\ApplnForms\SpamBot.aspx.vb:350
System.Web.UI.WebControls.Button.OnClick(EventArgs e) **08
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEven tHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) **8
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() **292
thanx in advance
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
Server Error in '/' Application.
Cast from string "" to type 'Date' is not valid.
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.InvalidCastException: Cast from string "" to type 'Date' is not valid.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidCastException: Cast from string "" to type 'Date' is not valid.]
Microsoft.VisualBasic.CompilerServices.DateType.FromString(S tring Value, CultureInfo culture) **60
Microsoft.VisualBasic.CompilerServices.DateType.FromString(S tring Value) +53
vfsus.SpamBot.btnSubmit_Click(Object sender, EventArgs e) in D:\Projects\US-INDIA\ApplnForms\SpamBot.aspx.vb:350
System.Web.UI.WebControls.Button.OnClick(EventArgs e) **08
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEven tHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) **8
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() **292
thanx in advance
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
Comment