G
Goren
Guest
I have issue when trying to connect to a progress openedge database using odbc. The client code is in c# and running in docker. Here is my code :
The issue is that program is crashing at the
I can successfully connect using
Environnement : It is a .NET Core app on a docker environment. Here is my odbc.ini file :
I do not understand why I can connect using isql but not using c# OdbcConnection... Thanks in advance
Continue reading...
Code:
using (OdbcConnection cn = new OdbcConnection("DSN=PROGRESS;UID=username;PWD=pass;"))
{
cn.Open();
}
The issue is that program is crashing at the
cn.Open()
with the following error : ERROR [60] [DataDirect][ODBC 20101 driver]6013.I can successfully connect using
isql -v PROGRESS username pass
and I can query tables.Environnement : It is a .NET Core app on a docker environment. Here is my odbc.ini file :
Code:
[PROGRESS]
Driver=/usr/lib/x86_64-linux-gnu/pgoe27.so
HostName=192.168.2.11
DatabaseName=dbname
LogonID=username
Password=pass
PortNumber=20000
I do not understand why I can connect using isql but not using c# OdbcConnection... Thanks in advance
Continue reading...