I'm trying to migrate an old SQL Server database (created in Entity Framework 4) to SQL CE 4. I've moved everything, recreated the schema and inserted the data into the SDF
file, but now when I try to launch my site, I'm getting this error:
The ntext and image data types cannot be used in WHERE, HAVING, GROUP BY, ON, or IN clauses, except when these data types are used with the LIKE or IS NULL predicates.
I've visited several links and they all link to a Microsoft hotfix, which is for SQL CE 3.5. I'm running SQL CE 4 and couldn't find anything relevant.
UPDATE: I've found some possible solutions for Code-first approach, but my database is model-first.