I recently deployed an application using SQL Anywhere v 22.214.171.12442 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 (126.96.36.19942) 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 188.8.131.5224 or 184.108.40.2068), but CR #741707 is not implemented on the ADO.NET provider (the ADO.NET provider is a lower version than 220.127.116.1124 or 18.104.22.1688).
Deploying the same version of the ADO.NET provider to match the database server version (e.g. 22.214.171.12442) to the client should resolve this issue.
Same error with driver version 126.96.36.19964 and db version 188.8.131.528. Any suggestion?
answered 16 Nov '15, 03:22