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

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

628 Views

We are migrating from 32 bit asp.net website to 64 bit asp.net 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....

Regards,

Ram