(Jan Csisko)
1/8/2003 3:58:00 PM
HI Felipe,
the error message does not clarify the cause of this problem. Still,
please check if you do have the OpenLink ODBC Provider within your
OLEDB Provider List as this should be the preferred choice opposed to
the Microsoft OLEDB Provider for ODBC. Additionally, please
doublecheck your Adapter
for settings such as PWD encryption and enabled saving.
Hth,
Regards,
Jan
"Felipe Pacheco" <fpacheco@binarsoftware.com> wrote in message news:<0e7d01c2b699$ac7adda0$d3f82ecf@TK2MSFTNGXA10>...
> I'm connecting to a progress database via odbc.net using
> an openlink driver.
> I configured the System DSN of my server and it works fine
> when I test it within a winform
> application, but when I apply this DSN to a webform(aspx)
> the following weird error occurs(unrecognized SQLState):
>
> Exception Details: Microsoft.Data.Odbc.OdbcException:
> ERROR [D ]
>
> My code (C#):
>
> using Microsoft.Data.Odbc;
>
> OdbcConnection conn = new OdbcConnection();
> conn.ConnectionString = "DSN=progressTSP";
> conn.Open();
> conn.Close();
>
> The exception is thrown when the connection tries to open.
>
> Thanks in advance.