Version 18.104.22.1687 have a new BUG in .NET driver.
If you try to execute a sql with string parameter it's throws an exception
It works fine using int parameters. Didn't try with another types.
Here is a sample application.
WORKAROUND use build 2427
You should post this to the official newsgroup or use the following way:
How do I report a bug?
Log in to http://case-express.sybase.com.
Bugs reported using Case-Express are assigned a lower priority than cases opened through Technical Support. For priority issues, open a support case with Technical Support (http://www.sybase.com/support).
by the way, with 22.214.171.1242 it works ok.
answered 09 Aug '10, 08:03
I've tested 126.96.36.1997 using Visual Studio 2005 / 2008 / 2010 for all .NET Framework versions ( 2.0 / 3.0 / 3.5 / 3.5 Client Profile / 4.0 / 4.0 Client Profile ), but I was not able to reproduce this problem. We have testing code which covers this scenario. We've never seen this problem.
I don't know why you got this error. It's probably caused by some version problems. I would suggest reinstall SQL Anywhere and check the GAC and machine.config.
answered 11 Aug '10, 16:56
Minghai Chang 1