views:

118

answers:

1

I am using dotConnect LINQ to MySQL and i have the following error. what would be the cause for this issue

annot convert parameter value of type 'System.String' to MySQL type 'MySqlType.TimeStamp'. 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.InvalidCastException: 
Cannot convert parameter value of type 
'System.String' to MySQL type 'MySqlType.TimeStamp'.

Source Error:

Line 93: {
Line 94:  string loginLowered = login.ToLower();                
Line 95:  return context.ISVs.Where(u => u.Email == loginLowered).SingleOrDefault() == null;
Line 96:   
Line 97: }
A: 

This seems to be a concurrency check issue.
Could you please send us (support * devart * com, subject "LINQ: InvalidCast") a small test project illustrating the problem?

Devart
Saravanan I M
Not sure. Are stack traces different?Anyway, the test project will speed up our investigation.
Devart