When I run my app on my local box it works fine. Whenever I run the app from the web, I get:"Server Error in ..." "Input string was not in a correct format."
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.
This always happens whenever I click any button that requries validation. IE it should show text in the validation summary box that says something like "You must enter a number between 1 and 10", instead I get the above.
Note:Web.config <customErrors mode="Off"/>
Any have an idea of what I'm doing wrong? Thanks in Advance, Rankun
Don't think this will help but, In case anyone wants to see the
Stack Trace:
[FormatException: Input string was not in a correct format.]
Microsoft.VisualBasic.CompilerServices.DoubleType.Parse(String Value, NumberFormatInfo NumberFormat) +195
Microsoft.VisualBasic.CompilerServices.DoubleType.FromString(String Value, NumberFormatInfo NumberFormat) +82
[InvalidCastException: Cast from string "" to type 'Double' is not valid.]
Microsoft.VisualBasic.CompilerServices.DoubleType.FromString(String Value, NumberFormatInfo NumberFormat) +170
Microsoft.VisualBasic.CompilerServices.DoubleType.FromString(String Value) +7
FitFreak.Exercise.btnAddExercise_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\FitFreak\Exercise.aspx.vb:125
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1292
__________________
Rankun
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.
This always happens whenever I click any button that requries validation. IE it should show text in the validation summary box that says something like "You must enter a number between 1 and 10", instead I get the above.
Note:Web.config <customErrors mode="Off"/>
Any have an idea of what I'm doing wrong? Thanks in Advance, Rankun
Don't think this will help but, In case anyone wants to see the
Stack Trace:
[FormatException: Input string was not in a correct format.]
Microsoft.VisualBasic.CompilerServices.DoubleType.Parse(String Value, NumberFormatInfo NumberFormat) +195
Microsoft.VisualBasic.CompilerServices.DoubleType.FromString(String Value, NumberFormatInfo NumberFormat) +82
[InvalidCastException: Cast from string "" to type 'Double' is not valid.]
Microsoft.VisualBasic.CompilerServices.DoubleType.FromString(String Value, NumberFormatInfo NumberFormat) +170
Microsoft.VisualBasic.CompilerServices.DoubleType.FromString(String Value) +7
FitFreak.Exercise.btnAddExercise_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\FitFreak\Exercise.aspx.vb:125
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1292
__________________
Rankun