LS:DO ODBC could not complete the requested operation

Hi all,I am trying to connect an oracle database via ODBCConnection class object.But Iam unable to connect. its showing error

LS:DO ODBC could not complete the requested operation

in status=myconnection.connectTo(setupdoc.datasourceName(0),setupdoc.userID(0),setupdoc.passWord(0))line of my code.Should i install some driver or something else?

could anyone help me please

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

Test your inputs. Check the values of setupdoc.datasourceName(0), setupdoc.userID(0), and setupdoc.passWord(0) to make sure they are the correct connection information for an ODBC connection.

Make sure that you know what system the code is being executed on, and that the ODBC datasource is defined on that system. A scheduled agent runs on the server, but an agent invoked from a Notes client runs on the client, even if the agent is in a server replica of the database.