Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

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

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question