Different datadirect driver for NT

Edwin

New Member
Hello,

I have made a .NET application which uses the ODBC driver from datadirect delivered with the Progress software (Datadirect 4.20 32-Bit Openedge SQL v10.0B) to connect to a progress 10.0B. When I use this application on windows xp it works great.

But it needs to work on a windows 2000 Server and thats where my problem occurs. The connection works great when I test it under administrative tools/Data sources (ODBC). But when I run the application I get the following error.

ERROR [HYC00] [DataDirect][ODBC OPENEDGE driver]Optional feature not implemented.
ERROR [HY000] [DataDirect][ODBC OPENEDGE driver][OPENEDGE]Error in Network Daemon
ERROR [IM006] [DataDirect][ODBC OPENEDGE driver]Driver's SQLSetConnectAttr failed.
ERROR [HYC00] [DataDirect][ODBC OPENEDGE driver]Optional feature not implemented.
ERROR [HY000] [DataDirect][ODBC OPENEDGE driver][OPENEDGE]Error in Network Daemon
ERROR [IM006] [DataDirect][ODBC OPENEDGE driver]Driver's SQLSetConnectAttr failed.

I hope any of you progress guru's have a solution for this problem?

Thanks in advance,

Edwin
 
Hereby the code which creates the connection, but i dont think its the code that causes the error, cause it it all working fine within windows xp.

private OdbcConnection OdbcConn()
{
OdbcConnection Conn =
new OdbcConnection();
try
{
string strConnectionString = ConfigurationSettings.AppSettings["Connectie"];

// Set properties of the Connection.
Conn.ConnectionString = strConnectionString;
// Open the connection.
Conn.Open();
}
catch(OdbcException exc)
{
string Foutmelding = "";
foreach (OdbcError e in exc.Errors)
{
//verzamel de foutmeldingen
Foutmelding += "Er is een fout '" + e.Message + "' opgetreden tijdens het benaderen van de database. \n\n";
}
Foutmelding += "De applicatie is afgesloten.";
AanmakenEmailBericht(Foutmelding);
}
catch (Exception e)
{
GenereerFoutmeldingConnectie(e);
}
return Conn;
}
 
Back
Top