LS:DO- ODBC could not complete the requested operation

Hi I am trying to connect to AS/400 & getting the following error

“LS:DO- ODBC could not complete the requested operation”

The code where the error is occuring is

call con.ConnectTo(dsnname,username,password)

Please help.

Thanx in advance

Subject: LS:DO- ODBC could not complete the requested operation

check the log in the AS/400 side, there might be something logged in QHST and/or in OUTQ QEZJOBLOG.DSPLOG and WRKOUTQ OUTQ(QEZJOBLOG) should help you to find if and why the AS/400 rejected the connection.

Subject: RE: LS:DO- ODBC could not complete the requested operation

Thanx alex, but there is nothing logged in AS/400 log with respect to this transaction.