prakash s

prakash s

  • NA
  • 12
  • 0

String was not recognized as a valid DateTime.

Apr 16 2009 6:53 AM

hi,

String was not recognized as a valid DateTime.This error occurs only in the server.

But in local machine i am not getting this error.please any one help me....

i don't no the reason why this error occurs in server.The below error occurs.

System.FormatException: String was not recognized as a valid DateTime. at System.DateTimeParse.GetDayOfNNY(DateTimeResult result, DateTimeRawInfo raw, DateTimeFormatInfo dtfi) at System.DateTimeParse.ProcessTerminaltState(Int32 dps, DateTimeResult result, DateTimeRawInfo raw, DateTimeFormatInfo dtfi) at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles) at System.DateTime.Parse(String s, IFormatProvider provider, DateTimeStyles styles) at System.DateTime.Parse(String s, IFormatProvider provider) at System.DateTime.Parse(String s) at System.Convert.ToDateTime(String value) at

Regards,

Prakash


Answers (7)