If an ActiveX Data Objects (ADO) application connects to an Oracle database using Microsoft ODBC for Oracle, creates a
Command object of type
adCmdStoredProc with its
CommandText property set to the name of the Oracle package and stored procedure in the "package.procedure" format, and then calls the
Refresh method of the
Command object's
Parameters collection, this call fails with the following error message when the application first tries to refer to one of the subsequent parameters:
Run-time error '3265':
Item cannot be found in the collection corresponding to the requested name or ordinal.
The same call also fails on the
Refresh line of code when you use the Microsoft OLE DB Provider for Oracle, and the following multiple-line Oracle error message is returned:
Runtime error '-2147217900 (80040e14)':
ORA-06650: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'STORED_PROC_NAME'
ORA-06650: line 1, column 7:
PL/SQL: Statement ignored