ORA-28500 when accessing an Excel file

Hello,
I'm getting the dreaded ORA-28500 "Optional feature not implemented" when trying to access an Excel file through HS ODBC. This is a known bug in 11.1.0.6 (6701400), however my flavor is 11.1.0.7 fully patched. Since I'm trying to use the OLAP option on Windows XP 32, I installed version 11.1.0.6 and applied patches 6890831 and 7682184, as advised on [this page|http://www.oracle.com/technology/products/bi/olap/collateral/olap_certification.html], with no error as far as I can tell. This should have fixed the problem with dg4odbc according to the bug page, however when now I try to access an Excel sheet I get the exact same message :
SQL> select * from "International$"@refdata;
select * from "International$"@refdata
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Microsoft][ODBC Excel Driver]Optional feature not implemented
ORA-02063: preceding 2 lines from REFDATAIs it possible that the patch did not go as intended ? Or that the second patch did reintroduce the old behavior ? I'm really lost at what to do now.
Thanks for your help,
Chris

Hi gronau,
thanks for the prompt answer. In fact I have only one Oracle Home on this machine so this should not be the problem. Below is a log of the call that gives the error message, can you spot the error from that ?
Thanks a lot for your help,
Chris
Oracle Corporation --- TUESDAY   MAR 31 2009 17:28:17.858
Heterogeneous Agent Release
11.1.0.7.0
Oracle Corporation --- TUESDAY   MAR 31 2009 17:28:17.858
    Version 11.1.0.7.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "UCS2"
setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
setting HS_FDS_SUPPORT_STATISTICS to default of "TRUE"
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
Exiting hgosdip, rc=0
ORACLE_SID is "refdata"
Product-Info:
  Port Rls/Upd:7/0 PrdStat:0
  Agent:Oracle Database Gateway for ODBC
  Facility:hsa
  Class:ODBC, ClassVsn:11.1.0.7.0_0006, Instance:refdata
Exiting hgogprd, rc=0
hostmstr: 2068393984:      HOA After hoagprd
hostmstr: 2068393984:      HOA Before hoainit
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=178
HOCXU_DRV_NCHAR=1000
HOCXU_DB_CSET=873
HOCXU_SEM_VER=110000
Entered hgolofn at 2009/03/31-17:28:19
Exiting hgolofn, rc=0 at 2009/03/31-17:28:19
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
Exiting hgoinit, rc=0 at 2009/03/31-17:28:19
hostmstr: 2068393984:      HOA After hoainit
hostmstr: 2068393984:      HOA Before hoalgon
Entered hgolgon at 2009/03/31-17:28:19
reco:0, name:DWO, tflag:0
Entered hgosuec at 2009/03/31-17:28:19
Exiting hgosuec, rc=0 at 2009/03/31-17:28:19
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using DWO as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2009/03/31-17:28:20
HS_FDS_CONNECT_INFO = "refdata"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2009/03/31-17:28:20
dsn:refdata, name:DWO
optn:
##>Connect Parameters (len=27)<##
## DSN=refdata;
#! UID=DWO;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2009/03/31-17:28:20
DriverName:odbcjt32.dll, DriverVer:04.00.6304
DBMS Name:EXCEL, DBMS Version:08.00.0000
Exiting hgocont, rc=0 at 2009/03/31-17:28:21
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 260 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2009/03/31-17:28:21
hostmstr: 1969635328:      HOA After hoalgon
hostmstr: 1969635328: RPC Before Upload Caps
hostmstr: 1969635328:      HOA Before hoaulcp
Entered hgoulcp at 2009/03/31-17:28:21
Entered hgowlst at 2009/03/31-17:28:21
Exiting hgowlst, rc=0 at 2009/03/31-17:28:21
SQLGetInfo returns ` for SQL_IDENTIFIER_QUOTE_CHAR
SQLGetInfo returns Y for SQL_COLUMN_ALIAS
5 instance capabilities will be uploaded
  capno:1991, context:0x0001ffff, add-info:        0
  capno:1992, context:0x0001ffff, add-info:        1, translation:"`"
  capno:3007, context:0x00000000, add-info:       -3, translation:"36"
  capno:3027, context:0x00000000, add-info:       -1, translation:"0"
  capno:3036, context:0x00000000, add-info:       -4, translation:"7"
Exiting hgoulcp, rc=0 at 2009/03/31-17:28:23
hostmstr: 1969635328:      HOA After hoaulcp
hostmstr: 1969635328: RPC After Upload Caps
hostmstr: 1969635328: RPC Before Upload DDTR
hostmstr: 1969635328:      HOA Before hoauldt
Entered hgouldt at 2009/03/31-17:28:24
0 instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2009/03/31-17:28:24
hostmstr: 1969635328:      HOA After hoauldt
hostmstr: 1969635328: RPC After Upload DDTR
hostmstr: 1969635328: RPC Before Begin Trans
hostmstr: 1969635328:      HOA Before hoabegn
Entered hgobegn at 2009/03/31-17:28:24
tflag:0 , initial:1
hoi:0x12f074, ttid (len 28) is ...
  00: 4C4F4341 4C2E4E53 4E2E6465 36313030  [LOCAL.NSN.de6100]
  10: 65322E35 2E31302E 31353434           [e2.5.10.1544]
                 tbid (len 25) is ...
  00: 4C4F4341 4C2E4E53 4E5B352E 31302E31  [LOCAL.NSN[5.10.1]
  10: 3534345D 5B312E34 5D                 [544][1.4]]
TXN Capable:0, Isolation Option:0x0
Exiting hgobegn, rc=0 at 2009/03/31-17:28:24
hostmstr: 1969635328:      HOA After hoabegn
hostmstr: 1969635328: RPC After Begin Trans
hostmstr: 1969635328: RPC Before Describe Table
hostmstr: 1969635328:      HOA Before hoadtab
Entered hgodtab at 2009/03/31-17:28:25
count:1
  table: International$
Entered hgopdsc at 2009/03/31-17:28:25
Describing procedure DWO.International$
Output hoada
hgopdsc, line 1298: NO hoada to print
Exiting hgopdsc, rc=942 at 2009/03/31-17:28:25
The hoada for table International$ follows...
hgodtab, line 651: NO hoada to print
Exiting hgodtab, rc=0 at 2009/03/31-17:28:25
hostmstr: 1969635328:      HOA After hoadtab
hostmstr: 1969635328: RPC After Describe Table
hostmstr: 1969635328: RPC Before SQL Bundling
hostmstr: 1969635328:      HOA Before hoxpars
Entered hgopars, cursor id 1 at 2009/03/31-17:28:26
type:0
SQL text from hgopars, id=1, len=30 ...
     00: 53454C45 4354202A 2046524F 4D206049  [SELECT * FROM `I]
     10: 6E746572 6E617469 6F6E616C 2460      [nternational$`]
Exiting hgopars, rc=0 at 2009/03/31-17:28:26
hostmstr: 1968062464:      HOA After hoxpars
hostmstr: 1968062464: RPC After SQL Bundling
hostmstr: 1968062464: RPC Before SQL Bundling
hostmstr: 1968062464:      HOA Before hoxopen
Entered hgoopen, cursor id 1 at 2009/03/31-17:28:26
hgoopen, line 83: NO hoada to print
Exiting hgoopen, rc=0 at 2009/03/31-17:28:26
hostmstr: 1966489600:      HOA After hoxopen
hostmstr: 1966489600:      HOA Before hoxdscr
Entered hgodscr, cursor id 1 at 2009/03/31-17:28:26
Entered hgopcda at 2009/03/31-17:28:26
Column:1(Intl Code): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:510, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/03/31-17:28:26
Entered hgopcda at 2009/03/31-17:28:26
Column:2(Country Full Name): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:510, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/03/31-17:28:26
Entered hgopcda at 2009/03/31-17:28:27
Column:3(Country Short Name): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:510, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/03/31-17:28:27
Entered hgopcda at 2009/03/31-17:28:27
Column:4(ISO Code): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:510, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/03/31-17:28:27
Entered hgopcda at 2009/03/31-17:28:27
Column:5(Type): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:510, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/03/31-17:28:27
hgodscr, line 506: Printing hoada @ 01E01CA0
MAX:5, ACTUAL:5, BRC:100, WHT=5 (SELECT_LIST)
DTY         NULL-OK  LEN  MAXBUFLEN   PR/SC  CST IND MOD NAME
12 VARCHAR Y        510        510   0/  0    0   0   0 Intl Code
12 VARCHAR Y        510        510   0/  0    0   0   0 Country Full Name
12 VARCHAR Y        510        510   0/  0    0   0   0 Country Short Name
12 VARCHAR Y        510        510   0/  0    0   0   0 ISO Code
12 VARCHAR Y        510        510   0/  0    0   0   0 Type
Exiting hgodscr, rc=0 at 2009/03/31-17:28:27
hostmstr: 1966489600:      HOA After hoxdscr
hostmstr: 1966489600: RPC After SQL Bundling
hostmstr: 1966489600: RPC Before Get Statistics
hostmstr: 1966489600:      HOA Before hoxtcis
Entered hgotcis at 2009/03/31-17:28:27
Calling SQLStatistics for International$
Entered hgopoer at 2009/03/31-17:28:28
hgopoer, line 159: got native error 106 and sqlstate HYC00; message follows...
[Microsoft][ODBC Excel Driver]Optional feature not implemented
Exiting hgopoer, rc=0 at 2009/03/31-17:28:28
hgotcis, line 367: calling SQLStatistics got sqlstate HYC00
Exiting hgotcis, rc=28500 at 2009/03/31-17:28:28 with error ptr FILE:hgotcis.c LINE:367 ID:SQLStatistics
hostmstr: 1966489600:      HOA After hoxtcis
hostmstr: 1966489600: RPC After Get Statistics

Similar Messages

  • Abap import error DbSl Trace: ORA-1403 when accessing table SAPUSER

    hi all
    I am installing ERP  6.0 (ABAP) on win2003 cluster, oracle 10g, I have error at database instance intallation. here some logs
    DD03L.log
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20090812102157
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#18 $ SAP
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4 [UNICODE]
    Compiled Apr  3 2009 09:03:56
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe -i DD03L.cmd -dbcodepage 4103 -l DD03L.log -stop_on_error
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (RTF) ########## WARNING ###########
         Without ORDER BY PRIMARY KEY the exported data may be unusable for some databases
    (TPL) ERROR: unknown template variable "tablespace"
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20090812102157
    import_monitor.log
    ERROR: 2009-08-12 10:21:57 com.sap.inst.migmon.LoadTask run
    Loading of 'DD03L' import package is interrupted with R3load error.
    Process 'I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe -i DD03L.cmd -dbcodepage 4103 -l DD03L.log -stop_on_error' exited with return code 2.
    For mode details see 'DD03L.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: 2009-08-12 10:22:25
    Cannot start import of packages with views because not all import packages with tables are loaded successfully.
    WARNING: 2009-08-12 10:22:25
    1 error(s) during processing of packages.
    INFO: 2009-08-12 10:22:25
    Import Monitor is stopped.
    sapinst_dev.log
    ERROR      2009-08-12 10:22:25.718
               CJSlibModule::writeError_impl()
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
    TRACE      2009-08-12 10:22:25.718 [iaxxejsbas.hpp:483]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown unknown exception. Rethrowing.
    ERROR      2009-08-12 10:22:25.734 [sixxcstepexecute.cpp:951]
    FCO-00011  The step runMigrationMonitor with step key |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR ( Last error reported by the step :Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.).
    TRACE      2009-08-12 10:22:25.781 [iaxxgenimp.cpp:752]
                CGuiEngineImp::showMessageBox
    <html> <head> </head> <body> <p> An error occurred while processing service SAP ERP 6.0 Support Release 3 > SAP Systems > Oracle > High-Availability System > Based on AS ABAP > Database Instance( Last error reported by the step :Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.). You may now </p> <ul> <li> choose <i>Retry</i> to repeat the current step. </li> <li> choose <i>View Log</i> to get more information about the error. </li> <li> stop the task and continue with it later. </li> </ul> <p> Log files are written to C:\Program Files/sapinst_instdir/ERP/SYSTEM/ORA/HA/ABAP/DB. </p> </body></html>
    TRACE      2009-08-12 10:22:25.781 [iaxxgenimp.cpp:1255]
               CGuiEngineImp::acceptAnswerForBlockingRequest
    Waiting for an answer from GUI
    sapinst.log
    WARNING 2009-08-12 10:22:25.718
    Execution of the command "C:\j2sdk1.4.2_21-x64\bin\java.exe -classpath migmon.jar -showversion -Xmx1024m com.sap.inst.migmon.imp.ImportMonitor -sapinst" finished with return code 103. Output:
    java version "1.4.2_21"
    Java(TM) Platform, Standard Edition for Business (build 1.4.2_21-b03)
    Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_21-b03, mixed mode)
    Import Monitor jobs: running 1, waiting 1, completed 26, failed 0, total 28.
    Loading of 'DD03L' import package: ERROR
    Import Monitor jobs: running 0, waiting 1, completed 26, failed 1, total 28.
    ERROR 2009-08-12 10:22:25.718
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
    ERROR 2009-08-12 10:22:25.734
    FCO-00011  The step runMigrationMonitor with step key |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR ( Last error reported by the step :Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.).
    any idea
    Regards
    ABH

    hi
    All logs are above (include import_monitor.log and java)
    thanks

  • ORA-12705: Cannot access NLS data files or invalid environment specified

    Hi,
    I am using Oracle 10g Express, ojdbc14.jar , apache tomcat 5 server on Linux (Fedora 6).
    In CustDisp.JSP I have following code:
    <%
    try {
    Class.forName ("oracle.jdbc.driver.OracleDriver").newInstance();
    out.println("JDBC driver loaded.<br>");
    catch (ClassNotFoundException e) {
    %>
    error :<br>
    <%=e.toString() %>
    <%
    String sql = "SELECT custid, fname, lname FROM customers";
    try {
    Connection con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE","myid", "mypassword");
    out.println("Connection made.<br><br>");
    Statement s = con.createStatement();
    ResultSet rs = s.executeQuery(sql);
    %>
    When Itry to access http://localhost:8080/jsps/CustDisp.jsp,I get following error:
    java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid environment specified.
    When I display enviorenment parameters in this JSP, I get follwing:
    JDBC driver loaded.
    Oracle Home = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server
    Language = en_US.UTF8
    NLS Language = AMERICAN_AMERICA.AL32UTF8
    Path = /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
    Class Path = /usr/lib/jvm/java/lib/tools.jar:/usr/share/tomcat5/bin/bootstrap.jar:/usr/share/tomcat5/bin/commons-logging-api.jar:/usr/share/java/mx4j/mx4j-impl.jar:/usr/share/java/mx4j/mx4j-jmx.jar
    Charset = null
    Home = /usr/share/tomcat5
    Log Name = tomcat
    LD LIB PATH = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/nls/data/ojdbc14.jar:
    Locale = en_US
    nls data directory : /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/nls/data
    I have checked permissions for nls data folder, they are :
    Owner: Oracle
    Folder Access: Create and delete files
    Group: Dba
    Folder Access: Access files
    Others
    Folder Access: Access files
    Execute: Allow executing file as program.
    I have written a java program and used same drivers,customers table and connection i.e
    Class.forName ("oracle.jdbc.driver.OracleDriver").newInstance();
    String sql = "SELECT custid, fname, lname FROM customers";
    Connection con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE","myid", "mypassword");
    it works fine and displays customers.
    Only when I try to access my CustDisp.JSP, I get
    java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid environment specified. Error.
    Can some one please help me sorting out this problem?
    Thanks in advance.
    AQK

    Hi,
    Relevant code for CustDisp.JSP is given below:
    <%@ page session="false" %>
    <%@ page import="java.io.*" %>
    <%@ page import="java.util.*" %>
    <%@ page import="java.sql.*" %>
    <%@ page import="oracle.jdbc.*" %>
    <%
    try {
    Class.forName ("oracle.jdbc.driver.OracleDriver").newInstance();
    out.println("JDBC driver loaded.<br>");
    catch (ClassNotFoundException e) {
    %>
    error :
    <%=e.toString() %>
    <%
    String sql = "SELECT custid, fname, lname FROM customers";
    try {
    Connection con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE","myid", "mypassword");
    out.println("Connection made.<br><br>");
    Statement s = con.createStatement();
    ResultSet rs = s.executeQuery(sql);
    %>
    Permissions for nls data folder
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/nls/data/
    are :
    Owner: Oracle
    Folder Access: Create and delete files
    Group: tomcat
    Folder Access: Access files
    Others
    Folder Access: Access files
    Execute: Allow executing file as program.
    In CustDisp.JSP I have following code which accesses ojdbc14.jar
    // Check access to the nls data files.
    cfile = "";
    try{
    File myfile = new File("/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/nls/data/ojdbc14.jar");
    if (myfile.exists() == true){
    cfile="ojdbc14.jar exists in the data directory. Its length is "+ myfile.length()+" It can be read =" myfile.canRead() " , can be written = " + myfile.canWrite();
    }else{
    cfile="ojdbc14.jar does not exist.";
    catch (Exception er){
    %>
    error in reading file:<br>
    <%=er.toString() %>
    <%
    This code gives following output:
    File ojdbc14.jar exists in the data directory. Its length is 1536979 It can be read =true , can be written = false
    Every things seems to be OK but when I try to access http://localhost:8080/jsps/CustDisp.jsp, Iget:
    Sql Error:
    java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid environment specified
    Best regards.
    AQK

  • MCOD Installation - Error ORA-1403 when accessing table SAPUSER

    Hello.
    We are in middle of a MCOD installation of 4.7 x 2.00 SR1 with BW 3.1 on Windows 2003/Oracle.
    BW 3.1 is up and running, while 4.7 fails on R3loads.
    Following are SAP000.log and SAPUSER.log files:
    SAP000.log
    ===============================
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: START OF LOG: 20060507193904
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#4 $ SAP
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: version R6.40/V1.4
    D:\usr\sap\D11\SYS\exe\run/R3load.exe -dbcodepage 1100 -i D:\Program Files\sapinst_instdir\R3E_472SR1_ABAP_NUC\DB/SAP0000.cmd -l D:\Program Files\sapinst_instdir\R3E_472SR1_ABAP_NUC\DB/SAP0000.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): WE8DEC
    (DB) ERROR: DDL statement failed
    (DROP TABLE "REPOLOAD")
    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: ORA-406 occured when executing SQL statement (parse error offset = 0)
    (DB) ERROR: DDL statement failed
    (CREATE TABLE "REPOLOAD" ( "PROGNAME" VARCHAR2(40) DEFAULT ' ' NOT NULL , "R3STATE" VARCHAR2(1) DEFAULT ' ' NOT NULL , "MACH" NUMBER(5) DEFAULT 0 NOT NULL , "UNAM" VARCHAR2(12) DEFAULT ' ' NOT NULL , "UDAT" VARCHAR2(8) DEFAULT '00000000' NOT NULL , "UTIME" VARCHAR2(6) DEFAULT '000000' NOT NULL , "L_DATALG" NUMBER(10) DEFAULT 0 NOT NULL , "Q_DATALG" NUMBER(10) DEFAULT 0 NOT NULL , "SDAT" VARCHAR2(8) DEFAULT '00000000' NOT NULL , "STIME" VARCHAR2(6) DEFAULT '000000' NOT NULL , "MINOR_VERS" NUMBER(5) DEFAULT 0 NOT NULL , "MAJOR_VERS" NUMBER(10) DEFAULT 0 NOT NULL , "LDATA" BLOB , "QDATA" BLOB  ) TABLESPACE PSAPD11620 STORAGE (INITIAL 0000000016K NEXT 0000040960K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) )
    DbSlExecute: rc = 99
      (SQL error 406)
      error message returned by DbSl:
    ORA-00406: COMPATIBLE parameter needs to be 9.2.0.0.0 or greater
    (DB) INFO: disconnected from DB
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: END OF LOG: 20060507193905
    ========================================
    SAPUSER.log
    ==============================
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: START OF LOG: 20060507193834
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#4 $ SAP
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: version R6.40/V1.4
    D:\usr\sap\D11\SYS\exe\run/R3load.exe -dbcodepage 1100 -i D:\Program Files\sapinst_instdir\R3E_472SR1_ABAP_NUC\DB/SAPUSER.cmd -l D:\Program Files\sapinst_instdir\R3E_472SR1_ABAP_NUC\DB/SAPUSER.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): WE8DEC
    (DB) INFO: disconnected from DB
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: job completed
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: END OF LOG: 20060507193835
    ==============================================
    Kindly look into it.
    Thanks
    KT

    Hi KT,
    Actually the problem is not ORA-1403, but the <i>ORA-00406: COMPATIBLE parameter needs to be 9.2.0.0.0 or greater</i>.
    Please update the COMPATIBLE parameter in your init<SID>.ora file and restart the database. This should fix your problem.
    Kind regards,
    Alexander Webster
    P.S. points are appreciated if my reply was helpfull.
    Message was edited by: Alexander Webster
    Removed typo

  • In Adobe Pro XI when converting an excel file to a pdf, the pdf is not retaining the page size settings.  Has anyone found a fix for this?

    In Adobe Pro XI when converting an excel file to a pdf, the pdf is not retaining the page size settings.  Has anyone found a fix for this?

    It shouldn't print each page as a separate job and
    each tab has a different name, so, even if it did, it
    ought to give the printouts the name of the tabs.
    It doesn't print each page as a separate job unless the orientation is different - that's the bug. And the name of the job is taken from the name of the window, not the name of the tabs. That's how every application works, which, I think, is why Excel allows the specific selection or the active sheets to be printed.
    Still, that does sound like a plausible explanation.
    However, even if presented with multiple prints with
    the same name, the spooler should print each one!
    The spooler does print each one - you can watch the spooler process the multiple jobs. I think, though, that they are being overwritten since all the jobs have the name of the window as the job title. And since this happens after the Save Dialog is presented, there's really nothing the application can do. To Excel, it's one job, the multiple orientations don't matter; it's just that Apple doesn't handle it correctly.
    As a workaround, you can print the selections one at a time and give them unique names and then rejoin them in one PDF file.

  • ORA-1403 when accessing table SAPUSER

    Hi all,
    I was performed  from Windows 2003 R2 32bit to Windows 2008 R2 64bit for Homogeneous system copy for SAP ERP 6.0 SR2.
    I occure error during Importing on Windows 2008 R2 64bit using sapinst.exe of Install Master ERP 2005 SR2.
    Source system : Windows 2003 R2 32bit + Oracle 10.2.0.2 + ERP 2005 SR2 with  Non-Unicode
    Target system :  Windows 2008 R2 64bit + Oracle 10.2.0.5 + ERP 2005 SR2 with  Non-Unicode
    The step  is stop "Import ABAP"
    1. Error detail log
    D:\usr\sap\MAR\SYS\exe\nuc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
    D:\usr\sap\MAR\SYS\exe\nuc\NTAMD64\R3load.exe: version R7.00/V1.4
    Compiled Jul 16 2007 22:44:14
    D:\usr\sap\MAR\SYS\exe\nuc\NTAMD64\R3load.exe -dbcodepage 1100 -i test_MIGKEY.cmd -l test_MIGKEY.log -K
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
    (CNV) ERROR: rscpMCActivate rc = 2048
    --------------------------------------5-
    code: 2048  RSCPENOCONV 
    in character code "MDMP" unknown                                   
    module: rscpc    location:   22 line: 14584
    TSL01: F43  p3: MDMP      
    D:\usr\sap\MAR\SYS\exe\nuc\NTAMD64\R3load.exe: job finished with 1 error(s)
    D:\usr\sap\MAR\SYS\exe\nuc\NTAMD64\R3load.exe: END OF LOG: 20140924032758
    2. R3load test connection error
    C:\Users\maradm.IDES>R3load.exe -testconnect
    sapparam: sapargv( argc, argv) has not been called.
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    R3load.exe: START OF LOG: 20140924033549
    R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
    R3load.exe: version R7.00/V1.4
    Compiled Jul 16 2007 22:44:14
    R3load.exe -testconnect
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
    (DB) INFO: disconnected from DB
    R3load.exe: job completed
    R3load.exe: END OF LOG: 20140924033549
    C:\Users\maradm.IDES>
    3. R3trans connect test error
    C:\Users\maradm.IDES>R3trans -d .
    This is R3trans version 6.14 (release 700 - 15.06.07 - 15:50:00).
    2EETW000 sap_dext called with msgnr "2":
    2EETW000 ---- db call info ----
    2EETW000 function:   db_ntab
    2EETW000 fcode:      NT_RDTDESCR
    2EETW000 tabname:    TADIR
    2EETW000 len:        5
    2EETW000 key:        TADIR
    2EETW000 retcode:    2
    R3trans finished (0012).
    trans.log
    4 ETW000  [dev trc     ,00000]         SELECT USERID, PASSWD FROM SAPUSER WHERE USERID IN (:A0, :A1)                                                            
    4 ETW000                                                                             393  0.034113
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => ORA-1403 when accessing table SAPUSER
    4 ETW000                                                                             429  0.034542
    4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code 1403         14  0.034556
    4 ETW000  [dev trc     ,00000]  Disconnecting from connection 0 ...                   12  0.034568
    4 ETW000  [dev trc     ,00000]  Rolling back transaction ...                          10  0.034578
    4 ETW000  [dev trc     ,00000]  Closing user session (con_hdl=0,svchp=000000000025BF58,usrhp=000000000AC98A60)
    4 ETW000                                                                             221  0.034799
    4 ETW000  [dev trc     ,00000]  Now I'm disconnected from ORACLE                     413  0.035212
    4 ETW000  [dev trc     ,00000]  Try to connect with default password                  21  0.035233
    4 ETW000  [dev trc     ,00000]  Connecting as SAPSR3/<pwd>@MAR on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    4 ETW000                                                                              24  0.035257
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              27  0.035284
    4 ETW000  [dev trc     ,00000]    0 WE8DEC                                                    1 0000000000253E70 000000000025C098 00000000002640F8
    4 ETW000                                                                              12  0.035296

    Hi Vagesan,
    Thank you for your reply
    First i try to connection test via R3load -testconnect
       It is ok.
       This problem not correct password of SAPR3. so i modify table SAPUSER OF OPS$ schema. I refer to Note 400241  - Problems with ops$ or sapr3 connect to Oracle
    Second.
    I retry SAPINST gui of sapinst.exe with button "retry".
    but this error message the below.
    I guess this IDES System is MDMP codepage.
    D:\usr\sap\MAR\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20140924061219
    D:\usr\sap\MAR\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
    D:\usr\sap\MAR\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4
    Compiled Jul 17 2007 00:40:17
    D:\usr\sap\MAR\SYS\exe\uc\NTAMD64\R3load.exe -dbcodepage 4103 -i test_MIGKEY.cmd -l test_MIGKEY.log -K
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (CNV) ERROR: rscpMCActivate rc = 2048
    --------------------------------------5-
    code: 2048  RSCPENOCONV 
    in character code "MDMP" unknown                                   
    module: rscpc    location:   22 line: 14584
    TSL01: F43  p3: MDMP      
    D:\usr\sap\MAR\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
    D:\usr\sap\MAR\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20140924061219

  • [exec] ORA-12705: Cannot access NLS data files or invalid environment specified

    Hi all,
    We have an app running ok on WinXP, But if run on Win7 it gets error:
        [exec] Caused by: java.sql.SQLException: ORA-00604: error occurred at recur
    sive SQL level 1
         [exec] ORA-12705: Cannot access NLS data files or invalid environment speci
    fied
    Is this a sqlnet client issue?
    Thanks a lot,
    zxy

    yxes2013 wrote:
    I already google it but I am not confident about my result
    I need validation from genius guys like you
    And as long as you rely on being spoon-fed everything, you will never be confident about your result.
    Try the following:
    >change jre versión (donwload from http:www.sun.com) and declare the new JAVA_HOME variable.
    >try calling this code: Locale.setDefault(Locale.ENGLISH);
        before you open a database connection.
    > The NLS_LANG must be unset in the Windows registry (re-named is best).  Look for the NLS_LANG subkey in the registry at \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE, and rename it.
    And where did you find that solution?
    Lie On The Internet - YouTube

  • How Do I *Stop* Quattro Pro from Converting Access and Excel Files?

    Ever since I installed WordPerfect 7, I've had periodic difficulties of having stored Excel files open in Quattro Pro.  Normally, I can easily correct that by retrieving the files from within Excel.  But now a more difficult problem has presented
    itself.  Yesterday, I tried exporting an Access file into Excel and Quattro Pro opened.  Short of deleting Quattro Pro is there anyone I can stop it from trying to convert my Excel and Access files?

    Thanks for your response.  However, your answer raises another problem.  After installing an HP M476nw printer a couple of weeks ago, Internet Explorer shut down, and I can't get it back up so to speak.  I've read all of Microsoft's How to
    Install Internet Explorer 10 (and Internet Explorer 11) in Windows 7 online support; but when I try to do so, I keep getting an error message which in substance states" you can't install this version because you've already installed a latter version of
    IE.  What's a fellow to do?  I've tried uninstalling Internet Explorer and beginning with a cold boot; but, nothing seems to work.  So, at least until I can find a solution to that problem, I guess I'm stuck with Firefox.  Sigh.

  • No column heading in second page in alv report when save in excel file

    Hi Expert,
    How can i remove the column header from Alv report when program execute in background and save in excel file right now
    its comming column header in each page. Client dont want header column in excel from second page. is this possible?
    with regards
    chandan_viji

    Hi Ravi,
    thanks for reply i have solved this problm throug line count and NEW-PAGE LINE COUNT 10000 bcoz client want output in excel file only one page header.
    with regards
    chandan_viji

  • I am getting an error ORA-39143 when importing a dump file

    I get ORA-39143: dump file "c:\oraload\expdat.dmp" may be an original export dump file
    when importing a dump file created by 9.2 exp into 10.2 database using impdp
    I need to use the impdp utility with the table_exists_action option which doesn't appear to exist in imp
    What is the proper mix of versions/flags/options to export from a 9.2 database and import into an existing 10.2 database while replacing existing data?
    thanks

    well its on the link i provided
    "When tables are manually created before data is imported, the CREATE TABLE statement in the export dump file will fail because the table already exists. To avoid this failure and continue loading data into the table, set the import parameter IGNORE=y. Otherwise, no data will be loaded into the table because of the table creation error."
    original import tries to append (insert)
    there is no parameter here like table_exists_action=truncate/replace
    1. drop all the tables (dynamic sql), so there will be no errors because of already existent tables
    or
    2. truncate all the tables (dynamic sql) + use IGNORE=Y
    (or
    3. drop the whole schema in target database, recreate it, then do the import)

  • RE:ora-28500 when trying to insert into SQL Server table

    Hi all!
    I'm getting this when i attempt to insert into my table test in a SQL Server database. As u can see from the select, the database link seems ok. Any ideas plz. Thnx..
    SQL> select "idAges" from test@try2;
    no rows selected
    SQL> insert into test@try2 ("idAges","nARAges","nAPAges") values(10,'','');
    insert into test@try2 ("idAges","nARAges","nAPAges") values(10,'','')
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][Microsoft][ODBC SQL Server Driver][SQL
    Server]Cannot insert explicit value for identity column in table 'test' when
    IDENTITY_INSERT is set to OFF. (SQL State: 23000; SQL Code: 544)
    ORA-02063: preceding 2 lines from TRY2

    IDENTITY_INSERT on works only for particular session and for one table. It's not global variable.
    The only idea what I have is to create link from MS Sql to Oracle (right now You have oracle ->ms sql)and then before insert You will set identity_insert on and will run insert.

  • How to format the font in Cell when export to Excel file?

    Dear all,
    I am using the CRJ SDK 12 to export to Excel file, but i i want to format the font of Cells in Excel when exporting them.
    Can you help me to solve this issue?
    Thanks,
    Nha

    There's no control over per-cell formatting for Excel exports.
    Sincerely,
    Ted Ueda

  • Pop up saying File already exists when saving an excel file while running exe

    I have an excel file which I read and write in my application.
    When I run the application in development system, it works fine. However when I run the application as an exe and try to save the excel file, it says that 'The file already exists and Do you want to replace?'.
    Why does this question asked for exe?
    PFA my write excel VI
    Thanks in advance.
    Attachments:
    Write to Excel.vi ‏25 KB

    Hi Princess_swa,
    The problem may be that when you build an exe, it adds another folder called 'builds' into the filepath.
    A good way to fix this is to create a case structure, putting extra strip paths into your filepath if running an exe.
    I have attached a screenshot of my code doing exactly this for you to look at. The code creates a 'base path' which is then used to reference all of my file paths in my code - and therefore, they will always have the right number of strip paths when it is run. (Note: in my code I have 2 extra strip paths, due to where I've placed the folder, but one should be sufficient.)
    Also there is a 'Check if folder exists' VI which you can again link to a case structure, and change the filename if it already exists. Again, I have provided a screenshot of my code which does this.
    Hope this helps,
    Lou
    Attachments:
    runtime strip paths.png ‏9 KB
    check folder exists.png ‏5 KB

  • Link update error when updating linked excel file

    Im working with about 200 pages product catalog and the product information is on excel tables. I import the excel file as unformatted table in Indesign and format the table using the table and cell styles. The importing and formatting goes just fine, but when i edit the linked table in excel and then try update the link the Indesign notes: "Cannot update the link for xxxx.xls. Please place the document again to reset the link." The catalogs product information is on 5 separete excel files and each file contents about 3000 rows and 7 colums, the idea was that i import the excel tables to Indesign and when the customer makes changes or correction in excel, i just update the links and thats it. This updating error sinks the whole idea, has anyone a good idea how to fix this problem or can i do the job some other way?
    Im using Indesign CS3 (5.04) and Mac OSX (10.4.11( and i have tryed two different excel version, Excel 2008 for Mac (12.1.3) and Excel 2004 for Mac (11.3.7).

    I've seen this error sporadically and have no clue what causes it. The
    only thing you can do is follow the direction and re-place the file.
    Bob

  • Performance issue when accessing a CRL file

    Hi,
    In an application we receive sign and verify files(ordinary information files) as seperate processes. When signing files we do a check on the CRL of the signing certificate. Below are the steps in which the check is done:
    1- Receive a file. Get its signing certificate from a repository.
    2-save/cache the CRL file in a directory(we do check if the file already exists when creating). We have configured a time out period with which the CRL will be updated in case of modifications.
    File file = new File(cacheDirSystem.getProperty("file.separator")+crlUrl(url));+
    fs = new FileOutputStream(file);
    X509CRL crl.writeTo(fs);
    3-Get the CRL Distribution Point from the signing certificate and load the file that was saved to check with the Certificate Revocation Lists.
    String as[] = getDistributionPointNameURIs((GeneralNames)dpName);
    File file = new File(cacheDirSystem.getProperty("file.separator")+modifyUrl(as));+
    lastModified=file.lastModified();
    fstream = new FileInputStream(file);
    crlObject.crl=new X509CRL(fstream);
    When running signing processes with more than 150 files(the file size can go upto 2MB) over a period of time, the CRL is sometimes not found and InvalidCRLException is thrown. I think its some problem with accessing the CRL file concurrently since it could also be updated at some point.
    Im trying to figure out if a file lock or some other way would help to reslove this. I need help/suggestions on this.
    Thanks in advance

    I think its some problem with accessing the CRL file concurrentlyUndoubtedly. You should write the new data to a new file and do a delete/rename operation. All clients should cope with not finding the CRL file by retrying a couple of times in case they tried between the delete and the rename.
    This is a file handling question, or concurrency question, not really a security question.

Maybe you are looking for