472,364 Members | 1,878 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,364 software developers and data experts.

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 6414
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jim | last post by:
im using asp.net, C# to enter data into a table in sql server...however im getting this error: Input string was not in a correct format. Description: An unhandled exception occurred during the...
0
by: lianfe_ravago | last post by:
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...
5
by: blackg | last post by:
Input string not in correct format -------------------------------------------------------------------------------- I am trying to view a picture from a table. I am getting this error Input string...
1
by: amitbadgi | last post by:
Welcome back amitbadgi | Logout | Faq Knowledge Discovery Keys COMPUTER PROGRAMMING, DATA MINING, STATISTICS, ARTIFICIAL INTELLIGENCE * Settings * Photos * Lists * MVPs * Forums * Blogs
1
by: amitbadgi | last post by:
I am gettign this error, while migration an app to asp.net Exception Details: System.FormatException: Input string was not in a correct format. Source Error: Line 19: Dim enddate =...
0
by: hudhuhandhu | last post by:
have got an error which says Input string was not in a correct format. as follows.. Description: An unhandled exception occurred during the execution of the current web request. Please review the...
0
by: Anonieko | last post by:
Are there any javascript codes there? Answer: Yes On the PageLoad event call InitialClientControsl as follows /// <summary> /// This will add client-side event handlers for most of the...
0
by: sehguh | last post by:
Hiya Folks, I am Currently using windows xp. Also using Visual Web Developer 2005 and Microsoft Sql server 2005. The main page consists of an aspx page and a master page. The page also...
1
by: sehguh | last post by:
Hello folks I have recently been studying a book called "sams teach yourself asp.net 2.0 in24 hours by scott mitchell. I have reached page 614 but when i tried to run an asp page called...
1
by: differentsri | last post by:
THIS IS AN ASP.NET 1.1 APPLICATION IAM TRYING TO UPDATE THE FIELD BUT I AM NOT ABLE TO UPDATE IT? CAN U TELL THE REASON ? IT IS GIVING THE FOLLOWING ERROR BELOW I HAVE ALSO GIVEN THE CODE OF...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
0
by: jack2019x | last post by:
hello, Is there code or static lib for hook swapchain present? I wanna hook dxgi swapchain present for dx11 and dx9.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.