Create an ASE ODBC data source programmaticaly

Create an ASE ODBC data source programmaticaly

Postby 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
cipave
 
Posts: 1
Joined: Wed 12 Jul 2017 16:02

Re: Create an ASE ODBC data source programmaticaly

Postby 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.
MaximG
Devart Team
 
Posts: 745
Joined: Mon 06 Jul 2015 11:34


Return to ODBC Drivers