StuckInTheMiddle
Programmer
I'm moving an application from ASP and Oracle 8i to ASP.NET and Oracle 8i and have when using ASP.NET and the
OLEDB Data Provider for Oracle and calling stored procedures i know work which return resultsets, i get a nasty 'ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'PRC_GET_NAMES' ORA-06550: line 1, column 7: PL/SQL: Statement ignored '
message.
I know the stored procedure has only 2 returned parameters, 1 record count and one resultset. I have the correct no. of types, and the resulset i have setup as a type OleDbType.VarChar, maybe this is the problem? I cant see any other option that would be suitable (tried all of them to no avail). It is a resultset of varchar2s that are being returned (user names).
Does anybody have any ideas to solve this problem? Or should i look at another method of connecting to Oracle?
Any help appreciated, thanks
OLEDB Data Provider for Oracle and calling stored procedures i know work which return resultsets, i get a nasty 'ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'PRC_GET_NAMES' ORA-06550: line 1, column 7: PL/SQL: Statement ignored '
message.
I know the stored procedure has only 2 returned parameters, 1 record count and one resultset. I have the correct no. of types, and the resulset i have setup as a type OleDbType.VarChar, maybe this is the problem? I cant see any other option that would be suitable (tried all of them to no avail). It is a resultset of varchar2s that are being returned (user names).
Does anybody have any ideas to solve this problem? Or should i look at another method of connecting to Oracle?
Any help appreciated, thanks