Am i doing something wrong ? As soon as I make some sort of linq call i get weird errors like this one:
Line 1: Incorrect syntax near '('.
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.Data.SqlClient.SqlException: Line 1: Incorrect syntax near '('.
Source Error:
Line 107: LinqMetaData lm = new LinqMetaData(_da);
Line 108:
Line 109: return Convert.ToInt64(lm.Artikelen.Count());
I used the 3.0 designer and adapter templates.
These llblgen dll are in the bin directory:
ORMsupportclass 3.0.10.0817
Linq Supportclass 3.0.10.0809
SQLserverDQE version 3.0.10.0729
The project is asp.net mvc 4.0 in vs 2010. Everything worked fine in 2.6.
EDIT: Oops, I guess I should have posted this in the helpdesk forum section. But maybe someone else might suffer from the same problem in the future
.