469,912 Members | 1,727 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,912 developers. It's quick & easy.

Input string was not in a correct format.

Customers keep getting this error, but we've never been able to
re-produce it.

Any help on this would be awesome.

Here's the error message we get.

Date and Time Occured: Wednesday, June 01, 2005 11:02:20 AM

Source: Microsoft.VisualBasic

Message: Input string was not in a correct format.

QueryString: Action=View&ItemID=8924

Stack Trace: at
Microsoft.VisualBasic.CompilerServices.DoubleType. Parse(String Value,
NumberFormatInfo NumberFormat) at
Microsoft.VisualBasic.CompilerServices.DoubleType. FromString(String
Value, NumberFormatInfo NumberFormat)

Target Site: Double Parse(System.String,
System.Globalization.NumberFormatInfo)
Nov 19 '05 #1
3 6207
Ryan Ternier wrote:
Customers keep getting this error, but we've never been able to
re-produce it.

Any help on this would be awesome.

Here's the error message we get.

Date and Time Occured: Wednesday, June 01, 2005 11:02:20 AM

Source: Microsoft.VisualBasic

Message: Input string was not in a correct format.

QueryString: Action=View&ItemID=8924

Stack Trace: at
Microsoft.VisualBasic.CompilerServices.DoubleType. Parse(String Value,
NumberFormatInfo NumberFormat) at
Microsoft.VisualBasic.CompilerServices.DoubleType. FromString(String
Value, NumberFormatInfo NumberFormat)

Target Site: Double Parse(System.String,
System.Globalization.NumberFormatInfo)


Some more information:

This happens on random computesr. I can try and access the same items,
and it works fine.

One computer might get this error while clicking on the link, while
another accesses it fine.

/RT
Nov 19 '05 #2
I would look into using Double.TryParse(), (I think that exists in VB, I'm a
C# guy). Also if I recall correctly VB has a IsNumeric method built in
somewhere to make sure what ever string you're trying to turn into an
int/double is parseable.

I would also try to find out where that value is coming from, chances are
you have users that are trying to enter non-numeric characters in a numeric
box.

Good luck,

Jason Lind

"Ryan Ternier" wrote:
Customers keep getting this error, but we've never been able to
re-produce it.

Any help on this would be awesome.

Here's the error message we get.

Date and Time Occured: Wednesday, June 01, 2005 11:02:20 AM

Source: Microsoft.VisualBasic

Message: Input string was not in a correct format.

QueryString: Action=View&ItemID=8924

Stack Trace: at
Microsoft.VisualBasic.CompilerServices.DoubleType. Parse(String Value,
NumberFormatInfo NumberFormat) at
Microsoft.VisualBasic.CompilerServices.DoubleType. FromString(String
Value, NumberFormatInfo NumberFormat)

Target Site: Double Parse(System.String,
System.Globalization.NumberFormatInfo)

Nov 19 '05 #3
Jason L Lind wrote:
I would look into using Double.TryParse(), (I think that exists in VB, I'm a
C# guy). Also if I recall correctly VB has a IsNumeric method built in
somewhere to make sure what ever string you're trying to turn into an
int/double is parseable.

I would also try to find out where that value is coming from, chances are
you have users that are trying to enter non-numeric characters in a numeric
box.

Good luck,

Jason Lind

"Ryan Ternier" wrote:

Customers keep getting this error, but we've never been able to
re-produce it.

Any help on this would be awesome.

Here's the error message we get.

Date and Time Occured: Wednesday, June 01, 2005 11:02:20 AM

Source: Microsoft.VisualBasic

Message: Input string was not in a correct format.

QueryString: Action=View&ItemID=8924

Stack Trace: at
Microsoft.VisualBasic.CompilerServices.DoubleTyp e.Parse(String Value,
NumberFormatInfo NumberFormat) at
Microsoft.VisualBasic.CompilerServices.DoubleTyp e.FromString(String
Value, NumberFormatInfo NumberFormat)

Target Site: Double Parse(System.String,
System.Globalization.NumberFormatInfo)


Thank you for your help.

I've searched the document for parsing doubles, and the only thing I'm
parsing is a value returned from SQL that is in a int field.

They get this error when they load the page, not when they submit. And
other computers will access this page fine with the same variables etc.

/RT
Nov 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by lianfe_ravago | last post: by
5 posts views Thread by blackg | last post: by
1 post views Thread by amitbadgi | last post: by
1 post views Thread by amitbadgi | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.