Error ORA-01460 warning ORA-01461 during running a mapping with parameters

Oracle 10g release2(10.2.0.1.0), OWB 10.2.0.1.31, Workflow server 2.6.4
I have a simple process flow ( start -> mapping -> end).
The mapping consists of 4 input groups(3 ordinary tables<INGRP1, INGRP2, INGRP3> and 1 mapping input parameter operator <INGRP4>), a joiner, a filter, an expression operator and 1 output group.
I want to use two variables in join condition, so I bound two mapping input parameters(<INGRP4.SRC_SYS_CDE> and <INGRP4.ADMIN_ORG_NUM>) with two parameters of the process flow's start activity.
Those two mapping input parameters are of type char, one is 4-char long and the other is 2-char long. So I set both of the two parameters of the start activity as String, one as 08, another as 7504.
My join condition is:
INGRP1.ORGIDT = INGRP2.SOURCEORGANIZATIONNO AND
INGRP2.SOURCESYSTEMCODE = INGRP4.SRC_SYS_CDE AND
INGRP2.ADMINORGANIZATIONNO = INGRP4.ADMIN_ORG_NUM AND
INGRP1.CURCDE = INGRP3.NUM(+)
There are no errors and warnings in validation, generation and deployment process, but when I run the process flow, it always finishes blankly(zero insert) with no error and warning messages. It should insert more than 20,000 rows.
When I run the mapping and set the parameters 08 and 7504 at the parameter prompt, then start, the following error and warning occurs.
Error ORA-01460: unimplemented or unreasonable conversion requested
Warning ORA-01461: can bind a LONG value only for insert into a LONG column
So what's the problem? How can I fix it?

The problem was mapping input parameter type.
VARCHAR2-type mapping input parameter works with String-type PF parameter. But CHAR-type won't.

Similar Messages

  • Work around/Alternate solution for Oracle error  ORA-01460 and ORA-02063

    After the installation of Oracle.DataAccess version 2.111.7.20, I get the following error.(the code worked fine with Oracle.DataAccess version 9.2.0.700 )
    I have attached the error as well as the sample code.
    ORA-01460 and ORA-02063 are known bugs in the new ODP but would like to know if there is any Work around/Alternate solution for this problem(other than
    the use of stored procs)..
    Thanks!
    Error:
    ORA-01460: unimplemented or unreasonable conversion requested
    ORA-02063: preceding line from BSREAD_STAGINGRO at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck)
    at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, String procedure, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, Boolean bCheck)
    at Oracle.DataAccess.Client.OracleCommand.ExecuteReader(Boolean requery, Boolean fillRequest, CommandBehavior behavior)
    at Oracle.DataAccess.Client.OracleCommand.ExecuteReader()
    SampleCode
    private bool isValidFieldData(string clientName, string fieldNumber, string uniqueID, string clientID)
    using (OracleConnection mBSConnection = new OracleConnection(mBSConnectionString))
    OracleDataReader oRdr = null;
    OracleCommand Valid_FieldData_Command = null;
    try
    Valid_FieldData_Command = new OracleCommand();
    Valid_FieldData_Command.Connection = mBSConnection;
    Valid_FieldData_Command.CommandText = "SELECT uniqueid FROM EXTDB.BSData WHERE agencyid = :agencyid and agencyname=:agencyname AND fieldnumber =:fieldnumber AND uniqueid = :uniqueid";
    Valid_FieldData_Command.Parameters.Add(":agencyid", OracleDbType.Varchar2, 255).Value = agencyID;
    Valid_FieldData_Command.Parameters.Add(":agencyname", OracleDbType.Varchar2, 255).Value = agencyName;
    Valid_FieldData_Command.Parameters.Add(":fieldnumber", OracleDbType.Varchar2, 255).Value = fieldNumber;
    Valid_FieldData_Command.Parameters.Add(":uniqueid", OracleDbType.Varchar2, 255).Value = uniqueID;
    mBSConnection.Open();
    oRdr = Valid_FieldData_Command.ExecuteReader(); ->Error occurs here
    The error occurs whenever the length of any of the parameter is increased. But there is no specific length where it is breaking down.
    For example in this case, it breaks down with the given error if
    agencyID > 8
    agencyName > 6
    fieldNumber > 9
    uniqueid > 6

    The problem was mapping input parameter type.
    VARCHAR2-type mapping input parameter works with String-type PF parameter. But CHAR-type won't.

  • ORA-01460 and ORA-02063 errors in form built on a view

    We have built an apex form on a view against a remote database (via dblink).
    Running the page brings back data as desired.
    However, clicking on the "edit icon" to make updates results in:
    ORA-01460: unimplemented or unreasonable conversion requested ORA-02063: preceding line from my_dblink
    I have searched and cannot seem to locate a fix. Can anyone provide a solution or further steps to troubleshoot?
    Thanks in advance.

    Right now you will be able to base a portal form only on updatable views. Non updatable views are not supported.
    As a work around you can use QBE reports to query the data, without having the delete and update links.
    Regards,
    Sunil.
    null

  • Warning: Problems occurred during synchronization in Charm with virtual sys

    Hi Team
    I have configured charm with virtual system --(Dev>V01>V02>) as client specific STMS , Where V01 is Quality and V02 is production system; When I do consistency check from solar_project_admin tcode for project created, it shows no errors ;
    but when i try to activate the charma and click on "refresh" button , it throws following error
    "Warning: Problems occurred during synchronization" ;I have checked the logs in SLG1 for object "/TMWFLOW/CMSCV" ; but
    there are no errors except warnings for BC Sets , Can you pl guide what might have gone wrong ?
    All the RFC's are working fine and there is no authorization issue in solution manager.
    Thanks
    Swati

    hi,
    for the CTS activation you must do all the below,
    1. SMSY --> landscape creation
    2. RFC Creations
    3. Client Specific TMS configuration
    4. Prj --> CTS activation.
    go through the below doc,
    [https://websmp209.sap-ag.de/sapdownload/011000358700000657692007E/eCTS_ChaRM_SP12.pdf|https://websmp209.sap-ag.de/sapdownload/011000358700000657692007E/eCTS_ChaRM_SP12.pdf]
    jansi

  • Using LabView to run VB program with parameters

    Hi,
    It's my first message here so I hope I am doing things correctly. I tried to do some research before asking and I found a lot of good informations but right now, I seem to be stuck.
    I am quite new to LabView, I did few VIs here and there but nothing really "serious". I am currently working on a LabView interface that deals with VB, Excel macros and Data extraction from Text file.
    The VB program is in charge of a motor position, then, some Excel macros are used to do some measurement and the results are written in a text file that I use to plot some graphs.
    The VB program I made give the window I put in the picture in the attached files. Basically, you have to enter some values in those TextBox then click on Move and the motor will move. When you click on the button Home, the motor moves back to the position "0", no need of the two TextBox. In my labview interface, I created two ComboBox that contain all the possible values for both of the TextBox of my VB program. What I would like to do, when I click on my "Measure" button on LabView that initiates the VB program, is that it can fill the two TextBox from VB with the data entered in my LabView ComboBox and then run the program, simulating a "click" on the Move button.
    Right now, I found a VI (included in the attached files) that runs my VB program from LabView (I use it as a Sub-VI) but I still have to manually put the values in my VB program. My goal would be that when I click on my LabView button to start my measure, the motor moves but the VB program doesn't show up for the user to manually enter the values he wants.
    I hope I was clear but if you need any clarification.
    I did the the VB program myself.
    I can also link the LabView interface I already created if need be.
    Thanks for your help,
    Baptiste
    Attachments:
    Moteur.png ‏5 KB
    lancerEXE.vi ‏9 KB

    First, thank you for your answers.
    I know that I don't need to use VB or LabView. I just want for myself to be able to use LabView to manage a program in VB, one in VBA and use data from a text file. I know I could write everything in VBA and that would get the job done. The thing is I want to get away from VBA and Excel as much as I can. In the future, the plan would be to re-write my VBA program with LabView but as of now, I just want to use LabView to manage everything. I know I don't really need it but I want to learn how to do it and have something that works.
    So I would like to know if there is way to do what I wish to do, running my VB program with parameters coming from LabView.
    Thanks

  • Error Division by zero not performed during run payroll

    Dear Experts,
    I have problem when run payroll. Division by zero not performed
    Calculation rules L0133****5 AMTIOTLMT RTE=TSDIVP DIVID ARR ZER
    Thanks in advance

    Hi,
    Try checking in It0008 the field Work/hours Period (DIVGV). The issue must be there. In there you probably have a 0 and you must have the numbers of hours of work. Check that field. If you have a number different than 0 then the issue is some place else. If the number is 0 you can enter the hours manually for now to solve it, but you will have to check some configuration of the working times because that field should be fill automatic.
    Check that and if the problem is not in there told us and maybe we can help find another solution.
    Hope it helps.
    Kind Regards,
    Edoardo

  • Reports6i reports fail to run when used with parameters

    Hi there,
    I have successfully got reports 6i integrated with Portal. I can expose a report into a content area and run it as type HTMLCSS etc.
    However, when I change the report component to use the parameters it all goes wrong. I have added the user parameters in my report in the portal report definition 'edit' settings and made them visible via the customize option. I have then edited the properties for the item in the content area and turned on the parameter form.
    When I click on the item to run the report the parameter screen is displayed (with unfriendly P_PARAM_1 style titles which I would also like to change) and I enter the values and run the report. It bombs out with:
    Oracle Reports Server CGI - Report Job has terminated with error.
    Reports Server Replies:
    REP-0248: Security check failed
    Error sequence number is: 17
    Error code30005 - Cannot access the output format:HTML
    In package:wwv_rw_usr function:security_check
    Command line is: server=Rep60_quay-street15 report=glf001aaaaa.rep destype=Cache desformat=HTML rundate="15-FEB-02 02:02:22" P_ACC_FROM="04202" P_ACC_TO="04202" P_COMPANY="Total" P_COST_CENTR="Total" P_EMPLOYEE="Total" P_END_ATTR_VAL="ZZ" P_PERIOD="DEC-01" P_PROGRAM="Total" P_REPORT_TYPE="Account Owner" P_SPARE="Total" P_START_ATTR_VAL="0" WEBDBVERSION="3" WWVRW_LOG_ID_="1" WWVRW_STIME_="-1701052885" SESSION_ID="993046001106" USERID="crystal@offm11"
    Executed on:02/15/02 02:02:22
    The parameter form in Reports works fine. Do I need to change anything for web based parameter forms?
    Any ideas?
    John

    Ok, got it working by ensuring that I have displayed the DESFORMAT to the parameter screen. Weird! Must you always display System Parameters?
    I would still like to change the parameter titles on the parameter screen. Can this be done?

  • How to run a View with parameters

    Hi guys,
    I have a view which has to take the USERNAME of the current user connected to the database as a parameter:
    Create or Replace View XYZ(A1,A2,A3)
    AS Select AA1, AA2, AA3
    from X1, X2
    where ...
    and X1.id_valid in (select XX3.id_valid
                   from X3 XX3
                   where XX3.ID_VALID = X1.id_valid
                   and XX3.username = USERNAME1 )
    Where USERNAME1 is the database user connected to it!.
    Could you give me a hand please?

    Just use the USER pseudocolumn ...
    create view v as
    select *
    from all_users
    where username = user;Richard

  • Autoconfig Error- jtfictx.sh (INSTE8_PRF 1) ORA-29874: warning in the execution of ODCIINDEXALTER routine

    Gurus,
    EBS : R12.1.2 (OS Linux)
    Database: 11.2.0.3 (OS HP UX Itanium)
    I am getting error in autoconfig with jtfictx.sh.  I am cloning PROD to QA. Usually I use RMAN duplicate to clone the database and then Application file system are copied. I have performed this method for many times( say 25 times).
    This iteration after the database recovery, I ran the RDBMS autoconfig which completed successfully. Then I ran the autoconfig on the concurrent manager server  first and received the below error. There are no change of steps from my usual.
    Executing script in InstantiateFile:
    /ebs02/oracle/inst/apps/SID_servername/admin/install/jtfictx.sh
    script returned:
    jtfictx.sh started at Sun Sep  8 01:04:11 CDT 2013
    SQL*Plus: Release 10.1.0.5.0 - Production on Sun Sep 8 01:04:11 2013
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Enter value for 1: Enter value for 2: Enter value for 3: Connected.
    DECLARE
    ERROR at line 1:
    ORA-29874: warning in the execution of ODCIINDEXALTER routine
    ORA-29960: line 1,
    DRG-10595: ALTER INDEX JTF_AMV_ITEMS_URL_CTX failed
    DRG-11422: linguistic initialization failed
    DRG-11446: supplied knowledge base file
    /u01/oracle/orahome/11.2.0/ctx/data/enlx/droldUS.dat not installed
    ORA-06512: at "SYS.DBMS_SQL", line 1199
    ORA-06512: at line 96
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    jtfictx.sh exiting with status 1
    ERRORCODE = 1 ERRORCODE_END
    .end std out.
    .end err out.
    I usually backup the autoconfig/ context file before the refresh of EBS files from PROD. The previous refresh was performed 2 months ago and it was successful. There is no changes on database ORACLE_HOME as depicted in the error.
    I see that someone have had asked similar error in forums and Hussein did recommend some Metalink Note. I did refer that but so far no success. Please do let me know if anyone faced similar issue and how did you solve it?
    Notes Referred:
    "Jtfictx.sh" Failed During Autoconfig On Application Tier, ORA-29874, DRG-10595 (Doc ID 1271186.1)
    Autoconfig Failed On Apps Tier "jtfictx.sh INSTE8_PRF" . Running manually "jtfictx.sh " Failed on "DRG-10758: index owner does not have the privilege" (Doc ID 1357760.1)
    Several Scripts Failing With A ORA-29855 Executing ODCIINDEXCREATE Routine During Upgrade To 12.1.1 (u6678700.drv) (Doc ID 1286033.1)
    11i : Autoconfig Fails On The Application Tier in running jtfictx.sh (Doc ID 396174.1)
    Thanks
    Cherrish Vaidiyan

    Yes I did and below are the DB components from dba_registry:
    Oracle Application Express    APEX_030200    3.2.1.00.12    VALID
    OLAP Catalog    OLAPSYS    11.2.0.3.0    VALID
    Oracle Data Mining    DMSYS    11.2.0.3.0    VALID
    Oracle XML Database    XDB    11.2.0.3.0    VALID
    Oracle Text    CTXSYS    11.2.0.3.0    VALID
    Spatial    MDSYS    11.2.0.3.0    VALID
    Oracle Multimedia    ORDSYS    11.2.0.3.0    VALID
    Oracle Database Catalog Views    SYS    11.2.0.3.0    VALID
    Oracle Database Packages and Types    SYS    11.2.0.3.0    VALID
    JServer JAVA Virtual Machine    SYS    11.2.0.3.0    VALID
    Oracle Database Java Packages    SYS    11.2.0.3.0    VALID
    Oracle XDK    SYS    11.2.0.3.0    VALID
    Oracle Real Application Clusters    SYS    11.2.0.3.0    INVALID
    OLAP Analytic Workspace    SYS    11.2.0.3.0    VALID
    Oracle OLAP API    SYS    11.2.0.3.0    VALID
    Only component invalid is RAC and I dont have RAC for this database.
    Thanks
    Cherrish Vaidiyan

  • ORA-01460 error only in production enviorment in ADF 11g application

    Hi ,
    We are using ADF 11g rel 1 11.1.1.4.0
    And database is
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    "CORE 11.2.0.1.0 Production"
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    All our enviornments are running the same database
    But when we are deploying the application in Production we get the Error
    JBO-27122: SQL-fejl under forberedelse af sætning. Sætning:
    select DB_TST_API.test_proc(Id1, id2) from table;
    ## Detail 0 ##
    java.sql.SQLException: ORA-01460: unimplemented or unreasonable conversion requested
    While executing the query which has a call tp API and input variable
    select DB_TST_API.test_proc(Id1, id2) from table;
    The DB function is defined as
    the FUNCTION test_proc(p_value IN VARCHAR2, p_list IN VARCHAR2) RETURN number;
    The input parameter is only 10 digit integer in ADF application, there is a logical difference that the DB function takes a string and ADF is supplying with Integer, but the code has worked before and has suddenly started giving this error
    The code also works fine on all other test eviornments
    Also the sql query when run from sql devleoper on production DB does not give any error
    Its becoming difficult to find out what could be causing this only on production enviornment

    In ANY case, I'd be using explicit conversions here, not implicit ones, so my recommendation would be one of these:
    a). Use TO_CHAR on the input
    b). Use Java to convert the integer to a string
    c). Change the functionto take a NUMBER as the parameter (if it really is a number)
    d). Write a wrapper for the function. The wrapper should take a number and convert it using TO_CHAR and call the real function
    John

  • AC-50480 error while generating listener.ora while running autoconfig

    Hi,
    I am trying my first clone on R1213. We have a split tier configuration. I am able clone the database server successfully.
    Now when I run 'perl adcfgclone appsTier', during the autoconfig part, it fails with the error message AC-50480 : Error while generating listener.ora
    I have followed note
    AC-50480" Error Generating the "listener.ora" File. [ID 1089036.1]
    During Autoconfig "adgentns.pl" fails: "AC-50480: Internal error occurred: java.lang.Exception: Error while generating listener.ora" [ID 453901.1]
    derigistered bothe the servers
    ran autoconfig on the DB
    Verified the contents of FND_NODES table.
    Everything looks fine, but it still errors during autoconfig.
    There is no listener file under $TNS_ADMIN.
    There is tnsnames.ora under $TNS_ADMIN
    Any clue?
    TIA,
    AZ

    Here are the contents from NetServiceHandler.log
    Processing listener.ora on middle tier
    s_enable_listener_password = OFF
    instantiate file:
    source : /d01/oracle/opda/apps/apps_st/appl/ad/12.0.0/admin/template/iAS_1012_env.tmp
    dest : /d01/oracle/opda/inst/apps/OPDA_oratest/ora/10.1.2/OPDA_oratest.env
    /d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sql permissions changed to 644 (unix only)
    instantiate file:
    source : /d01/oracle/opda/apps/apps_st/appl/ad/12.0.0/admin/template/APPLSYS_ux.env
    dest : /d01/oracle/opda/apps/apps_st/appl/OPDA_oratest.env
    /d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sql permissions changed to 644 (unix only)
    instantiate file:
    source : /d01/oracle/opda/apps/apps_st/appl/ad/12.0.0/admin/template/adovars_ux.env
    dest : /d01/oracle/opda/inst/apps/OPDA_oratest/appl/admin/adovars_OPDA_oratest.env
    /d01/oracle/opda/inst/apps/OPDA_oratest/appl/admin/adovars_OPDA_oratest.env permissions changed to 644 (unix only)
    instantiate file:
    source : /d01/oracle/opda/apps/apps_st/appl/fnd/12.0.0/admin/template/admk80ln_ux.sql
    dest : /d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sql
    /d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sql permissions changed to 600 (unix only)
    instantiate file:
    source : /d01/oracle/opda/apps/apps_st/appl/fnd/12.0.0/admin/template/admk80ln.sh
    dest : /d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sh
    /d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sh permissions changed to 700 (unix only)
    Execution of /d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sh is given to TimedProcess
    admk80ln.sh started at Thu Sep 29 08:56:59 EDT 2011
    The environment settings are as follows ...
    ORACLE_HOME : /d01/oracle/opda/apps/tech_st/10.1.2
    ORACLE_SID :
    TWO_TASK : OPDA
    PATH : /d01/oracle/opda/inst/apps/OPDA_oratest/admin/scripts:/d01/oracle/opda/apps/tech_st/10.1.3/perl/bin:/d01/oracle/opda/apps/tech_st/10.1.2/bin:/d01/oracle/opda/apps/apps_st/appl/fnd/12.0.0/bin:/d01/oracle/opda/apps/apps_st/appl/ad/12.0.0/bin:/d01/oracle/opda/apps/tech_st/10.1.3/appsutil/jdk/jre/bin::/d01/oracle/opda/apps/tech_st/10.1.2/bin:/usr/bin:/usr/sbin:/d01/oracle/opda/apps/tech_st/10.1.3/appsutil/jdk/jre/bin:/d01/oracle/opda/apps/tech_st/10.1.3/perl/bin:/d01/oracle/opda/inst/apps/OPDA_oratest/admin/scripts:/d01/oracle/opda/apps/tech_st/10.1.3/perl/bin:/d01/oracle/opda/apps/tech_st/10.1.2/bin:/d01/oracle/opda/apps/tech_st/10.1.3/appsutil/jdk/jre/bin:/d01/oracle/opda/apps/tech_st/10.1.2/bin:/usr/bin:/usr/sbin:/d01/oracle/opda/apps/tech_st/10.1.3/appsutil/jdk/jre/bin:/bin:/usr/bin:/usr/local/bin:/usr/local/bin/X11:/usr/X11R6/bin:/usr/sbin:.:/d01/oracle/opda/apps/tech_st/10.1.2/OPatch:/d01/oracle/opda/apps/tech_st/10.1.3/appsutil/jdk/bin:/d01/oracle/opda/apps/tech_st/10.1.3/ant/bin:/home/applopda/bin:/d01/oracle/opda/apps/tech_st/10.1.2/OPatch:/d01/oracle/opda/apps/tech_st/10.1.3/appsutil/jdk/bin:/d01/oracle/opda/apps/tech_st/10.1.3/ant/bin
    Library Path : /d01/oracle/opda/apps/tech_st/10.1.2/jdk/jre/lib/i386:/d01/oracle/opda/apps/tech_st/10.1.2/jdk/jre/lib/i386/server:/d01/oracle/opda/apps/tech_st/10.1.2/jdk/jre/lib/i386/native_threads:/d01/oracle/opda/apps/apps_st/appl/cz/12.0.0/bin:/d01/oracle/opda/apps/tech_st/10.1.2/lib32:/d01/oracle/opda/apps/tech_st/10.1.2/lib:/usr/X11R6/lib:/usr/openwin/lib:/d01/oracle/opda/apps/tech_st/10.1.2/jdk/jre/lib/i386:/d01/oracle/opda/apps/tech_st/10.1.2/jdk/jre/lib/i386/server:/d01/oracle/opda/apps/tech_st/10.1.2/jdk/jre/lib/i386/native_threads:/d01/oracle/opda/apps/apps_st/appl/sht/12.0.0/lib
    SQLPLUS Executable : /d01/oracle/opda/apps/tech_st/10.1.2/bin/sqlplus
    SQL*Plus: Release 10.1.0.5.0 - Production on Thu Sep 29 08:57:00 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter value for 1: Enter value for 2: ERROR:
    ORA-12157: TNS:internal network communication error
    Unable to generate listener.ora from database
    Using default listener.ora file
    .end std out.
    .end err out.
    Error while generating listener.ora.
    StackTrace:
    java.lang.Exception: Error while generating listener.ora.
         at oracle.apps.ad.tools.configuration.NetServiceHandler.generateMiddleTierListener(NetServiceHandler.java:2495)
         at oracle.apps.ad.tools.configuration.NetServiceHandler.processNode(NetServiceHandler.java:2269)
         at oracle.apps.ad.tools.configuration.NetServiceHandler.main(NetServiceHandler.java:3010)

  • Oracle 11gr2 ODBC - error updating linked table (Ora 01722 and 01461)

    Good day folks,
    My shop has just moved to 11gR2 client and server. We were previously using 11gR1 with no issues (and before that, 10, 9, 8, etc). After moving from 11r1 to 11r2, we began getting errors from some of our MS Access ODBC applications with linked Oracle tables. The error would occur when executing an UPDATE statement that had a table join in it. Here is a simple example:
    UPDATE TableX SET TableX.Fieldx = “valuex” WHERE TableX.Fieldx = TableZZZ.Fieldx AND TableZZZ.fieldzzz is not null
    Currently, after moving to 11r2 client, an update query like the one above will error out in one of the following ways:
    - odbc -- update on a linked table failed - Ora 01722 invalid number
    - ORA-01461: can bind a LONG value only for insert into a LONG column
    - Or it will say that the records were not updated because they are locked.
    In some cases, I have noticed some records being updated that were not supposed to be updated.. records that the where clause was meant to exclude. That is very unsettling.
    I understand that perhaps an update statement shouldn’t be joining table and perhaps it should be done over a couple calls, but the reality is – this code is out there in abundance and if there is a solution that doesn’t amount to my changing all this code or reverting to 11gR1, I would love to find it.
    Since the query runs fine using SQL Plus and also runs fine if I run it against a local table in Access rather than a linked Oracle table – I figured the issue was possibly with the Oracle 11r2 ODBC driver. So, I switched the Oracle ODBC driver (sqora32.dll version 11.2.0.1 with version 11.1.0.7), and the problem went away.
    I believe this verifies the issue resides with Oracle ODBC version 11.2.0.1. Can anyone help? I'm assuming it's not particularly wise to simply swap sqora32.dll files on all my clients machines, so I am searching for an actual solution here instead.
    I also did performed ODBC tracing to see what Access is handing to the Oracle ODBC driver. I then used database or SQLNet tracing to see what the ODBC driver was handing off to SQLNet/database.
    The results are in the following post:
    Thanks guys!!

    SQLNET TRACE
    If you want an Admin level trace, I can have one right away.
    (856) [13-JUN-2010 22:11:00:657] nsopen: opening transport...
    (856) [13-JUN-2010 22:11:00:657] nttcni: Tcp conn timeout = 60000 (ms)
    (856) [13-JUN-2010 22:11:00:657] nttcni: trying to connect to socket 1364.
    (856) [13-JUN-2010 22:11:00:688] nttcni: connected on ipaddr 142.139.221.62
    (856) [13-JUN-2010 22:11:00:688] nttcon: set TCP_NODELAY on 1364
    (856) [13-JUN-2010 22:11:00:688] nsopen: transport is open
    (856) [13-JUN-2010 22:11:00:688] nsnainit: inf->nsinfflg[0]: 0x61 inf->nsinfflg[1]: 0x61
    (856) [13-JUN-2010 22:11:00:688] nsopen: global context check-in (to slot 0) complete
    (856) [13-JUN-2010 22:11:00:688] nscon: doing connect handshake...
    (856) [13-JUN-2010 22:11:00:688] nscon: sending NSPTCN packet
    (856) [13-JUN-2010 22:11:00:688] nscon: sending 233 bytes connect data
    (856) [13-JUN-2010 22:11:00:688] nsdo: 233 bytes to NS buffer
    (856) [13-JUN-2010 22:11:00:719] nscon: got NSPTRS packet
    (856) [13-JUN-2010 22:11:00:719] nscon: sending NSPTCN packet
    (856) [13-JUN-2010 22:11:00:719] nscon: sending 233 bytes connect data
    (856) [13-JUN-2010 22:11:00:719] nsdo: 233 bytes to NS buffer
    (856) [13-JUN-2010 22:11:00:735] nscon: got NSPTAC packet
    (856) [13-JUN-2010 22:11:00:735] nscon: connect handshake is complete
    (856) [13-JUN-2010 22:11:00:735] nscon: nsctxinf[0]=0x61, [1]=0x21
    (856) [13-JUN-2010 22:11:00:735] nsnainconn: inf->nsinfflg[0]: 0x61 inf->nsinfflg[1]: 0x21
    (856) [13-JUN-2010 22:11:00:735] nsnasend: bytes to send: 158
    (856) [13-JUN-2010 22:11:00:735] nsdo: 158 bytes to NS buffer
    (856) [13-JUN-2010 22:11:00:735] nsnareceive: buffer address: 0x132c34 bytes wanted: 2048
    (856) [13-JUN-2010 22:11:00:735] nsnareceive: calling NS to receive 2048 bytes into address 0x132c34
    (856) [13-JUN-2010 22:11:00:766] nsdo: 153 bytes from NS buffer
    (856) [13-JUN-2010 22:11:00:766] nsnareceive: received 153 bytes
    (856) [13-JUN-2010 22:11:00:766] nsnareceive: no more data to receive - returning
    (856) [13-JUN-2010 22:11:00:766] nsnareceive: total bytes received: 153
    (856) [13-JUN-2010 22:11:01:063] nsnasend: bytes to send: 77
    (856) [13-JUN-2010 22:11:01:063] nsdo: 77 bytes to NS buffer
    (856) [13-JUN-2010 22:11:01:063] nsnareceive: buffer address: 0x132c34 bytes wanted: 2048
    (856) [13-JUN-2010 22:11:01:063] nsnareceive: calling NS to receive 2048 bytes into address 0x132c34
    (856) [13-JUN-2010 22:11:01:079] nsdo: 64 bytes from NS buffer
    (856) [13-JUN-2010 22:11:01:079] nsnareceive: received 64 bytes
    (856) [13-JUN-2010 22:11:01:079] nsnareceive: no more data to receive - returning
    (856) [13-JUN-2010 22:11:01:079] nsnareceive: total bytes received: 64
    (856) [13-JUN-2010 22:11:01:079] naun5authent: Authentication type is 0
    (856) [13-JUN-2010 22:11:01:079] nsnasend: bytes to send: 1862
    (856) [13-JUN-2010 22:11:01:079] nsdo: 1862 bytes to NS buffer
    (856) [13-JUN-2010 22:11:01:079] nsnareceive: buffer address: 0x132c34 bytes wanted: 2048
    (856) [13-JUN-2010 22:11:01:079] nsnareceive: calling NS to receive 2048 bytes into address 0x132c34
    (856) [13-JUN-2010 22:11:01:141] nsdo: 165 bytes from NS buffer
    (856) [13-JUN-2010 22:11:01:141] nsnareceive: received 165 bytes
    (856) [13-JUN-2010 22:11:01:141] nsnareceive: no more data to receive - returning
    (856) [13-JUN-2010 22:11:01:141] nsnareceive: total bytes received: 165
    (856) [13-JUN-2010 22:11:01:141] nsnasend: bytes to send: 33
    (856) [13-JUN-2010 22:11:01:141] nsdo: 33 bytes to NS buffer
    These lines are present using both version of sqora32.dll
    (856) [13-JUN-2010 22:11:01:141] nszgwop: SQLNET.WALLET_OVERRIDE not found, using default.
    (856) [13-JUN-2010 22:11:01:157] nscontrol: Vect I/O support: 0(856) [13-JUN-2010 22:11:01:391] nioqrc: Recieve: returning error: 3111
    (856) [13-JUN-2010 22:11:01:391] nsdo: sending NSPTMK packet
    (856) [13-JUN-2010 22:11:01:391] nserror: nsres: id=0, op=77, ns=12630, ns2=0; nt[0]=0, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    These lines only happen when using the R2 version of sqora32.dll
    (856) [13-JUN-2010 22:11:01:719] nioqrc: Recieve: returning error: 3111
    (856) [13-JUN-2010 22:11:01:719] nsdo: sending NSPTMK packet
    (856) [13-JUN-2010 22:11:01:860] nserror: nsres: id=0, op=0, ns=12630, ns2=0; nt[0]=0, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    (856) [13-JUN-2010 22:21:03:782] nstimarmed: no timer allocated

  • Importing a APEX application error ORA-22297: warning

    When attempting to import application fronm 4.1 to 4.2.2 i get the following error
    Error processing request.
        ORA-22297: warning: Open LOBs exist at transaction commit time ORA-20876: Stop APEX Engine    
    We have aplications that upgraded in place but when attempting to inmport new applications we get the error.
    We Just install 4.2.2 into a new environment and are vetting it for full release.
    Please advise.

    I get the abocve error when running using the GUI
    when running from command prompt i get the following
    begin
       -- Remove Application
    wwv_flow_api.remove_flow(nvl(wwv_flow_application_install.get_application_id,99000));
    end;
    ORA-20001: Package variable g_security_group_id must be set.
    ORA-06512: at "APEX_040200.WWV_FLOW_API", line 998
    ORA-06512: at "APEX_040200.WWV_FLOW_API", line 1569
    ORA-06512: at line 5
    I am assuming there are some permissions problems
    I have DBA role in Database
    We are on databasae > 11 (11.0.2 i think)
    My database DBA installed 4.2.2 but does know APEX real well he installed becasue he has SYS password which I am not privy to.
    I was able to install Pacakaged appliaction.
    Kind of Lost from Here.......
    I am assuming i have a permissions error
    I have DBA role in Database

  • ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error be

    Hi,
    I am trying rman duplicate from RAC to NON-RAC and getting below error. Restore is successfull, but while recover i am getting below issue.
    I referred tech note RMAN-06102 DURING DUPLICATE OR RESTORE [ID 436637.1]
    I have tried until cancel using controlfile;
    To Implement solution " I restored controlfie from the backup peice of contrll file" , Any pointers appreciated.
    contents of Memory Script:
       set until scn  5968419799614;
       recover
       clone database
        delete archivelog
    executing Memory Script
    executing command: SET until clause
    Starting recover at 19-FEB-11
    starting media recovery
    Oracle Error:
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/u01/oracle/PROD/db/clonedata/system01.dbf'
    released channel: ch1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 02/19/2011 14:39:27
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06053: unable to perform media recovery because of missing log
    RMAN-06025: no backup of log thread 2 seq 184399 lowscn 5968419794646 found to restore
    RMAN-06025: no backup of log thread 2 seq 184398 lowscn 5968419759510 found to restore
    RMAN-06025: no backup of log thread 2 seq 184397 lowscn 5968419736368 found to restore
    RMAN-06025: no backup of log thread 2 seq 184396 lowscn 5968419726043 found to restore
    RMAN-06025: no backup of log thread 2 seq 184395 lowscn 5968419705565 found to restore
    RMAN-06025: no backup of log thread 2 seq 184394 lowscn 5968419678283 found to restore
    RMAN-06025: no backup of log thread 2 seq 184393 lowscn 5968419665940 found to restore
    RMAN-06025: no backup of log thread 2 seq 184392 lowscn 5968419647797 found to restore
    RMAN-06025: no backup of log thread 2 seq 184391 lowscn 5968419630414 found to restore
    RMAN-06025: no backup of log thread 2 seq 184390 lowscn 5968419626580 found to restore
    RMAN-06025: no backup of log thread 2 seq 184389 lowscn 5968419593858 found to restore
    RMAN-06025: no backup of log thread 2 seq 184388 lowscn 5968419527543 found to restore
    RMAN-06025: no backup of log thread 2 seq 184387 lowscn 5968419501163 found to restore
    RMAN-06025: no backup of log thread 2 seq 184386 lowscn 5968419485951 found to restore
    RMAN-06025: no backup of log thread 2 seq 184385 lowscn 5968419469937 found to restore
    RMAN-06025: no backup of log thread 2 seq 184384 lowscn 5968419440393 found to restore
    RMAN-06025: no backup of log thread 2 seq 184383 lowscn 5968419422292 found to restore
    RMAN-06025: no backup of log thread 2 seq 184382 lowscn 5968419397028 found to restore
    RMAN-06025: no backup of log thread 2 seq 184381 lowscn 5968419366574 found to restore
    RMAN-06025: no backup of log thread 2 seq 184380 lowscn 5968419352992 found to restore
    RMAN-06025: no backup of log thread 2 seq 184379 lowscn 5968419338522 found to restore
    RMAN-06025: no backup of log thread 2 seq 184378 lowscn 5968419326774 found to restore
    RMAN-06025: no backup of log thread 2 seq 184377 lowscn 5968419313956 found to restore
    RMAN-06025: no backup of log thread 2 seq 184376 lowscn 5968419300847 found to restore
    RMAN-06025: no backup of log thread 2 seq 184375 lowscn 5968419282136 found to restore
    RMAN-06025: no backup of log thread 2 seq 184374 lowscn 5968419265656 found to restore
    RMAN-06025: no backup of log thread 2 seq 184373 lowscn 5968419254578 found to restore
    RMAN-06025: no backup of log thread 2 seq 184372 lowscn 5968419229337 found to restore
    RMAN-06025: no backup of log thread 2 seq 184371 lowscn 5968419218373 found to restore
    RMAN-06025: no backup of log thread 2 seq 184370 lowscn 5968419178539 found to restore
    RMAN-06025: no backup of log thread 2 seq 184369 lowscn 5968419167027 found to restore
    RMAN-06025: no backup of log thread 2 seq 184368 lowscn 5968419143802 found to restore
    RMAN-06025: no backup of log thread 2 seq 184367 lowscn 5968419139461 found to restore
    RMAN-06025: no backup of log thread 2 seq 184366 lowscn 5968419133683 found to restore
    RMAN-06025: no backup of log thread 2 seq 184365 lowscn 5968419099514 found to restore
    RMAN-06025: no backup of log thread 2 seq 184364 lowscn 5968419094146 found to restore
    RMAN-06025: no backup of log thread 2 seq 184363 lowscn 5968419072193 found to restore
    RMAN-06025: no backup of log thread 2 seq 184362 lowscn 5968419055733 found to restore
    RMAN-06025: no backup of log thread 2 seq 184361 lowscn 5968419047459 found to restore
    RMAN-06025: no backup of log thread 2 seq 184360 lowscn 5968419005913 found to restore
    RMAN-06025: no backup of log thread 2 seq 184359 lowscn 5968419001578 found to restore
    RMAN-06025: no backup of log thread 2 seq 184358 lowscn 5968418983975 found to restore
    RMAN-06025: no backup of log thread 2 seq 184357 lowscn 5968418950115 found to restore
    RMAN-06025: no backup of log thread 2 seq 184356 lowscn 5968418945661 found to restore
    RMAN-06025: no backup of log thread 2 seq 184355 lowscn 5968418909994 found to restore
    RMAN-06025: no backup of log thread 2 seq 184354 lowscn 5968418891366 found to restore
    RMAN-06025: no backup of log thread 2 seq 184353 lowscn 5968418884733 found to restore
    RMAN-06025: no backup of log thread 1 seq 217710 lowscn 5968419793223 found to restore
    RMAN-06025: no backup of log thread 1 seq 217709 lowscn 5968419779424 found to restore
    RMAN-06025: no backup of log thread 1 seq 217708 lowscn 5968419776035 found to restore
    RMAN-06025: no backup of log thread 1 seq 217707 lowscn 5968419775408 found to restore
    RMAN-06025: no backup of log thread 1 seq 217706 lowscn 5968419774817 found to restore
    MAN-06025: no backup of log thread 1 seq 217705 lowscn 5968419758
    RMAN>thanks in advance.

    Hello,
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 1 needs more recovery to be consistentFrom the error ORA-01547 and ORA-01194 you got, it seems that the Database is still inconsistent and, you have to apply more Archived logs .
    Then, you have the following error:
    RMAN-06053: unable to perform media recovery because of missing logWhich says that some logs are missing. The error messages RMAN-06025 below give you the list of missing logs:
    RMAN-06025: no backup of log thread 2 seq 184399 lowscn 5968419794646 found to restore
    ...Are you sure to have a Backup of all the needed Archived logs ?
    You may execute this statement to check the contents of the RMAN Backup:
    list backup of archivelog all;Hope this help.
    Best regards,
    Jean-Valentin

  • ORA-01503 and ORA-01110 Errors while running adcfgclone.pl dbTier

    Hi,
    I am working on R12 on IBM AIX as I am cloning from one system to another I am facing some errors while running adcfgclone.pl for database tier.
    Following is the log from the adcfgclone.pl as it fails;
    Creating the control file for CLONE_test database ...
    SQL*Plus: Release 11.1.0.7.0 - Production on Mon Sep 6 10:32:43 2010
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORA-32006: USER_DUMP_DEST initialization parameter has been deprecated
    ORA-32006: BACKGROUND_DUMP_DEST initialization parameter has been deprecated
    ORACLE instance started.
    Total System Global Area 1068937216 bytes
    Fixed Size                  2160600 bytes
    Variable Size             427821096 bytes
    Database Buffers          624951296 bytes
    Redo Buffers               14004224 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "CLONE"
    *+
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01159: file is not from same database as previous files - wrong database id
    ORA-01110: data file 22: '/u04/oracle/proddata/applsysx01.dbf'
    alter database open resetlogs
    *+
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP add tempfile '/u03/oracle/proddata/temp01.dbf' REUSE
    *+
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "CLONE.testcom.com"
    *+
    ERROR at line 1:
    ORA-01109: database not open
    ORA-01507: database not mounted
    ORACLE instance shut down.
    Connected to an idle instance.
    ORA-32006: USER_DUMP_DEST initialization parameter has been deprecated
    ORA-32006: BACKGROUND_DUMP_DEST initialization parameter has been deprecated
    ORACLE instance started.
    Total System Global Area 1068937216 bytes
    Fixed Size                  2160600 bytes
    Variable Size             427821096 bytes
    Database Buffers          624951296 bytes
    Redo Buffers               14004224 bytes
    ORA-03113: end-of-file on communication channel
    Process ID: 1278120
    Session ID: 1105 Serial number: 3
    ERROR:
    ORA-03114: not connected to ORACLE
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    Connected.
    ORA-01031: insufficient privileges
    ERROR:
    ORA-01012: not logged on
    ERROR:
    ORA-01012: not logged on
    ERROR:
    ORA-01012: not logged on
    ERROR:
    ORA-01012: not logged on
    ERROR:
    ORA-01012: not logged on
    ERROR:
    ORA-01012: not logged on
    Disconnected
    exit_code=1
    Checking for errors ...
    The database has not been successfully created. Shutting down the instance ...
    SQL*Plus: Release 11.1.0.7.0 - Production on Mon Sep 6 10:33:12 2010
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Disconnected
    +.end std out.+
    +.end err out.+
    I have checked the log for preclone from the source machine but there are no errors. Below are the last lines of preclone log file
    Zip2 - Completed native zipping sh -c "cd /u02/oracle/proddb/10.2.0/appsutil/out/PROD_testcom/; zip  -q  -y /u02/oracle/proddb/10.2.0/appsutil/clone/data/stage/adcrdb.zip -@ ; echo ERRORCODE = $? ERRORCODE_END"
    Done...
    +#############################################################+
    StageDBTier Finished at Tue Aug 31 16:50:19 GMT03:00 2010+
    Status: Completed Successfully
    +#############################################################+
    Please advice.
    Regards

    Hi user:
    1. Yes the database and lsnr were closed as the tar files were created. So, i assume thate there are no any oracle session avalibale when you copy files from source to target
    2. Yes I would also like to mention that it already had an old instance. So this is just a new clone. So, i mention you have valid entery on /etc/hosts file
    3. Please can you describe what permissions as from root user it was done as
    chown -R oratest:dba <db tier folders> If your target user is oratest than syntax seems correct, did you copy oracle_home too from source to target and this home owner is oratest again right?
    Regard
    Helios

Maybe you are looking for

  • How can I get a refund from another country that does not have an Apple Store?

    While going to the US for the summer, I went to the San Francisco Apple Store. I saw the Apple Gift Cards, and I was wondering if they would work on my Taiwan Apple ID, so I bought a $25 gift card and a 4 cards bundle pack each with $10 inside. But t

  • How can I make my apple id recovery email my apple id?

    I want to change my apple ID to my recovery email, but it will not let me, even after I change my recovery email.

  • Specify file name of the document returned on the HTTP post

    Hello, we are submitting a PDF form by calling submitForm function: doc.submitForm         cURL: "http://localhost/script",         cSubmitAs: "XML" The server returnes data of type "Content-type: application/pdf" and as a result this aplication/pdf

  • IWeb search engine optimization

    I have created a prototype for a large, robust e-commerce site (using links to affiliates such as Amazon.com)and have asked several third parties for bids on site content enrichment/search engine optimization. Has anyone had experience in this area?

  • Message Number Creation

    Dear Support,     How to generate a new Request Number . There is a requirement to incorporate a new Message no for Apllication Area M8 Invoice Varification . I am not able to crate a new message no . If message no will create  for that pllication Ar