Create an ASE ODBC data source programmaticaly

Discussion of open issues, suggestions and bugs regarding usage of ODBC Drivers
Post Reply
cipave
Posts: 1
Joined: Wed 12 Jul 2017 16:02

Create an ASE ODBC data source programmaticaly

Post by cipave » Wed 12 Jul 2017 16:18

Hi,

I want to create an ASE ODBC data source programmaticaly on a Windows 2008 Server.
For doing this I try to implement a c# console application that use windows api functions from odbccp32.dll.
The problem is that I don't know exactly wich attributes I need to set. I tried using this attributes DSN=MyDSN;Data Source=MyASEServer;Database=MyDatabase;Port=MyPort;User ID=MyUser;Password=MyPassword but it does not work, I get an ODBC_ERROR_REQUEST_FAILED error that is a generic error.
The Devart ASE Driver is installed corectly because when I use odbcad32.exe evrything works fine.

Thanks,
Ciprian Pavel

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: Create an ASE ODBC data source programmaticaly

Post by MaximG » Thu 13 Jul 2017 07:35

Thank you for the information. To investigate the problem, please compose and send us via the e-support form (https://www.devart.com the "Support"\"Request Support" menu) a small sample in which the problem occurs.

Post Reply