473,659 Members | 2,651 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.Visua lBasic

Message: Input string was not in a correct format.

QueryString: Action=View&Ite mID=8924

Stack Trace: at
Microsoft.Visua lBasic.Compiler Services.Double Type.Parse(Stri ng Value,
NumberFormatInf o NumberFormat) at
Microsoft.Visua lBasic.Compiler Services.Double Type.FromString (String
Value, NumberFormatInf o NumberFormat)

Target Site: Double Parse(System.St ring,
System.Globaliz ation.NumberFor matInfo)
Nov 19 '05 #1
3 6624
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.Visua lBasic

Message: Input string was not in a correct format.

QueryString: Action=View&Ite mID=8924

Stack Trace: at
Microsoft.Visua lBasic.Compiler Services.Double Type.Parse(Stri ng Value,
NumberFormatInf o NumberFormat) at
Microsoft.Visua lBasic.Compiler Services.Double Type.FromString (String
Value, NumberFormatInf o NumberFormat)

Target Site: Double Parse(System.St ring,
System.Globaliz ation.NumberFor matInfo)


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.Visua lBasic

Message: Input string was not in a correct format.

QueryString: Action=View&Ite mID=8924

Stack Trace: at
Microsoft.Visua lBasic.Compiler Services.Double Type.Parse(Stri ng Value,
NumberFormatInf o NumberFormat) at
Microsoft.Visua lBasic.Compiler Services.Double Type.FromString (String
Value, NumberFormatInf o NumberFormat)

Target Site: Double Parse(System.St ring,
System.Globaliz ation.NumberFor matInfo)

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.Visua lBasic

Message: Input string was not in a correct format.

QueryString : Action=View&Ite mID=8924

Stack Trace: at
Microsoft.Vis ualBasic.Compil erServices.Doub leType.Parse(St ring Value,
NumberFormatI nfo NumberFormat) at
Microsoft.Vis ualBasic.Compil erServices.Doub leType.FromStri ng(String
Value, NumberFormatInf o NumberFormat)

Target Site: Double Parse(System.St ring,
System.Global ization.NumberF ormatInfo)


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
21105
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 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.
0
768
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 error and where it originated in the code. Exception Details: System.FormatException: Input string was not in a correct format. Source Error: Line 457: <tr>
5
2508
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 not in the correct format. 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...
1
1845
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
2845
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 = request.QueryString("enddate") Line 20: Line 21: if cint(eventid) = "0" then
0
2542
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 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: Line 237: Dim validNow As Integer = 1 Line...
0
11983
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 form controls so
0
3162
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 consists of a label control(hidden when run in browser). Also an Sql data source control connected to database tables for a photo album. Also label web control ID=UserIdValue. Also a Details View control ID=dvPictureInsert Problem is how to work out...
1
4519
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 Photoadmin/default.aspx i got the following message and info. 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...
1
4757
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 THE PROGRAM PLEASE HELP ME Server Error in '/WebApplication1' Application. -------------------------------------------------------------------------------- Input string was not in a correct format. Description: An unhandled exception occurred...
0
8339
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8851
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8751
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8535
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8629
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6181
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5650
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4176
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1982
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.