Board index » off-topic » Problem posting to CC

Problem posting to CC


2005-06-09 06:13:28 AM
off-topic3
I tried to post a CodeCentral snippet today. It looks like it was posted,
but it's not at CC.
Is there any problems that I should be aware of?
-Atle
 
 

Re:Problem posting to CC

Here's the error:
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:
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:
[FormatException: Input string was not in a correct format.]
System.Number.ParseSingle(String s, NumberStyles style, NumberFormatInfo
info) +0
System.Single.Parse(String s, NumberStyles style, IFormatProvider
provider) +187
System.Convert.ToSingle(String value) +19
SnippetEdit.TSnippetEditControl.btnSave_Click(Object sender, EventArgs e)
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() +1247
 

Re:Problem posting to CC

Atle Smelvfr wrote:
Quote
Here's the error:
Thanks. This belongs either in QualityCentral for the CodeCentral
project, or in the CodeCentral newsgroup. Reply posted to that
newsgroup, and follow-up set.
Quote

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:

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:

[FormatException: Input string was not in a correct format.]
System.Number.ParseSingle(String s, NumberStyles style,
NumberFormatInfo info) +0
System.Single.Parse(String s, NumberStyles style, IFormatProvider
provider) +187
System.Convert.ToSingle(String value) +19
SnippetEdit.TSnippetEditControl.btnSave_Click(Object sender,
EventArgs e) System.Web.UI.WebControls.Button.OnClick(EventArgs e)
+108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.R
aisePostBackEvent(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() +1247
--
John Kaster blogs.borland.com/johnk
Features and bugs: qc.borland.com
Get source: cc.borland.com
If it's not here, it's not happening: ec.borland.com
 

{smallsort}

Re:Problem posting to CC

The problem was version.. I set it to D6 and D2005, it only handled
numbers.. So I had to set it to 6 and 9.
-Atle