Xtensive.Orm.SyntaxErrorException:Error 'SyntaxError' while executing query 'SELECT [a].[Id], 160 AS [TypeId], [a].[Code], [a].[MainMacro], [a].[Salutation.Id], [a].[AgeSalutation.Id], [a].[Title.Id], [a].[SalutationTitleRuleType.Id], [a].[IsUserValue], [a].[IsDeleted] FROM [SalutationTitleRule] [a];\r\nSELECT [a].[CultureName], [a].[Target.Id], [a].[TypeId], [a].[Macro] FROM (SELECT [b].[CultureName], [b].[Target.Id], 161 AS [TypeId], [b].[Macro] FROM [SalutationTitleRuleLocalization] [b]) [a] WHERE ([a].[CultureName] = @p0_0_0_0 AND [a].[Target.Id] = @p0_0_0_1); [p0_0_0_0='en-US';p0_0_0_1='874']'. Original message: There was an error parsing the query. [ Token line number = 2,Token line offset = 1,Token in error = SELECT ] StackTrace:
The exception occurs only with SqlServerCe-Provider (not Memory- or SqlServer-Provider) Kind Regards |
Teaman, Try using nightly build 7589, the binaries are available on the website. Hello Dmitri, thanks a lot for the quick upgrade. The error is gone. Hello Teaman, Thanks for confirming this. Now I'm secure =) |
Hello Teaman,
Am I right saying that the error was absent in 4.4 build 7249?
Hello Dmitri,
yes, there was no error in 4.4 build 7249.
According to the exception text, the provider tries executing 2 statements in a batch, but SQL Server CE doesn't support such a feature. I'll investigate the reasons of that behavior, fix it and notify when I'm done.