Solved

Input string was not in a correct format.  .net

Posted on 2007-03-17
5
503 Views
Last Modified: 2011-09-20
I have a calendar on some code thats been running for a year now and all of a sudden I'm getting this error when you click on any date. Has anyone ever seen this error before?

Server Error in '/' Application.
--------------------------------------------------------------------------------

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.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +0
   System.ComponentModel.Int32Converter.FromString(String value, NumberFormatInfo formatInfo) +37
   System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) +382

[Exception: '' is not a valid value for Int32.]
   System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) +413
   System.ComponentModel.TypeConverter.ConvertFromString(ITypeDescriptorContext context, CultureInfo culture, String text) +12
   System.Drawing.ColorConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) +980
   System.Web.UI.LosFormatter.ConsumeTypeConverterValue(String token) +225
   System.Web.UI.LosFormatter.DeserializeValueInternal() +1086
   System.Web.UI.LosFormatter.DeserializeValueInternal() +594
   System.Web.UI.LosFormatter.DeserializeValueInternal() +208
   System.Web.UI.LosFormatter.DeserializeValueInternal() +162
   System.Web.UI.LosFormatter.DeserializeValueInternal() +277
   System.Web.UI.LosFormatter.DeserializeValueInternal() +594
   System.Web.UI.LosFormatter.DeserializeValueInternal() +369
   System.Web.UI.LosFormatter.DeserializeValueInternal() +594
   System.Web.UI.LosFormatter.DeserializeValueInternal() +369
   System.Web.UI.LosFormatter.DeserializeValueInternal() +594
   System.Web.UI.LosFormatter.DeserializeValueInternal() +369
   System.Web.UI.LosFormatter.DeserializeValueInternal() +594
   System.Web.UI.LosFormatter.DeserializeValueInternal() +369
   System.Web.UI.LosFormatter.DeserializeValueInternal() +594
   System.Web.UI.LosFormatter.DeserializeValueInternal() +369
   System.Web.UI.LosFormatter.DeserializeValueInternal() +594
   System.Web.UI.LosFormatter.DeserializeValueInternal() +369
   System.Web.UI.LosFormatter.DeserializeValueInternal() +594
   System.Web.UI.LosFormatter.DeserializeValueInternal() +369
   System.Web.UI.LosFormatter.DeserializeValueInternal() +594
   System.Web.UI.LosFormatter.DeserializeValueInternal() +369
   System.Web.UI.LosFormatter.DeserializeValueInternal() +594
   System.Web.UI.LosFormatter.DeserializeValueInternal() +369
   System.Web.UI.LosFormatter.DeserializeValueInternal() +594
   System.Web.UI.LosFormatter.DeserializeValueInternal() +369
   System.Web.UI.LosFormatter.DeserializeValueInternal() +594
   System.Web.UI.LosFormatter.DeserializeValueInternal() +369
   System.Web.UI.LosFormatter.DeserializeValueInternal() +323
   System.Web.UI.LosFormatter.Deserialize(String input) +332
   System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +102

[HttpException (0x80004005): Invalid_Viewstate
      Client IP: 75.183.136.75
      Port: 2321
      User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)
      ViewState: dDwyODE0OTUxOTI7dDw7bDxpPDE+Oz47bDx0PDtsPGk8MT47PjtsPHQ8O2w8aTwxPjs+O2w8dDw7bDxpPDA+Oz47bDx0PDtsPGk8MD47PjtsPHQ8O2w8aTwxPjtpPDI+Oz47bDx0PDtsPGk8MD47PjtsPHQ8O2w8aTwwPjs+O2w8dDw7bDxpPDA+Oz47bDx0PHA8cDxsPFRleHQ7Rm9udF9Cb2xkO0ZvcmVDb2xvcjtGb250X1NpemU7XyFTQjs+O2w8V2VsY29tZSB0byB0aGUgT2NlYW4gUGxhemEgb25saW5lIHJlc2VydmF0aW9uIHN5c3RlbS47bzx0PjsyPFJveWFsQmx1ZT47U3lzdGVtLldlYi5VSS5XZWJDb250cm9scy5Gb250VW5pdCwgU3lzdGVtLld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TwwPjs+O2w8dDxwPHA8bDxCYWNrSW1hZ2VVcmw7XyFTQjs+O2w8aHR0cHM6Ly93d3cud2VyZW50cm9vbXMuY29tL0ltYWdlcy9vY2VhbkJvdHRvbS5qcGc7aTw2NTUzNj47Pj47Pjs7Pjs+Pjt0PDtsPGk8MD47PjtsPHQ8cDxwPGw8QmFja0ltYWdlVXJsO18hU0I7PjtsPGh0dHBzOi8vd3d3LndlcmVudHJvb21zLmNvbS9JbWFnZXMvT0NCb3R0b20yLmpwZztpPDY1NTM2Pjs+Pjs+Ozs+Oz4+O3Q8O2w8aTwwPjs+O2w8dDxwPHA8bDxCYWNrSW1hZ2VVcmw7XyFTQjs+O2w8aHR0cHM6Ly93d3cud2VyZW50cm9vbXMuY29tL0ltYWdlcy9PQ0JvdHRvbTMuanBnO2k8NjU1MzY+Oz4+Oz47Oz47Pj47Pj47Pj47Pj47Pj47Pj47Pj47Pj47Pj47bDxSZXNlcnZhdGlvbjpjYnhBZG1pbjtSZXNlcnZhdGlvbjpjYnhBdHRlbmQ7UmVzZXJ2YXRpb246Y2JsUGFja2FnZUFtZW5pdGllczowO1Jlc2VydmF0aW9uOmNieEZ1dHVyZUVtYWlscztSZXNlcnZhdGlvbjpjYnhEaXNjbGFpbWVyOz4+
      Http-Referer: https://www.werentrooms.com/reserv/reservation.aspx?hotelid=25
      Path: /reserv/reservation.aspx.]
   System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +443
   System.Web.UI.Page.LoadPageViewState() +18
   System.Web.UI.Page.ProcessRequestMain() +447

 
0
Comment
Question by:Karla77
  • 3
5 Comments
 
LVL 32

Accepted Solution

by:
Daniel Wilson earned 500 total points
ID: 18741367
All I can tell so far for sure (and you may have figured it out) is that somewhere that you're trying to convert a string to an Int32, you're actually passing in an empty string.

If I'm reading this right, you're explicitly calling ParseInt32 somewhere in your page.  For debugging, can you print out the value of each string you're trying to parse to an int32 to find the problem value?
0
 

Author Comment

by:Karla77
ID: 18741988
Thanks, I figure it out. but you can have the points
0
 
LVL 32

Expert Comment

by:Daniel Wilson
ID: 18742154
Sorry I was not able to be more help on it.
0
 

Expert Comment

by:DiskFaktory
ID: 24862886
How can you solve this problem? i have the same problem too
0
 
LVL 32

Expert Comment

by:Daniel Wilson
ID: 24942197
For debugging, can you print out the value of each string you're trying to parse to an int32 to find the problem value?
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A frequently used term in Object-Oriented design is "SOLID" which is a mnemonic acronym that covers five principles of OO design.  These principles do not stand alone; there is interplay among them.  And they are not laws, merely princ…
A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now