Re: Unable to convert MySQL date/time value to System.DateTime
Posted by: Fernando Gonzalez.Sanchez
Date: February 27, 2013 12:55PM

Hi,

Yes, Allow Zero Datetime=true should make Connector return MySqlDateTime instead of System.DateTime.
Two questions:
- Which Connector/NET version are you using?
- Can you post a sample app reproducing the issue?
If not, can you include the callstack?
(In Visual Studio you can get the exact point of the exception by calling up exception breakpoints with Ctrl+Alt+E, and marking "Common Language Runtime Exception" thrown).


Thanks

Options: ReplyQuote


Subject
Written By
Posted
Re: Unable to convert MySQL date/time value to System.DateTime
February 27, 2013 12:55PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.