Skip to Content
Former Member
Oct 15, 2014 at 03:18 PM

64 BIT Sybase.ADONet4.ASEClient.dll dont support unnamed parameters


We are migrating from 32 bit website to 64 bit website.

we have number of stored procedure calls calling Sybase.Data.AseClient.dll in "EXEC sp_test ? " format from our database layer.

with the new 64 bit DLL Sybase.ADONet4.ASEClient.dll the above SP call format is throwing an exception Incorrect syntax near '?'.

following is the stack trace

at Sybase.Data.AseClient1.AseCommand.CheckResult(Int32 res)

at Sybase.Data.AseClient1.AseCommand.Execute(CommandBehavior commandBehavior)

at Sybase.Data.AseClient1.AseCommand._ExecuteReader(CommandBehavior commandBehavior)

at Sybase.Data.AseClient1.AseCommand.ExecuteReader(CommandBehavior commandBehavior)

at Sybase.Data.AseClient.AseCommand.ExecuteDbDataReader(CommandBehavior behavior)

at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)

please suggest me the work around for this....