NinaWilliam
Member
- Joined
- Jul 13, 2008
- Messages
- 18
- Programming Experience
- 3-5
Hi there
I wrote a web application and it was working fine with no errors in my local server and the live server. My system lost its data and the hard drive got corrupted. So my hard drive was replaced with a new one. When I configure the web application on my new hard drive and run it, it was working ok except for the part that is has date selection on it I get the following error
Exception Type: System.Data.SqlClient.SqlException
Exception Message: The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value.
Exception Source: .Net SqlClient Data Provider
Exception Target Site: Read
I didn’t change the code or anything; the same version is working on the live server with no issues. I don’t know why it is giving me this error in my machine.
Any ideas??
I wrote a web application and it was working fine with no errors in my local server and the live server. My system lost its data and the hard drive got corrupted. So my hard drive was replaced with a new one. When I configure the web application on my new hard drive and run it, it was working ok except for the part that is has date selection on it I get the following error
Exception Type: System.Data.SqlClient.SqlException
Exception Message: The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value.
Exception Source: .Net SqlClient Data Provider
Exception Target Site: Read
I didn’t change the code or anything; the same version is working on the live server with no issues. I don’t know why it is giving me this error in my machine.
Any ideas??