0

Data.AseClient for connecting to Sybase database from .Net Web API project.

This is my part of the code calling the SP

                        AseCommand dbCommand = new AseCommand("exec My_SP 202111,11488", connection);

                        dbCommand.CommandType = CommandType.Text;

                        connection.Open();

Connection String

var connectionString = "Data Source=Host_IP;Port=10000;Database=my_db;Uid=test48;Pwd=test@123;";

The error I am getting is

SQL Anywhere Error -157: Cannot convert '08/10/09' to a timestamp

Could you please help to resolve this ?

I have tried

connection.Open() only and removed AseCommand part. But the error is same only!

vivek v
  • 167
  • 1
  • 3
  • 16

0 Answers0