An error ORA-12528 occurs

After it has been successfully connect several times, I could not connect now have the following message appears:
ORA-12528: TNS:listener: all appropriate instances are blocking new connections
in php file i use this script to test connection:
+$c = oci_connect("username", "password", "IP-server/orcl");+
+if (!$c) {+
+$e = oci_error();+
echo $e['message'] . "<br>\n";
exit;
+}+
Is the error of the Oracle server or from a page PHP?
Can anyone help?
I'm sorry, thank you ..

Thank you for your help
I am using Windows XP SP2 with Apache/2.2.11 with PHP/5.2.8, and contact with a remote server Oracle/8i, has been contacted several times, but suddenly I could not connect and when you try to test the connection by a simple script php this error message occurs, In order to verify the source of the problem (client or server) I make contact with another Oracle server and got the same message
I install all packages it correct and I saw the test page [phpinfo()] of the client-side environment, the Part oci8 exist and all the parameters correct
Is the problem in a client-side?, and whether I must restart the database?
thank you very much

Similar Messages

  • APP-DT-34605:Oracle error ORA-4098 occured while writing to PER_ALL_ASSIGNM

    We have Upgraded DB from 10.2.0.2 to 10.2.0.5 having same Apps version 11.5.10.2,
    we have seen below issue upon upgrade,
    While updating any information in Assignment i.e. Assignment Status getting following error.
    APP-DT-34605:Oracle error ORA-4098 occured while writing to PER_ALL_ASSIGNMENTS_F
    How to overcome these errors, please advise,
    RM

    Please see these docs.
    PERWSHRG: Updating Assignment Gives Error APP-DT-34605 ORA-6510 [ID 286294.1]
    Update Employee Assignment Details Cause Error: APP-DT-34605-- ORA-20001 occurred writing to PER_ALL_ASSIGNMENTS_F [ID 793451.1]
    APP-DT-34605 Error When Saving on Assignment Form [ID 829292.1]
    Receive APP-DT-34605 Error When Updating an Existing Payment Method [ID 780090.1]
    ORA-06508 PL/SQL Could Not Find Program Unit Being Called: "APPS.PAY_PAY_SHD" [ID 1170903.1]
    Thanks,
    Hussein

  • SQL Error, ORA-03113  occured

    My SQL statment is :
    SELECT P.ORDERNO,
    CASE
    WHEN P.TYPE = '0' THEN
    '成人'
    WHEN P.TYPE = '1' THEN
    '儿童'
    WHEN P.TYPE = '2' THEN
    '婴儿'
    END PSGTYPE
    FROM AGENTAREA T, PASSENGER P,
    when execute it ,ORA-03113 occured , why ?
    AGENTAREA is a view, PASSENGER is a table.

    I tryed again, no effact.
    SELECT P.ORDERNO,
    CASE
    WHEN P."TYPE" = '0' THEN
    '成人'
    WHEN P."TYPE" = '1' THEN
    '儿童'
    WHEN P."TYPE" = '2' THEN
    '婴儿'
    END PSGTYPE
    FROM AGENTAREA T, PASSENGER P;
    It is not the problem of the column named TYPE .
    SQL statment can execute correctly:
    SELECT T.*,
    CASE
    WHEN P."TYPE" = '0' THEN
    '成人'
    WHEN P."TYPE" = '1' THEN
    '儿童'
    WHEN P."TYPE" = '2' THEN
    '婴儿'
    END PSGTYPE
    FROM AGENTAREA T, PASSENGER P
    The table and view is :
    create table PASSENGER
    ORDERNO VARCHAR2(40) not null,
    PSGNAME VARCHAR2(80) not null,
    IDTYPE VARCHAR2(10),
    IDCARD VARCHAR2(80),
    TYPE CHAR(1) not null,
    AGE INTEGER,
    BIRTHDATE DATE,
    FPCOMPANY VARCHAR2(10) default 'CZ',
    FPCARDNO VARCHAR2(40),
    LARGECLIENTID VARCHAR2(40),
    PNRNO VARCHAR2(10),
    CARRIEDBY VARCHAR2(80),
    PSGTICKETSECTION VARCHAR2(40)
    alter table PASSENGER
    add constraint PK_PASSENGER primary key (ORDERNO, PSGNAME);
    create table ORGANIZATIONUNITPROFILE
    ORGUNITGUID VARCHAR2(38) not null,
    PARENTGUID VARCHAR2(38),
    ROLEID INTEGER,
    NAME VARCHAR2(80) not null,
    ALIAS VARCHAR2(80),
    BOUNDARY INTEGER,
    ORGUNITLEVEL INTEGER,
    LEVELPATH VARCHAR2(1000),
    PRIORITYORDER INTEGER,
    ORIGINAL CHAR(1) not null,
    ORIGINALID VARCHAR2(50),
    STATUS CHAR(1) default 'A' not null,
    LASTUPDATE DATE,
    OFFICE VARCHAR2(400),
    CITY VARCHAR2(10),
    LOCATION VARCHAR2(80),
    REGION VARCHAR2(40),
    COUNTRY VARCHAR2(40),
    CELLPHONE VARCHAR2(20),
    WORKPHONE VARCHAR2(20),
    WEBSITEURL VARCHAR2(120),
    LINKMAN VARCHAR2(255),
    LINKMANPHONE VARCHAR2(255),
    ARTIFICIALPERSON VARCHAR2(255),
    ARTIFICIALPHONE VARCHAR2(40),
    FAX VARCHAR2(20),
    FLAG CHAR(1),
    ENNAME VARCHAR2(80),
    REMARK VARCHAR2(2000),
    CREATEDATE DATE,
    ENDDATE DATE,
    LINKMANEMAIL VARCHAR2(255)
    alter table ORGANIZATIONUNITPROFILE
    add constraint PK_ORGANIZATIONUNITPROFILE primary key (ORGUNITGUID);
    create or replace view agentarea as
    select orgunitguid AS ORGUNITGUID,parentguid AS PARENTGUID,name AS ORGNAME ,level AS ORGLEVEL,
    SYS_CONNECT_BY_PATH(name,'=') AS PATH,
    case when level =1 then '总部'
    when level =2 then name
    else ltrim(substr(SYS_CONNECT_BY_PATH(name,'=') ,1, instr(SYS_CONNECT_BY_PATH(name,'=') ,'=',1,3)-1),'=总部=')
    end AS ORGAREA,
    SYS_CONNECT_BY_PATH(orgunitguid,'/')|| '/' AS IDPATH
    from organizationunitprofile
    start with orgunitguid = '2155'
    connect by parentguid = prior orgunitguid;

  • Getting error ora-12528

    when i try to login i am getting this error.Before installing i removed some files in regeidt folder.Is it effect the connection.Then how can i get those files.(Recovery)
    Thanks..

    sir i try three code
    1.
    c:\>net startoracleservceuniversi
    the sercvice name is invalid.
    2.
    c:\>net startoracleservce universi
    the sercvice name is invalid.
    3.
    c:\>net startoracleservce =universi
    the sercvice name is invalid.
    but not start my database
    please give me detail
    thank you
    aamir

  • See my error and my try  (ora-12528 ) after try new err ora-00202

    try to connect my 10g database but that give me this error
    ORA-12528: TNS:listener: all appropriate instances are blocking new connections
    some body give me idea i try this
    c:\>set oracle_sid=universi
    c:\>sqlplus sys as sysdba
    enter password :
    connecyt to
    oracle database 10g enterprise edition release
    sql> select status from v$instance;
    status
    started
    sql>alter database mount;
    alter database mount
    error at line 1:
    ora-00204: error in reading <block 3, # blocks 8> of control file
    ora-00202: control file:
    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\UNIVERSI\CONTROL01.CTL'
    ora-27091: UNABLE TO QUEUE 1/0
    ora-27070: ASYNC READ/WRITE FAILED
    OSD-04006: ReadFo;e<> failure, unable to read from file
    O/S-Error <OS 23> Data error <cyclic redundancy check>.
    but after this i fasing this error
    ora-00202
    ora-00204
    please give me idea how i connect my 10g
    thank you

    ORA-12528: TNS:listener: all appropriate instances are blocking new connections
    ORA-12528:     TNS:listener: all appropriate instances are blocking new connections
    Cause:     All instances supporting the service requested by the client reported that they were blocking the new connections. This condition may be temporary, such as at instance startup.
    Action:     Attempt the connection again. If error persists, then contact the administrator to check the status of the instances.
    This is mostly the error that is there when we try to give a startup after a shutdown.Most probably its a temporary error.I faced it once but there was nothing relevant that I could find for it.What I tried was shutdown,wait for some time and again startup.
    For the second error message, you have issues with your control file.As others already have asked, is your controlfile available and read/writeable?
    Aman....

  • Not able to connect to database : ORA-12528

    Hello Friends,
    os: windows XP
    Oracle version: 10.2.0.3.0
    Whenever i shutdown the database ( i have tried normal, immediate and abort mode shutdown), after that neither i am able to connect to the database nor start it up.
    I get the following error message:
    16:37:18 SQL> conn sys/system@dg as sysdba
    ERROR:
    ORA-12528: Message 12528 not found; product=RDBMS; facility=ORA
    Warning: You are no longer connected to ORACLE.
    The only way then left to me is to restart database service.
    I read the thread in our forum about this error stating that this is temporary error and after some time we can login or startup the database.
    But in my case, i have waited for few hours, still getting the same error.
    If anyone has some idea about this problem, please help me.
    Regards,
    Dipali..

    hi
    this is a cutting-edge error, and the ora-12528 is brand-new with 10g.
    The docs note:
    ORA-12528: TNS:listener: all appropriate instances are blocking new connections
    Cause: All instances supporting the service requested by the client reported that they were blocking the new connections. This condition may be temporary, such as at instance startup.
    Action: Attempt the connection again. If error persists, then contact the administrator to check the status of the instances.
    Brian Peasland notes: "This is a known problem with Oracle 10g where a SHUTDOWN IMMEDIATE is followed by a STARTUP MOUNT."
    Try bouncing the instance and try again . . .
    and also see this link
    http://dbataj.blogspot.com/2007/02/ora-12528-tnslistener-all-appropriate.html
    Hope this helps
    CHeers

  • ORA-12528 after each reboot

    Howdy all.
    I have Oracle 10g database Standard Edition installed on a Win2K Server machine. Each time I reboot the machine, the database does not fully open on its own. After a reboot, when I try to connect to the database using SQL*Plus, I get the following error:
    ORA-12528: TNS:listener: all appropriate instances are blocking new connections.
    I have waited a good bit - thinking that maybe the database is just starting up, and I still get the error after waiting a while (over 10 minutes).
    I can use Enterprise Manager to perform a startup on the database. After I enter my credentials (OS and DB), I am told that the database is "currently in started state." I can shutdown, mount, or open the database. I choose open the database, the wait screen appears, and then after about a minute - the logon screen appears and then everything is OK. I can connect using SQL*Plus and I am happy.
    Until I reboot the server again. My question is this -- how can I get the Oracle database to startup, mount, and open automatically? Is Oracle designed such that I have to open the database by hand each time I reboot the server?
    wally

    Joel,
    Thanks for responding quickly. Sorry it has taken me so long to get back. I have been pulled in a lot of directions and haven't been able to work on my Oracle DBA skills much recently.
    I have found out what is causing my problem. I have edited my sqlnet.ora file. The file has two lines in it by default:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    I commented out the first line so it looks like the following:
    #SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    When I do that, then the database will not open on its own after a reboot. Now, the reason I commented that line out in the sqlnet.ora file is to speed things up a bit.
    When I leave the line in place (NOT commented out), and I start SQL*Plus - it takes about 25 - 30 seconds to connect the first time. If I comment the line out, it connects in less than a second.
    How can I either make the database respond to connections quickly and still leave the line in place? Or, how can I have the database startup, mount, and open up all on its own with the line commented out?
    Any help would be greatly appreciated as I am learning a lot in my quest to be a better Oracle DBA.
    wally

  • Instance status "BLOCKED" and ora-12528

    Oralce 10.2.0.1 -- SUN SPARC 10 64bit
    instance is in nomount state, can connect using "sys/passwd@string as sysdba" on node 1 but unable to connect from 2nd node. following error received.
    Node:2
    connect sys/passwd@string as sysdba;
    ERROR:
    ORA-12528: TNS:listener: all appropriate instances are blocking new connections
    Listener state on node 1 is following:
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "string" has 1 instance(s).
    Instance "string", status BLOCKED, has 1 handler(s) for this service...
    Service "string" has 1 instance(s).
    Instance "string", status UNKNOWN, has 1 handler(s) for this service...
    Service "string_XPT" has 1 instance(s).
    Instance "string", status BLOCKED, has 1 handler(s) for this service...
    Message was edited by:
    jees

    tnsnames.ora file is same on both nodes and tnsping is working fine.
    Following is listener.ora on node1........
    LISTENER_DB01 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = db01-vip)(PORT = 1521)(IP = FIRST))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.20)(PORT = 1521)(IP = FIRST))
    (ADDRESS = (PROTOCOL = TCP)(HOST = db01-dg)(PORT = 1521)(IP = FIRST))
    SID_LIST_LISTENER_DB01 =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0/asm)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = string)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db)
    )

  • ORA-12528: TNS:listener: all appropriate instances are blocking new connect

    Dear All,
    I got the following error when use 'STARTUP MOUNT;' in sqlplus
    Error
    ORA-12528: TNS:listener: all appropriate instances are blocking new connections
    I am using Oracle 10 Database and Window XP Operating System
    How to solve it.
    Please help me
    Thanks and Regards,
    Fazil
    Edited by: user11334489 on Sep 11, 2012 12:41 AM

    Wrong forum. Please post your question in the General Database Discussions forum.
    Craig...

  • ORA-12528: TNS:listener:

    Hi,
    i have a database for learning purpose. i got this error when i connected to database.
    may i know what could cause this to happen?
    Enter user-name: sys@baba as sysdba
    Enter password:
    ERROR:
    ORA-12528: TNS:listener: all appropriate instances are blocking new connections
    Regards
    Ravikumar.A

    Hi,
    1. Stop the listener.
    2. Login to idle instance.
    3. Start the database and see what is the error you are getting.it has been stopped, and now it is begin started .
    i tried to connect a database, i got this error.
    Enter user-name: sys@baba as sysdba
    Enter password:
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor

  • Ora-12528 all appropriate instances are blocking new connections

    hi,
    i get an error 'ora-12528 all appropriate instances are blocking new connections'
    i have changed shared_servers parameters. from there itself i get the error

    With zero substantive information about your environment, it is impossible to know for sure.
    But, if you've just set SHARED_SERVERS=0, for example, and your tnsnames.ora has a line in it that says (SERVER=SHARED), then your client is demanding the use of shared servers which don't exist. You can therefore expect the sort of error you're getting.
    The fix is to remove the explicit demand for shared servers in the tnsnames.ora. Just remove the line (or, not quite such good practice, set it to DEDICATED).

  • ORA-12528: TNS:listener: all appropriate instances are blocking new connections

    I'm working with OBIEE 11.1.1.5, with Ora DB 11.2.
    Suddenly, the OBIEE is not accessible.
    The logs showed that the issue is DB connectivity.
    When I try to enter directly to the DB via sqlplus I get the error:
    /opt/oracle/product/11.2.0/dbhome_1/bin/sqlplus sys@UBI as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Nov 20 13:18:23 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter password:
    ERROR:
    ORA-12528: TNS:listener: all appropriate instances are blocking new connections
    I tried restarting server, DB, listener, but nothing helped.
    I've Googled and saw that I need to unregister some old connections, which were not closed correctly, i.e. entering DB and delete some records,
    but I cannot login to the sqlplus.
    I failed login as sys, system, scott - on the same error.
    How can I solve this issue?

    ls $ORACLE_HOME/dbs
    dbs         httpFileTransfer.py  init.ora     lkUBI     peerapp_catalog  qoe_network_offset.template  subscriberUpdate.py
    hc_ubi.dat  index.html.1         initUBI.ora  orapwubi  profile.sql      spfileubi.ora
    padmin@rprt:~> /opt/oracle/product/11.2.0/dbhome_1/bin/sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Nov 20 18:09:04 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORA-48108: invalid value given for the diagnostic_dest init.ora parameter
    ORA-48140: the specified ADR Base directory does not exist [/opt/oracle/product/11.2.0/dbhome_1/dbs/<ORACLE_BASE>]
    ORA-48187: specified directory does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 1
    SQL>

  • SAP Ides ECC 6.0 Install: Import ABAP - Package SAPDODS Error - ORA-00903

    Experts,
    Good Morning!
    I'm trying to install SAP IDES ECC 6.0 version on a Windows 2008 R2 Server with Oracle 11g DB (11.2).
    System Info: 16GM RAM & 600GB Hdd. Prereqs passed.
    I'm getting the following error during the Import ABAP phase (16 of 29) in the sapinst log:
    "An error occurred while processing option Enhancement Package 6 for SAP ERP 6.0 > SAP Application Server ABAP > Oracle > Central System > Central System( Last error reported by the step: Program 'Migration Monitor' exits with error code 103. "
    Here's the dump of import_monitor.java.log
    java version "1.4.2_32"
    Java(TM) 2 Runtime Environment, Standard Edition (build 4.1.012)
    SAP Java Server VM (build 4.1.012 1.6-b03, Oct 21 2011 14:18:45 - 41_REL - optU - windows amd64 - 6 - bas2:161688 (mixed mode))
    Import Monitor jobs: running 1, waiting 1, completed 141, failed 0, total 143.
    Loading of 'SAPDODS' import package: ERROR
    Import Monitor jobs: running 0, waiting 1, completed 141, failed 1, total 143.
    Here's the dump of import_monitor.log:
    INFO: 2014-07-05 13:42:53
    Data codepage 4103 is determined using TOC file 'C:\Target\Export1\DATA\D010TAB.TOC' for package 'D010TAB'.
    TRACE: 2014-07-05 13:42:53 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPDODS' import package is started.
    TRACE: 2014-07-05 13:42:53 com.sap.inst.migmon.LoadTask processPackage
    Loading of 'SAPDODS' import package into database:
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDODS.cmd -dbcodepage 4103 -l SAPDODS.log -stop_on_error
    ERROR: 2014-07-05 13:42:54 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPDODS' import package is interrupted with R3load error.
    Process 'C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDODS.cmd -dbcodepage 4103 -l SAPDODS.log -stop_on_error' exited with return code 2.
    For mode details see 'SAPDODS.log' file.
    Standard error output:
    sapparam: sapargv(argc, argv) has not been called!
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    WARNING: 2014-07-05 13:43:21
    Cannot start import of packages with views because not all import packages with tables are loaded successfully.
    WARNING: 2014-07-05 13:43:21
    1 error(s) during processing of packages.
    INFO: 2014-07-05 13:43:21
    Import Monitor is stopped.
    Here's the log of SAPDODS...
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20140705134253
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/720_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: version R7.20/V1.4 [UNICODE]
    Compiled Aug 16 2011 02:26:36
    patchinfo (patches.h): (0.098) DB6: correction for R3load PL 91 on HP-UX and SOLARIS (note 1609719)
    process id 1488
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDODS.cmd -dbcodepage 4103 -l SAPDODS.log -stop_on_error
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF16
    (SQL) INFO: Searching for SQL file SQLFiles.LST
    (SQL) INFO: SQLFiles.LST not found
    (SQL) INFO: Searching for SQL file C:\Target\Export1\DB/SQLFiles.LST
    (SQL) INFO: C:\Target\Export1\DB/SQLFiles.LST not found
    (SQL) INFO: Searching for SQL file DODS.SQL
    (SQL) INFO: DODS.SQL not found
    (SQL) INFO: Searching for SQL file C:\Target\Export1\DB/ORA/DODS.SQL
    (SQL) INFO: found C:\Target\Export1\DB/ORA/DODS.SQL
    (SQL) INFO: Trying to open C:\Target\Export1\DB/ORA/DODS.SQL
    (SQL) INFO: C:\Target\Export1\DB/ORA/DODS.SQL opened
    (DB) ERROR: DDL statement failed
    (DROP TABLE "/BI0/APERS_BOD00")
    DbSlExecute: rc = 103
      (SQL error 942)
      error message returned by DbSl:
    ORA-00942: table or view does not exist
    (IMP) INFO: a failed DROP attempt is not necessarily a problem
    DbSl Trace: Error 903 in exec_immediate() from oci_execute_stmt(), orpc=0
    DbSl Trace: ORA-00903 occurred at SQL stmt (parse error offset=15)
    (DB) ERROR: DDL statement failed
    (  CREATE TABLE [/BI0/APERS_BOD00]         (  [TCTUSERNM] nvarchar(000012)          NOT NULL  ,           [TCTOBJVERS] nvarchar(000001)          NOT NULL  ,           [TCTSYSID] nvarchar(000010)          NOT NULL  ,           [TCTQUACT] nvarchar(000001)          NOT NULL  ,           [TCTOBJNM] nvarchar(000040)          NOT NULL  ,           [TCTTLOGO] nvarchar(000004)          NOT NULL  ,           [RECORDMODE] nvarchar(000001)          NOT NULL  ,           [TCTTIMSTMP] nvarchar(000014)          NOT NULL   )          WITH ( DATA_COMPRESSION = PAGE )   )
    DbSlExecute: rc = 99
      (SQL error 903)
      error message returned by DbSl:
    ORA-00903: invalid table name
    (DB) INFO: disconnected from DB
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20140705134254
    FYI - A retry does not help. Also tried to search for the error on scn, google but haven't been able to find the right solution.
    Can you help?
    Regards,
    Cobain.

    Divyanshu - sorry to ask but can you explain why i need to update r3load and r3trans to resolve this error? Just want to understand why I'm doing a correction so I can learn from the same.
    Also, can you clarify the file update process:
    For R3load:
    a) the r3load used by the command is dated 8/16/2011 (location:C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\...)
    b) the r3load i have in my db folder is dated 10/23/2011 (location:C:\Final\Installer\BS7i2011_Installation_Master_\DATA_UNITS\BS2011_IM_WINDOWS_X86_64\ORA\UC\...)
    Do i replace (a) with (b)?
    For R3trans:
    How do I update this file?
    - Cobain.

  • Report error:ORA-06502: PL/SQL: numeric or value error: character string bu

    We face the above error in HTMLDB (APEX) application Ver 3.1.0. This occurs when we try to display more number of rows/records in drop-down list (LOV in tabular forms). We are able to display 200 records in LOV. When the list of records exceeds 230, we face the below error
    report error:ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    the values listed in LOV are from tables (one of the columns in table)
    Could anyone give us a solution?

    Hi
    As you are using a tabular form, you could actually do the following:
    1 - In the tabular form column's attributes, set the following:
    Display as: Select List (query based on LOV)
    Display extra values: Yes
    List of values definition: SELECT null d, null r FROM DUAL
    2 - Add a new page item and set it to generate your select list
    3 - Create an HTML region with no template and use the following for its source:
    &lt;script type="text/javascript"&gt;
    function loadList(c, l)
    var s = document.getElementsByName(c);
    var lItem = document.getElementById(l);
    var lLength = lItem.options.length;
    var k;
    var j;
    var x = lItem.innerHTML;
    var v;
    var o;
    var z;
    for (k = 0; k &lt; s.length; k++)
    z = s[k];
    v = z.value;
    z.options.length = 0;
    for (j = 0; j &lt; lLength; j++)
    o = new Option()
    o.value = lItem[j].value;
    o.text = lItem[j].text;
    z.options[j] = o;
    z.value = v;
    if (z.selectedIndex == -1)
    z.selectedIndex = 0;
    loadList("f05", "P1_MGR");
    &lt;/script&gt;
    (Change "f05" and "P1_MGR" as appropriate to your column and your new page item respectively)
    Now, when you load the page, the select list contains a null entry plus the entry already on the database. The javascript kicks in automatically, loops through every entry in the "f05" column, copies the existing value, replaces the select list with the new page item version and sets its value to the copied value.
    Your new page item could be in a DIV tag that has a style of "display:none" to hide it from view.
    Andy

  • [PL/SQL Error] ORA-01843: not a valid month, not sure how to troubleshoot

    Trying to use PL/SQL to automatically create a report that show the following:
    Daily:      
    # of Registered Users      
    # of Completes (assessment)      Average per User
    # of Starts (assessment)      Average per User
    Weekly:      
    # of Registered Users      
    # of Completes (assessment)      Average per User
    # of Starts (assessment)      Average per User
    Yearly:      
    # of Registered Users      
    # of Completes (assessment)      Average per User
    # of Starts (assessment)      Average per User
    When I run the PL/SQL I get the following
    [error]
    ORA-01843: not a valid month
    [error]
    The error occurs on this part of the PL/SQL
    --registered users weekly starts
    select count(*), trunc(next_day(sysdate-29, 'SUNDAY')-7), trunc(sysdate-29)
         into v_weekly_count_total_ru, v_weekly_start_date, v_weekly_end_date
              from entities
                   where list_id = 3290
                   and participation_code_id = 10
                   and trunc(participation_date)
                   between trunc(next_day(sysdate-29, 'SUNDAY')-7) and                         
                            trunc(sysdate-29);I'm using the number 29 because I'm using a test database to test this first before moving it into production. And my test data only goes back to early August 2006.
    Also, I'm not doing anything with months, so I am suprised that it is throwing this type of error.
    thanks

    I tested a snippet of code in my production environment, just to see if I would get any results:
    --registered users weekly starts
    select count(*), trunc(next_day(sysdate-1, 'SUNDAY')-7), trunc(sysdate-1)
         --into v_weekly_count_total_ru, v_weekly_start_date, v_weekly_end_date
              from entities
                   where list_id = 3290
                   and participation_code_id = 10
                   and trunc(participation_date)
                   between trunc(next_day(sysdate-1, 'SUNDAY')-7) and trunc(sysdate-1);
    COUNT(*)     TRUNC(NEXT_DAY(SYSDATE-1,'SUND     TRUNC(SYSDATE-1)--INTOV_WEEKLY
    1     09/10/2006 00:00:00     09/11/2006 00:00:00I did a double check in my test DB to make sure there is data there:
    select count(*)
         from entities
              where trunc(participation_date)
              between to_date('01-08-2006','DD-MM-YYYY')
              and to_date('14-08-2006','DD-MM-YYYY')
              and list_id = 3290;
    COUNT(*)
    11So I'm pretty sure that I'm not pulling anything null.
    thanks

Maybe you are looking for

  • Greyed out ID3 Tags Artwork problem

    I have a few mp3 files(not "read only") that have missing song information when checking the advanced section in the summary tab (window's explorer). The only ones I can see are the "track number," "Title" and "comments" fields. For example, the Arti

  • Exclude free of charge in available stock.

    Hi, Currently in our system, every sales order created decreases the materials quantity available to sell (before delivery is done). On many occasions we have created free of charge sales orders, which a customer is required to collect within a speci

  • Customer Statement on the basis of Ship to instead of Payer?

    Hi, Can we run statements on the basis of the ship to party in the document instead of the Payers as in FBL5N currently? Any config. or user exit that can help do that? Or is there any standard pre-existing way of achieving this? Thanks a lot.

  • Converting iTunes (m4a) to mp3 or wav

    I have a fairly extensive iTunes library which I sync with my iPod Nano 2. My daughter has just been given an mp3 player for her birthday and I'm trying to find a simple way of exporting & converting tracks for her to either mp3 or WAV format without

  • EDI message is not sending to the third party for one particular SA

    DearAll,                We have the scenario to send the schedule lines to the third party system. for one particular schedule agreement schedule lines not sending to the third party system. while processing the messgae it is giving the error as "Mes