SSRS 2008 R2 calls Oracle stor proc produces error invalid number or type of parameters

Hi,
Our Microsoft SQL Server Reporting Services (SSRS) version 2008 R2 reports have been working for years. They retrieve data from stored procedures on an Oracle 11 DB using the Oracle 11 Client. After the Oracle Client on the SSRS server was upgraded from version 11 to 12, none of the reports work anymore.
Trying to open any report in IE displays the following error:
Query execution failed for dataset 'ds_MyDataset'. ---> System.Data.OracleClient.OracleException:
ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'usp_MyOracleStoredProc'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
The simplest example we're using to troubleshoot the problem is a report that has no parameters, which calls an Oracle stored procedure which has no input parameters, and only 1 output parameter (of type "Ref Cursor", the one Oracle needs in order to return the resultset). Even this simple report produces the error shown above.
I placed a "debugging aid" inside the body of the stored procedure, a SQL insert statement to log to a table, so I can see if the body of the procedure's being executed at all. It never runs. That leads me to think that the error occurs before executing the procedure, when SSRS is probably using something like DeriveParameters() to detect the number and type of parameters the procedure has.
This leads me to think that when SSRS detects which parameters the Oracle procedure has, the Oracle Client returns 1 parameter (the output cursor). SSRS looks at the number of parameters defined in the report's dataset, and it finds zero b/c the output cursor parameter Oracle uses to return the data doesn't need or can't be defined in SSRS. Then SSRS compares 1 <> 0, and displays the error.
So, in order to test, I removed the output parameter (the one of type "Ref Cursor") from the Oracle stored procedure, and then the report runs, and the body of the procedure gets executed. There are no errors, but no data b/c the output cursor parameter has being removed from the Oracle procedure.
This leads me to think that in this case, when SSRS detects which parameters the Oracle procedure has, the Oracle Client returns zero parameters. SSRS looks at the number of parameters defined in the report's dataset, and it matches b/c there aren't any, so SSRS proceeds to execute the procedure.
Could there be a "miscommunication" between SSRS 2208 R2 and Oracle Client 12 in reference to the number of parameters, b/c with Client 11 all reports work, but with 12 none works?
Any help with this matter will be greatly appreciated.
Sincerely,
Richard

Our Microsoft SQL Server Reporting Services (SSRS) version 2008 R2 reports have been working for years. They retrieve data from stored procedures on an Oracle 11 DB using the Oracle 11 Client. After the Oracle Client on the SSRS server was upgraded from version 11 to 12, none of the reports work anymore.
Havent' run across that one before but it sounds like more of a problem with SSRS than anything to do with Oracle.
But what you posted above raises the obvious question: WHY?
Why did you upgrad the Oracle client to 12c to begin with if you are still using an Oracle 11g database? Major upgrades like that are normally done for very specific reasons so what were they?
I suggest you test by reinstalling the 11g client and get your reports working again.
Also - did you install the new version of ODAC to support the new Oracle client? There could be a compatibility issue if you are using a new Oracle client but the older ODAC version.
ODAC 12c Release 2 installation instructions
You also need to make sure the bit versions (32 vs 64 bit) match.

Similar Messages

  • Call to Package Procedure fails with wrong number or type of parameters

    I think its getting to the correct package and procedure since if I change the name slightly, I get an error about it not being defined.
    Here is my Parameter set up:
    OracleParameter[] theParams = new OracleParameter[26];
    theParams[0] = new OracleParameter("P1",OracleDbType.Char,2);
    theParams[1] = new OracleParameter("P2", OracleDbType.Char, 12);
    theParams[2] = new OracleParameter("P3", OracleDbType.Char, 12);
    theParams[3] = new OracleParameter("P4", OracleDbType.Char, 12);
    theParams[4] = new OracleParameter("P5", OracleDbType.Double);
    theParams[5] = new OracleParameter("P6", OracleDbType.Char, 12);
    theParams[6] = new OracleParameter("P7", OracleDbType.Char, 12);
    theParams[7] = new OracleParameter("P8", OracleDbType.Char, 12);
    theParams[8] = new OracleParameter("P9", OracleDbType.Char, 10);
    theParams[9] = new OracleParameter("P10", OracleDbType.Char, 3);
    theParams[10] = new OracleParameter("P11", OracleDbType.Char, 2);
    theParams[11] = new OracleParameter("P12", OracleDbType.Char, 2);
    theParams[12] = new OracleParameter("P13", OracleDbType.Char, 2);
    theParams[13] = new OracleParameter("P14", OracleDbType.Char, 6);
    theParams[14] = new OracleParameter("P15", OracleDbType.Char, 6);
    theParams[15] = new OracleParameter("P16", OracleDbType.Varchar2);
    theParams[16] = new OracleParameter("P17", OracleDbType.Char, 2);
    theParams[17] = new OracleParameter("P18", OracleDbType.Char, 16);
    theParams[17].Direction = System.Data.ParameterDirection.Output;
    theParams[18] = new OracleParameter("P19", OracleDbType.Char, 12);
    theParams[18].Direction = System.Data.ParameterDirection.Output;
    theParams[19] = new OracleParameter("P20", OracleDbType.Varchar2, 12);
    theParams[20] = new OracleParameter("P21", OracleDbType.Varchar2);
    theParams[21] = new OracleParameter("P22", OracleDbType.Char, 2);
    theParams[22] = new OracleParameter("P23", OracleDbType.Char, 2);
    theParams[23] = new OracleParameter("P24", OracleDbType.Char, 2);
    theParams[24] = new OracleParameter("P25", OracleDbType.Char, 2);
    theParams[25] = new OracleParameter("P26", OracleDbType.Char, 2);
    Now the problem is that the package definition is declared using types from database table columns, for the most part.
    So for those, I used the real types of those columns, like for CHAR(2) I used OracleDbType.Char with length 2.
    There are just a few odd balls that I'm not sure about.
    For new OracleParameter("P5", OracleDbType.Double);, this is a parameter defined usijng a column type, that is NUMBER(8). Not sure what to use here.
    For the line theParams[15] = new OracleParameter("P16", OracleDbType.Varchar2);, the parameter definition for the procedure parameter is VARCHAR2. So I used that with no length specified. Is that correct?
    The oddest is this one, theParams[19] = new OracleParameter("P20", OracleDbType.Varchar2, 12);, where the procedure parameter is defined as a type from another package. That in turn is defined as a RECORD:
    TYPE t_log_rec IS RECORD (
    log_seq t_handle -- VARCHAR2(12)
    and t_handle is defined in terms of another table column, and that is defined as VARCHAR2(12).
    Any help on how to map those Oracle types back to .Net Oracle data types and parameter definitions is appreciated.

    PLSQL Record types cannot be passed directly via OCI (read client) apps, and can only be instantiated/passed from other PLSQL procedures.
    You could create a wrapper procedure in the database that accepts all scalar types, which then converts the varchar2 into a t_log_rec and then calls the "real" procedure.
    Or, you could instantiate a t_log_rec inside an anonymous block and call the real procedure via that anonymous block.
    Varchar2 parameters need size defined. When you assign an IN param a value, size is implicitly defined. OUT parameters need to have size explicitly defined.
    Hope it helps
    Greg

  • Getting an error from calling a store proc

    this is my code calling a store proc. i got all oracle 8i
    drivers imported.
    package FMISBean;
    import java.sql.*;
    import oracle.jdbc.driver.*;
    public class getrecordj
              public static void main(String [] args){
         //global variables
         Connection conOrcl=null;
    String ProjectID ="222700-";
              CallableStatement C_TPRO_J=null;
         ResultSet R_TPRO_J = null;
         try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    conOrcl=DriverManager.getConnection("jdbc:odbc:FMISORCL","FMIS_USER","FMIS123");
              try{
              String SQL ="{ ? = call getJrecord(?) }";
         C_TPRO_J = conOrcl.prepareCall(SQL);
         //assign the ? to the argument passed
              C_TPRO_J.registerOutParameter(1,OracleTypes.CURSOR);
              C_TPRO_J.setString(2,ProjectID);
         //execute the query
              C_TPRO_J.executeQuery();
              R_TPRO_J = (ResultSet) C_TPRO_J.getObject(1);
         //looping through the resultSet
         while (R_TPRO_J.next()){
         //create an instance of the class
              // JavaBeans JItems = new JavaBeans();
         // set it to the Bean
              System.out.println(R_TPRO_J.getString(1));
              System.out.println(R_TPRO_J.getString(2));
              System.out.println(R_TPRO_J.getString(3));
              System.out.println(R_TPRO_J.getString(4));
              System.out.println(R_TPRO_J.getString(5));
              System.out.println(R_TPRO_J.getString(6));
              //JItems.setexistingLane(R_TPRO_J.getInt(3));
              // JItems.setproposed_lane(R_TPRO_J.getInt(4));
              // JItems.setcomnt(R_TPRO_J.getString(5));
              // JItems.setcomntType(R_TPRO_J.getString(6));
         //add the object to the vector
    // V_itemsJ.addElement(JItems);
         }catch(SQLException w){
              System.out.println(w.getMessage());
         }}catch(Exception S){
         //returning the vector
              //     return V_itemsJ;
    //closing bracets
    the store proc works fine if i test it in sql plus but when i call it from the page i get a dos window error
    [oracle][orant]:line 1, colunm 13
    PLS: expression is of wrong type
    line 1 , colunm 7
    PL/SQL: statement ignored
    any ideas please would help?

    Here are some examples to reference:
    http://www.javaalmanac.com/egs/java.sql/CallFunction.html
    http://www.javaalmanac.com/egs/java.sql/CallProcedure.html
    DesQuite

  • Calling Oracle store procedure from Crystal 11 command

    I need to call Oracle store procedure from Crystal Command. The Store proc has ref cursor. Is it possible. Can you post few examples?
    Also, is it possible to have multiple sql statements in a Crystal Command, when working with Oracle 10g?
    It is working for SQL server.

    Please re-post if this is still an issue to the Data Connectivity - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly.

  • Data Service Not showing all the out param values in Oracle Store proc call

    Hi,
    I have imported a Oracle stored proc which takes 3 input params and gives 33 out params.
    While testing the Data Service , it is showing only the First 3 out params.
    I tried the same request thrught JDBC code and it is showing results for some of the other params.
    Is this any DSP issue ?
    Thanks
    Gkumar

    Open a case with Customer Support and ask for the patch on CR295750.

  • Calling ORACLE Store Procedure with parameters in user define function

    Hi everybody,
    We have a scenario connecting Oracle DB thru JDBC adapter.
    We have to call store procedure with input parameter and output parameter to retrieve data from DB. The implementation was made using JDBC adapter by building the correct XML message with EXECUTE action, and it works fine.
    Now we need to use DB lookup within mapping. I wrote users define function with SELECT statement (using the JDBC adapter) and it works fine but I need to call store procedure in ORACLE instead of SELECT statement.
    I found lot of examples concerning DB lookup but none of them explained how to write UDF calling store procedure in ORACLE with input and output parameters.
    I am looking for an example.
    Thanks in advance,
    Gigi

    I agree with you, but issue is we have lots of existing store procedure, which we need to call where damn required. I am sure those will be few but still i need to find out.
    If you think you are going to get existing MS Stored Procedures  or Oracle Packages that had nothing to do with the ORM previously to work that are not geared to do simple CRUD operations with the ORM and the database tables, you have a rude awakening
    coming that's for sure. You had better look into using ADO.NET and Oracle Command objects and call those Oracle Packages by those means and use a datareader.
    You could use the EF backdoor, call Oracle Command object and use the Packages,  if that's even possible, just like you can use MS SQL Server Stored Procedures or in-line T-SQL via the EF backdoor.
    That's about your best shot.
    http://blogs.msdn.com/b/alexj/archive/2009/11/07/tip-41-how-to-execute-t-sql-directly-against-the-database.aspx

  • S'one tell me how to call Oracle Stored Proc from Java

    Hi,
    I have a problem in calling the Stored proc using callable statement.It looks like we are doing the same thing or no..
    Pl..let me know if you can correct me..Am enclosing the stored proc and java Code...
    CREATE OR REPLACE PROCEDURE StoreFTPAddress (FTP in FTPTYPE) is
    BEGIN
    INSERT INTO DES.FTPSERVICE(
    FTPID,
    COMPANYID,
    SERVERNAME,
    DIRECTORY,
    USERNAME,
    PASSWORD,
    INSTRUCTIONS)
    VALUES( FTPID.NEXTVAL,
    FTP.COMPANYID,
    FTP.SERVERNAME,
    FTP.DIRECTORY,
    FTP.USERNAME,
    FTP.PASSWORD,
    FTP.INSTRUCTIONS);
    END;
    JAVA CODE :;
    public String retrieveFormatExtension(String formatName)
    OracleResultSet rs_form = null;
    try
    conn = ConnectionDataObjectImpl.getConnection();
    Statement stmt = conn.createStatement();
    String sql_retrieve = "{call retrieveFormatExtension} " ;
    CallableStatement cst = conn.prepareCall(
    "{call retrieveFormatExtension(?,?)}");
    cst.setString(1," FName ");
    cst.registerOutParameter(1, OracleTypes.VARCHAR); // OUT Parameter
    cst.executeQuery();
    rs_form = (OracleResultSet) cst.getObject(1);
    cst.close();
    catch (SQLException ex)
    System.out.println("SQLException : " + ex.getMessage());
    return null;
    Regards
    Deepauk
    [email protected]
    null

    Syntactically it looks fine. Only thing is u r calling the proc with wrong name. Your procedure takes only one parameter and i.e
    IN type. I think u need to correct ur preparecall statement.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Ayappa:
    Hi,
    I have a problem in calling the Stored proc using callable statement.It looks like we are doing the same thing or no..
    Pl..let me know if you can correct me..Am enclosing the stored proc and java Code...
    CREATE OR REPLACE PROCEDURE StoreFTPAddress (FTP in FTPTYPE) is
    BEGIN
    INSERT INTO DES.FTPSERVICE(
    FTPID,
    COMPANYID,
    SERVERNAME,
    DIRECTORY,
    USERNAME,
    PASSWORD,
    INSTRUCTIONS)
    VALUES( FTPID.NEXTVAL,
    FTP.COMPANYID,
    FTP.SERVERNAME,
    FTP.DIRECTORY,
    FTP.USERNAME,
    FTP.PASSWORD,
    FTP.INSTRUCTIONS);
    END;
    JAVA CODE :;
    public String retrieveFormatExtension(String formatName)
    OracleResultSet rs_form = null;
    try
    conn = ConnectionDataObjectImpl.getConnection();
    Statement stmt = conn.createStatement();
    String sql_retrieve = "{call retrieveFormatExtension} " ;
    CallableStatement cst = conn.prepareCall(
    "{call retrieveFormatExtension(?,?)}");
    cst.setString(1," FName ");
    cst.registerOutParameter(1, OracleTypes.VARCHAR); // OUT Parameter
    cst.executeQuery();
    rs_form = (OracleResultSet) cst.getObject(1);
    cst.close();
    catch (SQLException ex)
    System.out.println("SQLException : " + ex.getMessage());
    return null;
    Regards
    Deepauk
    [email protected]
    <HR></BLOCKQUOTE>
    null

  • Issue with proc-ora-06550 wrong number or types of arguments in call to

    Hi....
    When i am running the flollwing procedure as
    SQL> exec Prc_WA_Default_Currt_flag(15445);
    the following error is thrown.......could someone help me and please let me know how this can be corrected.
    BEGIN Prc_WA_Default_Currt_flag(15445); END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to
    'PRC_WA_DEFAULT_CURRT_FLAG'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    ***proc code****
    CREATE OR REPLACE procedure Prc_WA_Default_Currt_flag(Instance_Id_Upd_in in number,dummy1 out number) as
    Instance_Id_Upd1 number;
    dummy2 number;
    cursor c1 is select rwid from wa_temp_default;
    begin
    Instance_Id_Upd1:=Instance_Id_Upd_in;
    for i in c1 loop
    update default_event_log set current_flag=null,Instance_id_upd=Instance_Id_Upd1
    where rowid =i.rwid and load_date<(select currLoadtime from wa_batch where
    jobname='Default_event_log') and current_flag='Y';
    end loop;
    commit;
    for i in c1 loop
    update default_event_log set current_flag='Y'
    where load_date>=(select currLoadtime from wa_batch where
    jobname='Default_event_log') and rowid=i.rwid;
    end loop;
    commit;
    select to_number(Instance_Id_Upd1) into dummy1 from dual;
    end;
    /

    Hi,
    Since it contains an out parameter it has to run this way
    declare
    dummy_out number;
    begin
    prc_wa_default_currt_flag(15445,dummy_out);
    end;Regards
    Anurag

  • Oracle Code example produces errors

    This code example is taken from the XML Developer's guide, but doesn't seem to run without producing errors.
    Is there a way to fix this?
    DROP TABLE emp_tab
    CREATE TABLE emp_tab
    (emp_col XMLTYPE)
    INSERT INTO emp_tab VALUES(
    XMLType('
    <EMPLOYEES>
    <EMP>
    <EMPNO>112</EMPNO>
    <EMPNAME>Joe</EMPNAME>
    <SALARY>50000</SALARY>
    </EMP>
    <EMP>
    <EMPNO>217</EMPNO>
    <EMPNAME>Jane</EMPNAME>
    <SALARY>60000</SALARY>
    </EMP>
    <EMP>
    <EMPNO>412</EMPNO>
    <EMPNAME>Jack</EMPNAME>
    <SALARY>40000</SALARY>
    </EMP>
    </EMPLOYEES>'));
    SELECT UPDATEXML(emp_col, '/EMPLOYEES/EMP[EMPNAME="Joe"]/SALARY/text()', 100000,
    '//EMP[EMPNAME="Jack"]/EMPNAME/text()','Jackson',
    '//EMP[EMPNO=217]',
    XMLTYPE.CREATEXML('<EMP><EMPNO>217</EMPNO><EMPNAME>Jane</EMPNAME>'))
    FROM emp_tab e;

    Hi,
    There is a missing </EMP> Tag in the updateXML statement which causes the SQL error. Once this is corrected the code example will execute properly.
    Here is the corrected code example:
    SET LONG 20000
    DROP TABLE emp_tab
    CREATE TABLE emp_tab
    (emp_col XMLTYPE)
    INSERT INTO emp_tab VALUES(
    XMLType('
    <EMPLOYEES>
    <EMP>
    <EMPNO>112</EMPNO>
    <EMPNAME>Joe</EMPNAME>
    <SALARY>50000</SALARY>
    </EMP>
    <EMP>
    <EMPNO>217</EMPNO>
    <EMPNAME>Jane</EMPNAME>
    <SALARY>60000</SALARY>
    </EMP>
    <EMP>
    <EMPNO>412</EMPNO>
    <EMPNAME>Jack</EMPNAME>
    <SALARY>40000</SALARY>
    </EMP>
    </EMPLOYEES>'));
    SELECT UPDATEXML(emp_col, '/EMPLOYEES/EMP[EMPNAME="Joe"]/SALARY/text()', 100000,
    '//EMP[EMPNAME="Jack"]/EMPNAME/text()','Jackson',
    '//EMP[EMPNO=217]',
    XMLTYPE.CREATEXML('<EMP><EMPNO>217</EMPNO><EMPNAME>Jane</EMPNAME></EMP>'))
    FROM emp_tab e;
    Hope it helps.
    Thanks
    Shefali

  • Replicating a standard Oracle API giving PLS-00306: wrong number or types

    I have replicated standard Oracle API to customize it and call it from an external procedure.
    When I am calling the customized API, it is giving me '[Error] PLS-00306 (3484: 16): PLS-00306: wrong number or types of arguments in call to 'PICK_RELEASE'' error.
    I am pretty sure that I am passing proper parameter values to the customized API call.
    Is there any thing I am missing here or is there any restriction on package which is not letting me use the standard API?
    Thank you,

    996060 wrote:
    I have replicated standard Oracle API to customize it and call it from an external procedure.
    When I am calling the customized API, it is giving me '[Error] PLS-00306 (3484: 16): PLS-00306: wrong number or types of arguments in call to 'PICK_RELEASE'' error.
    I am pretty sure that I am passing proper parameter values to the customized API call.
    Is there any thing I am missing here or is there any restriction on package which is not letting me use the standard API?
    Thank you,Have you reviewed the suggested solutions in (OERR: PLS-306 wrong number or types of arguments in call to '%s' [ID 27323.1])?
    Thanks,
    Hussein

  • PLSQL Concurrent error: wrong number or types of arguments in call

    Hi there,
    I've defined a PLSQL Concurrent with 2 parameters:
    10) DELIVERABLE_ID using valueset 10/Number (A 10 digit positive number field with no validation)
    20) STATUS using valueset 10 Characters (10 Characters free text with no validation)
    My request run into error, with parameter values DELIVERABLE_ID = 105367,STATUS=New
    Cause: FDPSTP failed due to ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'EBOARD_WF_START'
    ORA-06550: line 1, column 7:
    But I ran the the same PLSQL from toad
    ADB_PA_BC_WF.EBOARD_WF_START (105367,'New');
    I dont have any error, it completed successfully.
    Any clue what gone wrong?

    You need to define package / procedure with RETCODE and ERRBUF arguments to call as concurrent program.
    procedure my_cp
    ( errbuf out varchar2,
    retcode out varchar2,
    p_arg1 in varchar2,
    p_arg2 in varchar2
    Regards,
    Gareth

  • Calling Oracle Stored proc with record type and table Type

    I have a oracle SP which takes record type and table Type which are used for order management.
    Is there anay way to populate parameters with these datatypes and call the stored procedure using ODP.NET?
    Please help.
    Thanks in advance

    Hi,
    ODP supports associative arrays and REF Cursors. There is no support for PLSQL table of records.
    Jenny

  • Call Library Function Node produces error in Windows 7

    Hi,
          I've created a simple program using LabVIEW 8.5 that uses calls in winscard.dll to read and write to a Smart Card.  I use Call Library Function Node to call functions in C:\Windows\System32\winscard.dll.  This program works without a problem in Windows XP both within LabVIEW 8.5 and once it is compiled.  I am also able to get this program to run without a problem when I run it in LabVIEW 2011 on a Windows 7 machine.  However, when I run the program compiled with LabVIEW 8.5 on Windows 7, the first call I make to a function in the DLL returns Windows System Error 2 (file not found).  Subsequent calls to other DLL functions return errors about invalid handles, which makes sense. 
    Can I compile the project in LabVIEW 2011 and save it back to a LabVIEW 8.5 compatible project file?
    Thanks,
    Jason Mazzotta

    Bannu wrote:
    Hi All,
    I am also having the similar issue. I have a VI, developed in LV2010 on Windows XP machine with a dll call using "Call Library Function Node".
    It is working fine in all WindowsXP machines but not in Window7 PCs.
    Getting Error when i tried to open in Windows7 machine:
    Error loading "DLL path....". Invalid access to memory location.
    Please let me know how to make this working on both machines [XP and Win7].
    Thanks,
    Soumya
    Way to little information to say anything useful about it. Attach your VI, explain what it should do, explain what the DLL is you try to call! You don't call your mechanicien saying your car doesn't start and expect him to diagnose the problem over the phone either with that much information.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Call log entry deleting shows error "invalid selec...

    there are three entries in my nokia c3 call log when i delet them the error comes "invalid selection". i had cleared all logs but they still exists. i had reset my phone but still these entries exists in my call log. how can i delet these entries from my call log. and these contact entries are now not in my contact list. but there name exist in my call log without their number and date and call duration.

    I get the same message with various JRE versions (1.3.1 Blackdown, 1.3.1 Oracle, 1.1.8 Oracle).
    DBCA seems to die in line 124 (with the progress bar at 19%) where it uses oracle.sysman.assistants.dbca -> maybe this one is corrupt or wrong/outdated. Maybe it would be possible to save the database generation script (like in 8.x) as a batch and then run it manually without using Java-based tools. But: where do I generate this batchfile - dbca only seems to save a XML configuration file.
    Thanks for any hints. Michael At least for the lat part of my question I found an answer: the option for writing a script with the DB geneation statements is not available for the 'General Purpose' DB. When selecting 'New database' it seems to work fine.
    Michael

  • Calling procedure over dblink - PLS-00306: wrong number or types of args

    Getting the above error when calling a procedure residing in a package on another database over a link.
    The arguments are an object and, a table of objects. The variables being passed are based on objects declared locally that look exactly like the ones the procedure is expecting.
    I haven't done this before so - I'm not sure what the issue is. The execute privilege has been granted on the dependent objects remotely as well as locally. I don't know what else to try and, I have not had any luck looking for a similiar issue online. Please help.

    Thanks but - before doing that I just wanted to see if someone can review this and see if this is my problem:
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96594/adobjbas.htm#466038
    We are using objects declared on the remote database. And, my variables I'm passing are of reference to exact copies on the host. But, from what I understand from the link above - you can't use object types across links. I'm completely lost as to whether this is the issue or not. It seems like a fairly obscure topic as far as documentation goes. If this is the issue however - what is the way around it? We are loading a table of objects with 40,000 plus rows of data to pass to a procedure remotely. If we can't pass the object type - how do we get the rows to the procedure (and, we aren't against modifying the remote procedure - just need to know the best method).
    Thanks in advance for your time - help.

Maybe you are looking for

  • How can I get MPEG-2 video into Final Cut Pro X?

    Hello!  I have several MPEG-2 video files on which I need to perform some edits.  When I tried to import them into Final Cut Pro, I learned that Final Cut Pro can't import MPEG files.  Okay, so I went into QuickTime and exported one as 720p.  20 minu

  • Question mark flashing CD stuck in macBook

    Hello, My MacBook doesnt tur on, I got a question mark flashing. There is a CD stuck inside. I tried everything: ctrl-command-o-f mouse buttom-power reset the memory with command opt p r But the cd is still inside and the question mark too. What can

  • GR -BASED- IV

    Hi all , I have maintained split valuation for a material and valuation types are Q1(maintained condition records as 120/-) and Q2 (maintained condition record as 100/-) .I created PO with out any valuation type for  a material so at the time of GR b

  • How does homeshare work?

    How does this work? I have turned it on but I do not see it in the menu list??

  • Submitting a specific form

    Hi all. i have a simple question. Is it possible to submit a specific form form a commandbutton?. I have a webpage with a menu and content on it. I want to submit the form which i defined on the content component when i click on a menu button. On a c