One of my LINQ queries fail with a Syntax Error and the message : "Cannot perform an aggregate function on an expression containing an aggregate or a subquery."
Could you please provide us with the resulting SQL? As I understood, the exception occurs on SQL Server side during the command execution. But if there is a chance, it would be great to get a sample that fails so we could thoroughly investigate the query translation.
Hello TimM,
Could you please provide us with the resulting SQL? As I understood, the exception occurs on SQL Server side during the command execution. But if there is a chance, it would be great to get a sample that fails so we could thoroughly investigate the query translation.
Thanks in advance.
Sample would be hard at the current time (lacking the time at the moment) but I could give you the full exception (including the 'query' it produced).
Just tell me where to send it to (email, ...)
Please, send it to support@x-tensive.com
Thanks.