Create an ASE ODBC data source programmaticaly
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.