Click here to Skip to main content
15,897,187 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,

I have this error for about 2-3 weeks now .. and it doing my heading ..basically i have just taken over a project from another developer and i keep getting this error, the project in written in angular js c# and breeze and javascript.

Basically does anyone know what this error means or possibly where to find it and resolve it. I know this question to vague but maybe or HOPEFULLY some else has ever ran into this error and resolved hence me asking on here, I wud provide the code but it a lot ! and not knowing exactly the error is coming from is an issue.

This is the error::
*[HT Error] Error retrieving data.A binary operator with incompatible types was detected. Found operand types 'Edm.Int32' and 'Edm.String' for operator kind 'Equal'. Error: A binary operator with incompatible types was detected. Found operand types 'Edm.Int32' and 'Edm.String' for operator kind 'Equal'. *
Posted
Comments
Nathan Minier 13-Nov-14 7:08am    
Yep, that's a C# error that's due to an entity mapping error (Edm = Entity Data Model). Somewhere in the models, most likely an edmx file, there's an operation being performed that should be either:
inVar.ToString() == stringVar
or
Convert.toInt32(stringVar) == intVar

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900