mysqldatetime exception

346360 pts.
Tags:
C#
MySQL
mysqldatetime exception i am using MySql  with c# in my window application , In code i think everything is fine , when i made a latest patch for the given installer it throwing an exceptuon at client side " Cannot perform '<=' operation on MySql.Data.Types.MySqlDateTime and System.String." when i run it in my application ,it does not throw any exception, i dont know where is the problem, anybody can help me.

Software/Hardware used:
MySQL, C#

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

Me also got the same exception in my application, this is only happen by the Web.config file in out application,

In web.config connection string we placed a property like :

allow zero datetime=true;

Please try to remove this in your connection string in web.config file..

thanks

S.V.Narayana

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • carlosdl
    Please provide more details, and include relevant parts of code. What version of MySql ? What patch did you install ? What is the client OS ?
    69,510 pointsBadges:
    report
  • FoxVandana
    Can you paste the piece of code that crashes?
    35 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following