I recently deployed an application using SQL Anywhere v 220.127.116.1142 with the .Net Dataprovider and using Entity Framework 5.
Since deployment a few days ago I've noticed that I'm intermittently getting the following error - iAnywhere.Data.SQLAnywhere.SAException: Run time SQL error -- *** ERROR *** Assertion failed: 104909 (18.104.22.16842) Invalid request on pooled connection
Here is the complete stack trace - http://pastebin.com/rsbChVXN
So far I haven't been able to find any details on what the potential cause of this may be as I am wrapping my context's in using blocks.
Like I said earlier, its only happened a total of 3 times, but I'd prefer to get to the bottom of this before things potentially get out of hand. Thanks in advance.
asked 16 Oct '13, 14:28
This is a known issue. This can potentially happen if you have a newer version of the database server than the ADO.NET provider.
Specifically, CR #742355 is implemented on the database server (the server is a higher build than 22.214.171.12424 or 126.96.36.1998), but CR #741707 is not implemented on the ADO.NET provider (the ADO.NET provider is a lower version than 188.8.131.5224 or 184.108.40.2068).
Deploying the same version of the ADO.NET provider to match the database server version (e.g. 220.127.116.1142) to the client should resolve this issue.
Same error with driver version 18.104.22.16864 and db version 22.214.171.1248. Any suggestion?
answered 16 Nov '15, 03:22