ORA-20100 Question

I have been trying to pass an XML Message through a PL/SQL procedure as a CLOB using Visual Basic. I can pass the XML Message Through Fine, but when I try to create a DOM Node using the Oracle XDK I get an error that says:
-2147221503: ORA-20100: Error occurred while parsing: Start of root element expected.
The Xml file looks like this:
<ATP_INFO>
<ATP_INFO_IN>
<CONTRACT>LHNDC</CONTRACT>
<PART_NO>1001E</PART_NO>
</ATP_INFO_IN>
<Procedure>
<Contract>LHNDC</Contract>
<Parameter>ATP_INFO</Parameter>
<Action>CHECK</Action>
<Synchronous>True</Synchronous>
</Procedure>
<OutMessageID>446661</OutMessageID>
<Receiver/>
<ExternalRef/>
</ATP_INFO>
Passing the Clob Parameter works fine in a test PL/SQL Package that looks like this:
CREATE OR REPLACE PROCEDURE TEST (in_clob_ IN CLOB, out_clob_ OUT CLOB) AS
BEGIN
out_clob_ := in_clob_;
END;
It's just when I call the xmlparser.parseclob procedure in PL/SQL that I have a problem.
I am currently using Oracle 8.1.6.3 with 8.1.7 OleDB Provider for the Clob usage. I am also just loading the XML into a MSXML Dom and calling the .xml method to write the XML out as text into an ADO Parameter. I didn't know if anyone else might of had a similar problem with this type of techonology?
Thanks

I am getting a similar error using the XDK when I try to parse a clob from a select.
Error: ORA-20100: Error occurred while parsing: Expected 'EOF'.
If I add a varaible to the procedure that is identical to the string I inserted to the table:
temptext :='<?xml version="1.0"........................';
and parse using
xmlparser.ParseBuffer(parser,temptext);
instead of
xmlparser.ParseClob(parser,c);
it works perfectly.

Similar Messages

  • ORA-20100: AppDomain could not be created for the specified security level

    We recently updated our development environment to Visual Studio 2010. We have previously deployed (with success) .Net stored procedures from Visual Studio 2005 to our Oracle 10gR2 database. I am currently trying to configure a local instance (called local) of Oracle 10gR2 database to test deployment of .Net stored procedures to Oracle 10gR2 via Visual studio 2010 and ODT version 11.2.0.1.2. I have built the demo from the ode developer guide and gotten as far as deploying it but executing the stored procedures from VS 2010 or SQL*Plus produces the following error...
    ORA-20100: AppDomain could not be created for the specified security level
    ORA-06512: at "SYS.DBMS_CLR", line 152
    ORA-06512: at "SCOTT.GETDEPTNO", line 7
    Here is what I have done.
    (Server)
    1. Installed oracle 10gR2 with ODE.Net
    2. Installed Oracle 10gR2 patch set 22
    3. Installed ODE upgrade from Oracle Developer Tools for Visual Studio .NET with Oracle 10g Release 2 ODAC 10.2.0.2.21
    (Client)
    4. Installed Oracle Developer Tools for Visual Studio .NET with Oracle 10g Release 2 ODAC 10.2.0.2.21 (In new client home).
    5. Installed patch set 22 on 10g client home.
    6. Installed Oracle 11g Release 2 ODAC 11.2.0.1.2 with Oracle Developer Tools for Visual Studio(in new 11g client home, only for VS 2010)
    I have made some minor changes (GAC) etc. per the following threads...
    ODE.NET 11.1.0.7.20 on 10g Database?!
    Re: Error: System.TypeInitializationException
    The database appears to be fully functional via TOAD - SQL plus etc. I can't find much on this error but it appears Oracle needs some permissions to launch an ASP.Net application that it does not have. Any help would be GREATLY appreciated, don't hesitate to ask for additional details.

    The KB article is almost what we have apart from theitalic underlined
    part
    Consider the following scenario:
    You use a domain administrator account to log on to a computer that is running Windows 7 or Windows Server 2008 R2.
    You use the Active Directory Users and Computers Microsoft Management Console (MMC) snap-in to connect to a domain controller.
    You open the Properties dialog box of a user account.
    The user account has sole access to a shared folder path that cannot be accessed by the administrator account.
    You set the Remote Desktop Services Home Folderattribute to the shared folder path.
    NoteThis attribute is located on the
    Remote Desktop Services Profiletab.
    You click Apply or OK.
    In this scenario, you receive the following error message:
    The home folder could not be created because: The network name cannot be found.
    Note If you click Apply or OK again, no error message is returned. However, the setting is not saved.
    I think the important bit is
    The user account has sole access to a shared folder path that cannot be accessed by the administrator account.
    We manually create the shares on our NAS and then just want to enter the path in the profile tab, I suppose the question is how to we stop it trying to create the shares ?

  • Xmlparser.parse fails with ORA-20100 when reading from mapped network drive

    Hi
    I have a problem with the xmlparser when parsing an xml document from a mapped network drive. If I read the xml document from a local drive, then there is no problem.
    I haven't been able to find any documentation specifying this. Is there any way to parse a file from a mapped network drive???
    To clarify, I have created an example procedure, that parses an XML doc from disc, notice that the G: drive is a mapped drive:
    CREATE OR REPLACE procedure test_xmlparser is
    p xmlparser.Parser;
    dir varchar2(100) := 'G:\Vejdirektoratet\root\xsl';
    errfile VARCHAR2(32) := 'error.log';
    begin
    p := xmlparser.newParser;
    -- set parser properties
    xmlparser.setValidationMode(p, FALSE);
    xmlparser.setErrorLog(p, dir || '\' || errfile);
    xmlparser.setPreserveWhiteSpace(p, FALSE);
    -- parse xml file
    xmlparser.parse(p, dir || '\' || 'HelloWorld.xml');
    xmlparser.FREEPARSER(p);
    end;
    The file HelloWorld.xml contains the following:
    <?xml version = '1.0'?>
    <message>
    <text>Hello World</text>
    </message>
    When running this in SQL*Plus I get the following error:
    ORA-20100: Error occurred while parsing: Invalid argument
    ORA-06512: at "SYS.XMLPARSER", line 22
    ORA-06512: at "SYS.XMLPARSER", line 69
    ORA-06512: at "VD.TEST_XMLPARSER", line 14
    ORA-06512: at line 1
    Changing the value of the variable dir to 'C:\' makes it all work.

    Hi again
    I need to ask a last, hopefully ;-), question on upgrading the JDK to 1.3.1:
    As far as I understand, this is how I do it:
    1) Install JDK 1.3.1 on DB server
    2) tell Oracle DB, to use that JDK.
    Is this the correct way? And how is step 2 done?
    Looked on metalink, google etc., but could only find this for 9iAS (not the DB) and Oracle Applications 11i.
    thanks, Sxren

  • Issue while running a custom package:ORA-20100: File o2670336.tmp creation for FND_FILE failed.You will find more information on the cause of the error in request log. in Package PA_OPPORTUNITY_MGT_PVT Procedure modify_project_attributes ORA-20100: File o

    Hi Guys,
    We have created a custom package where in we are trying to call the standard API's of Oracle projects i.e PA_PROJECT_PUB.When we are trying to call these APIs we are facing the below issue.
    We have tried testing in two instances ,Initially it worked in both instances.
    Using the same API's multiple times we tested the same data set in these instances.
    For the first few runs it works fine.But when we go on using the same API's again and again for our testing we face now and then the below issue.
    Standard API's
    =========
    add_task
    update_project
    change_structure_status
    create_draft_plan
    Error:
    ORA-20100: File o2670336.tmp creation for FND_FILE failed.You will find more information on the cause of the error in request log. in Package PA_OPPORTUNITY_MGT_PVT Procedure modify_project_attributes ORA-20100: File o2670336.tmp creation for FND_FILE failed.
    You will find more information on the cause of the error in request log. in Package PA_PROJECT_PUB Procedure update_project:ORA-0000: normal, successful completionError while publishing the task
    Please let us know if anyone of has come across the same situation.
    Regards,
    Vijay

    But have issue only with validating invoice batch. I followed metalink ID's 605542.1, 167990.1,261693.1,1088553.1,749491.1, 461271.1 and few more.Was this working before? If yes, any changes have been done recently?
    Please see if these docs help.
    APXAPRVL: Invoice Validation Errors With MSG-00001 and REP-1419 [ID 333305.1]
    Invoice Validation Errors When Others:101505:Non-Oracle Exception Rep-1419 [ID 464125.1]
    Invoice Validation Fails with REP-1419 Error in Ap_approval_matched_pkg.Execute_matched_checks [ID 293425.1]
    Invoice Validation Failing On Fnd_file Could Not Write To File L0202306.Tmp [ID 461520.1]
    Invoice Validation (APPRVL) Errors ORA-20001 APP-SQLAP-10000 PSA_FUNDS_CONTROL_PKG.glxfck [ID 463184.1]
    Validate Invoice Error With ORA-20001: APP-SQLAP-10000: AP_FUNDS_CONTROL_PKG.Calc_QV [ID 432702.1]
    Invoice Validation Program Is Erroring Out [ID 382844.1]
    Error On Validation Of Invoices From Previous Periods [ID 412814.1]
    Thanks,
    Hussein

  • ORA-20100: File oRI_INV_.tmp creation for FND_FILE failed.

    Dear All,
    I am getting the following Error while running a concurrent program. Could anyone help me out why this error is coming out:
    Cause: FDPSTP failed due to ORA-20100: File oRI_INV_.tmp creation for FND_FILE failed.
    You will find more information on the cause of the error in request log.
    ORA-06512: at "APPS.FND_FILE", line 410
    ORA-06512
    Many Thanks in advance....

    Please verify the following:
    1) Make sure that APPLPTMP is set to a valid directory as shown above (Verify from the OS by issuing "echo $APPLPTMP" as applmgr user)
    2) Make sure that both the applmgr user and the database user "oracle" have read/write permissions on $APPLPTMP
    3) Make sure that APPLPTMP is the first entry in utl_file_dir (utl_file_dir is set in the init<SID>.ora file). To verify to what "utl_file_dir" is set:
    SQL> connect / as sysdba
    SQL> show parameter UTL_FILE_DIRYou may also check the troubleshooting steps outlined in the following note:
    Note: 261693.1 - Troubleshooting ORA-20100 on Concurrent Processing
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=261693.1

  • ORA-20100: File o0298639.tmp creation for FND_FILE failed in 11.5.10.2

    Hi I need Some help here.
    User DO NOT have any issues running the concurrent Programs (11.5.10.2) with 10.2.0.4 database on HP_UNIX.
    But have issue only with validating invoice batch. I followed metalink ID's 605542.1, 167990.1,261693.1,1088553.1,749491.1, 461271.1 and few more.
    Not sure what's going on here. Below is the error message.
    Spawned Process 24395
    MSG-00001: After SRWINIT
    MSG-00002: After Get Company Name
    MSG-00003: After Get NLS Strings
    MSG-00101: Error occured in BATCH_APPROVAL()
    MSG-00102: Error Code : -20100
    MSG-00103: Error Message : ORA-20100: File o0298639.tmp creation for FND_FILE failed.
    You will find more information on the cause of the error in request log.
    ORA-06512: at "APPS.FND_FILE", line 396
    ORA-06512: at "APPS.FND_FILE", line 499
    ORA-06512: at "APPS.AP_APPROVAL_PKG", line 7268
    MSG-00001: EXCEPTION : INIT_FAILURE : User-Defined Exception
    REP-1419: 'beforereport': PL/SQL program aborted.
    Report Builder: Release 6.0.8.28.0 - Production on Tue Feb 15 15:02:42 2011
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username:
    Program exited with status 1
    Thank You.

    But have issue only with validating invoice batch. I followed metalink ID's 605542.1, 167990.1,261693.1,1088553.1,749491.1, 461271.1 and few more.Was this working before? If yes, any changes have been done recently?
    Please see if these docs help.
    APXAPRVL: Invoice Validation Errors With MSG-00001 and REP-1419 [ID 333305.1]
    Invoice Validation Errors When Others:101505:Non-Oracle Exception Rep-1419 [ID 464125.1]
    Invoice Validation Fails with REP-1419 Error in Ap_approval_matched_pkg.Execute_matched_checks [ID 293425.1]
    Invoice Validation Failing On Fnd_file Could Not Write To File L0202306.Tmp [ID 461520.1]
    Invoice Validation (APPRVL) Errors ORA-20001 APP-SQLAP-10000 PSA_FUNDS_CONTROL_PKG.glxfck [ID 463184.1]
    Validate Invoice Error With ORA-20001: APP-SQLAP-10000: AP_FUNDS_CONTROL_PKG.Calc_QV [ID 432702.1]
    Invoice Validation Program Is Erroring Out [ID 382844.1]
    Error On Validation Of Invoices From Previous Periods [ID 412814.1]
    Thanks,
    Hussein

  • PCP in RAC environment is providing lots of ORA-20100: File o0000071.tmp

    Hi,
    We are on 12.0.6 on 2 node RAC and 2 node application
    appl1 --all services including concurrent
    appl2 --all services  including concurrent with PCP and Hardware loadbalancing
    db1 and db2 are two rac nodes. running only db and listener.
    but my issue is i have configured PCP, provided
    appl1:
    ====
    applprod@erpapp1 $ echo $APPLCSF
    /nfs_concurent/ERPPROD_erpapp
    applprod@erpapp1 $ echo $APPLPTMP
    /nfs_concurent/tmp
    applprod@erpapp1 $ echo $APPLTMP
    /oracle/applprod/inst/apps/ERPPROD_erpapp1/appltmp
    applprod@erpapp1 $
    appl2:
    ====
    applprod@erpapp2 $ echo $APPLCSF
    /nfs_concurent/ERPPROD_erpapp
    applprod@erpapp2 $ echo $APPLPTMP
    /nfs_concurent/tmp
    applprod@erpapp2 $ echo $APPLTMP
    /oracle/applprod/inst/apps/ERPPROD_erpapp2/appltmp
    applprod@erpapp2 $
    =====
    and it is mounted onall the Nodes including dbnode.
    we have updated the utlfile path of both the db instances with /nfs_concurent/tmp as first parameter in utl_fil
    ===========================
    SQL> show parameter utl
    NAME TYPE VALUE
    create_stored_outlines string
    utl_file_dir string /nfs_concurent/tmp, /usr/tmp,
    /nfs_data/ftp/idmin, /nfs_data
    /ftp/idmout, /nfs_data/ftp/scb
    out, /nfs_data/ftp/scbin, /nfs
    data/ftp/citiin, /nfsdata/ft
    p/citiout, /nfs_data/ftp/amsou
    t, /nfs_data/ftp/amsin, /u02/E
    RPPROD, /u01/app/oracle/produc
    t/10/db/appsutil/outbound/ERPP
    ROD_erpdb1
    SQL>
    ==================================
    The issue is both the db nodes are not creating the *.tmp files in sequence they are
    RAC node1:
    SQL> select applsys.fnd_temp_files_s.nextval from dual;
    NEXTVAL
    38562
    RAC node 2:
    SQL> select applsys.fnd_temp_files_s.nextval from dual;
    NEXTVAL
    39308
    select ORDER_FLAG from dba_sequences where sequence_name='FND_TEMP_FILES_S';
    ORDER_FLAG
    N
    If a node 2 is generating the tmp file *309*.tmp which might already created by the other node then the above error is coming to us,
    If you shutdown any one node and cleared all the *tmp files from the /nfs_concurrent/tmp then we will not get the error.
    In our issue it couldhave been overwrite the earlier file but the issue is we are not having boththe database user ID is defferent, We are in the process of changing the same but we wanted to change our setup, it should create the new no which was not generated by the other node.
    Pl help us in achivingthe same..
    oracle@erpdb2 $ id
    uid=207(oracle) gid=300(oinstall) groups=301(dba),206(citygrp),207(sbigrp)
    oracle@erpdb2 $
    oracle@erpdb1 $ id
    uid=206(oracle) gid=300(oinstall) groups=301(dba),206(sbigrp),207(citygrp)
    oracle@erpdb1 $
    We have gone through the note "261693.1Troubleshooting ORA-20100 on Concurrent Processing" to trouble shoot the same,
    Remind: application is working fine if you run on the single database node..
    Regards
    Vasu

    Hi Husain,
    We have gone through the suggested note, in our case the sequence is not jumping, but in both the nodes the sequence is not the same value..
    NodeDB1
    ====
    SQL> Select fnd_concurrent_requests_s.nextval from sys.dual ;
    NEXTVAL
    631070
    SQL> /
    NEXTVAL
    631072
    SQL> select FND_S_FILE_TEMP_ID.nextval from sys.dual;
    NEXTVAL
    8836
    SQL> /
    NEXTVAL
    8837
    SQL> select FND_TEMP_FILES_S.nextval from sys.dual;
    NEXTVAL
    40151
    SQL> /
    NEXTVAL
    40152
    SQL>
    NodeDB2
    ===========
    SQL> Select fnd_concurrent_requests_s.nextval from sys.dual ;
    NEXTVAL
    631069
    SQL> /
    NEXTVAL
    631071
    SQL> select FND_S_FILE_TEMP_ID.nextval from sys.dual;
    NEXTVAL
    8844
    SQL> /
    NEXTVAL
    8845
    SQL> select FND_TEMP_FILES_S.nextval from sys.dual;
    NEXTVAL
    40309
    SQL> /
    NEXTVAL
    40310
    SQL>
    Pl suggest..
    Regards
    Vasu

  • ORA-20100 The system cannot find the file specified 0RA-06512

    I can create and deploy a .NET stored procedure but when I run it either from Visual Studio 2005 Oracle Explorer or TOAD or SQLPlus I get the following:
    ORA-20100: The system cannot find the file specified.
    ORA-06512: at "SYS.DBMS_CLR", line 211
    ORA-06512: at "PROD.GETSEGADDRNO", line 7
    ORA-06512: at line 1
    It is basically the same C# code as the OTN sample except for accessing a table in my database.
    I found a forum thread dated 2006 with basically the same error message and it said the problem was fixed in Oracle Database patched to 10.2.0.2 but I can't find such a patch for 10g R2 Enterprise.
    This is my first time setting up Server 2003, Oracle 10g and ODT for .NET
    (I successfully created and deployed an external procedures for Oracle 8.1.7 on Windows 2000 a couple of years ago)
    This is the code:
    using System;
    using System.Collections.Generic;
    using System.Text;
    using System.Data;
    // use the ODP.NET provider
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    namespace CLRLibrary1
    // Sample .NET stored function returning address number (ADDR_NO) for
    // a given segment number (SEG_NO)
    public class Class1
    public static int GetSegAddrNo(int segno)
    int addrno = 0;
    // Check for context connection
    OracleConnection conn = new OracleConnection();
    if (OracleConnection.IsAvailable == true)
    conn.ConnectionString = "context connection=true";
    else
    throw new InvalidOperationException("context connection" +
    "not available");
    conn.Open();
    // Create and execute a command
    OracleCommand cmd = conn.CreateCommand();
    cmd.CommandText = "SELECT ADDR_NO FROM SEG WHERE SEG_NO = :1";
    cmd.Parameters.Add(":1", OracleDbType.Int32, segno,
    System.Data.ParameterDirection.Input);
    OracleDataReader rdr = cmd.ExecuteReader();
    if (rdr.Read())
    addrno = rdr.GetInt32(0);
    rdr.Close();
    cmd.Dispose();
    conn.Close();
    return addrno;
    } // GetSegAddrNo
    } // Class1
    } // CLRLibrary1
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    was installed from the Oracle downloads site: 10201_database_win32.zip
    On Windows Server 2003 R2 Standard Edition SP2
    Oracle .NET tools was installed using: ODTwithODAC1020221.exe
    The CLR Service is running
    Deployment says that it is successfull.
    The DLL is in the expected Oraclehome\BIN\CLR folder
    The deployment script is:
    CREATE OR REPLACE LIBRARY "SYS"."ORATEST6_DLL" AS '$ORACLE_HOME\bin\clr\OraTest6.dll';
    GRANT EXECUTE ON "SYS"."ORATEST6_DLL" TO PROD;
    GRANT EXECUTE ON "SYS"."DBMS_CLR" TO PROD;
    GRANT EXECUTE ON "SYS"."DBMS_CLRTYPE" TO PROD;
    GRANT EXECUTE ON "SYS"."DBMS_CLRPARAMTABLE" TO PROD;
    CREATE OR REPLACE FUNCTION PROD.GETSEGADDRNO wrapped
    a000000
    1f
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    8
    147 138
    ePHIr6kvu6nZ9gYrxgs40akg18owg1zQf/ZqZ3QC2vjqaIs25soMp1nBmBfBj1ZboVvNkdPT
    8qhpuEVdmv4n2nlF5ynrhLsm3F0h9ZGrTQ4tGYIybWjMFxYNlDDeBOx1i7O0GviP8AxHys23
    kW8aTVA2xV8IuLNlwP7KWFw70tGbg+lUIlRhYo5WmLW6N9wcjOCeLZK6W6s6tvd4zKAQykzc
    sIsaneE0FWyV9Q1BD0yJpLoCfWH+f6fVXsne5Feyxu68k5geCJ8F5FCLm2ycvxIiKNKTIpiD
    q4wshbsYLTTPHX3F6pA=
    The parameter mapping is:
    return value int32 number
    segno int32 number
    Bob Sorrell
    [email protected]
    863-662-5524

    These are the Reference Properties for Oracle.DataAccess in the OraTest6 app:
    Aliases: Global
    Copy Local: False
    Description: Oracle.DataAccess.dll
    File Type: Assembly
    Identity: Oracle.DataAccess
    Path: c:\oracle\ora102\odp.net\bin\2.x\Oracle.DataAcess.dll
    Resolved: True
    Runtime Version: v2.0.50727
    Specific Version: False
    Strong Name: True
    Version: 2.102.2.20
    This is what GacUtil shows:
    The Global Assembly Cache contains the following assemblies:
    Oracle.DataAccess, Version=2.102.2.20, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Oracle.DataAccess, Version=1.102.2.20, Culture=neutral, PublicKeyToken=89b483f429c47342
    Number of items = 2
    The GAC seems to contain both 2.102.2.20 and 1.102.2.20
    Do I need to remove one?

  • ORA-20100: Error occurred while parsing: Start of root element expected.

    I've been searching everywhere for a reason to the following error message: ORA-20100: Error occurred while parsing: Start of root element expected.
    I get this when attempting to parse an XML file stored as a CLOB using the xmlparser.parseClob procedure
    Any help would be much appreciated.

    I initially used US ASCII but then tried several unicode formats as created by XML Spy (UTF16, Unicode16, Unicode32). All had the exact same result.
    Exactly what would be the most helpful output? The XML documents are varied, mostly very simple, but do you want the CLOB printed some other way?
    --Joan Armstrong
    null

  • Context connection and error ORA-20100: System.AccessViolationException

    I created a .NET stored procedure by following the instructions on this web (used different proc name):
    [http://www.oracle.com/technology/obe/net11gobe/stfunc/vs2.htm]
    I can deploy it fine into the database but got the following error when I ran it in SQL*Plus Worksheet:
    ORA-20100: System.AccessViolationException
    Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    at Oracle.DataAccess.Client.OpsCon.OpenUsingExtProcContext(IntPtr ociExtProcContext, IntPtr& opsConCtx, IntPtr& opsErrCtx, OpoConValCtx pOpoConValCtx, OpoConRefCtx& pOpoConRefCtx)*
    at Oracle.DataAccess.Client.OracleConnection.OpenExtprocConnection()
    at Oracle.DataAccess.Client.OracleConnection.Open()
    at OracleTestProject.Class1.GetName()
    ORA-06512: at "SYS.DBMS_CLR", line 243
    ORA-06512: at "COMMPROD10.GETNAME", line 6
    I got the following error if I ran it again:
    ORA-20100: System.AccessViolationException
    Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    at Oracle.DataAccess.Client.OpsSql.ExecuteReader(IntPtr opsConCtx, IntPtr& opsErrCtx, IntPtr& opsSqlCtx, IntPtr& opsDacCtx, IntPtr& opsReaderErrCtx, IntPtr opsSubscrCtx, Int32& isSubscrRegistered, Int32 bchgNTFNExcludeRowidInfo, Int32 bQueryBasedNTFNRegistration, Int64& query_id, OpoSqlValCtx& pOpoSqlValCtx, String pCommandText, OpoDacValCtx*& pOpoDacValCtx, IntPtr[] pOpoPrmValCtx, String[] ppOpoPrmRefCtx, OpoMetValCtx*& pOpoMetValCtx, Int32 NoOfParams)*
    at Oracle.DataAccess.Client.OracleCommand.ExecuteReader(Boolean requery, Boolean fillRequest, CommandBehavior behavior)
    at Oracle.DataAccess.Client.OracleCommand.ExecuteReader()
    at OracleTestProject.Class1.GetName()
    ORA-06512: at "SYS.DBMS_CLR", line 243
    ORA-06512: at "COMMPROD10.GETNAME", line 6
    The error was gone if I changed the connection string "context connection=true" to regular connection string with specific Data Source;User ID;Password in the .NET stored proc. Does anyone know how to solve it?
    FYI, I have installed Oracle Database 10.2.0.1.0 and then upgraded ODE.NET to 10.2.0.2.20 and then installed Oracle Database patch 10.2.0.4 on my machine.
    I have also installed the latest ODP.NET 11.1.0.6.20 and Oracle Developer Tools for Visual Studio from the web:
    [http://www.oracle.com/technology/software/tech/windows/odpnet/index.html]
    The top most line in my GAC showed both Oracle.Database.Extensions and Oracle.DataAccess have Version= 2.102.2.20.
    Thank you so much for the help!
    Jenny

    skj,
    Thank you for the reply!
    Yes, the Oracle Database patch 10.2.0.4 contains both ODE and ODP. The database I tried to connect to is on my machine so there was no remote server.
    Here is the result when I ran: gacutil /l oracle.database.extensions:
    Microsoft (R) .NET Global Assembly Cache Utility. Version 2.0.50727.42
    Copyright (c) Microsoft Corporation. All rights reserved.
    The Global Assembly Cache contains the following assemblies:
    oracle.database.extensions, Version=2.102.2.20, Culture=neutral, PublicKeyToke
    n=89b483f429c47342, processorArchitecture=x86
    oracle.database.extensions, Version=2.102.4.0, Culture=neutral, PublicKeyToken
    =89b483f429c47342, processorArchitecture=x86
    oracle.database.extensions, Version=1.102.3.0, Culture=neutral, PublicKeyToken
    =89b483f429c47342
    oracle.database.extensions, Version=1.102.4.0, Culture=neutral, PublicKeyToken
    =89b483f429c47342
    Here is the result when I ran: gacutil /l oracle.dataAccess:
    The Global Assembly Cache contains the following assemblies:
    oracle.dataAccess, Version=2.102.2.20, Culture=neutral, PublicKeyToken=89b483f
    429c47342, processorArchitecture=x86
    oracle.dataAccess, Version=2.102.4.0, Culture=neutral, PublicKeyToken=89b483f4
    29c47342, processorArchitecture=x86
    oracle.dataAccess, Version=2.111.6.20, Culture=neutral, PublicKeyToken=89b483f
    429c47342, processorArchitecture=x86
    oracle.dataAccess, Version=1.102.4.0, Culture=neutral, PublicKeyToken=89b483f4
    29c47342
    oracle.dataAccess, Version=1.111.6.20, Culture=neutral, PublicKeyToken=89b483f
    429c47342
    I am not sure which version is really used. Maybe I should downgrade my ODP?

  • AP Create Accounting - Error ORA-06512, XLA-95103, ORA-20001, ORA-20100

    *Hello all you patient Oracle Champs - I know issues like this are floating around the forum and web but I still can't seem to fine a match.*
    *> OA R12.1.3*
    *> Orcale Database Server 11.2.0.2*
    [010613_011550898][][EXCEPTION] SQLException encounter while executing data trigger....
    java.sql.SQLException: ORA-20001: -: XLA-95103: An internal error occurred.
    Please inform your system administrator or support representative that:
    An internal error has occurred in the program xla_create_acct_rpt_pvt.BeforeReport .
    ORA-20001: -: XLA-95103: An internal error occurred.
    Please inform your system administrator or support representative that:
    An internal error has occurred in the program XLA_CREATE_ACCT_RPT_PVT.print_logfile.
    ORA-20100: Error: FND_FILE failure. Unable to create file, o0104058.tmp in the directory, /usr/tm
    ORA-06512: at "APPS.APP_EXCEPTION", line 72
    *> Note the directory path cited: +/usr/tm+*
    *> A later error:*
    Oracle error 20100: java.sql.SQLException: ORA-20100: Error: FND_FILE failure.
    Unable to create file, o0104058.tmp in the directory, /usr/tmp.
    *> Note the directory: +/usr/tmp+*
    SQL> show parameter utl_file_dir
    utl_file_dir
    string /usr/tmp, /usr/tmp, /Develop_DB/DEV/11.2.0.2/appsutil/outbound/DEV_orcl-dev-db, /usr/tmp
    $ echo $APPLTMP
    /Develop_Appl/DEV/inst/apps/DEV_orcl-dev-appl/appltmp
    *> has read/write permissions (777)*
    $ echo $APPLPTMP
    /usr/tmp
    *> has read/write permissions (777)*
    *> There is plenty of space in /usr, /Develop_Appl*
    *> Patch 10131305 already applied per note: 1392267.1*
    *> SLA: Enable Diagnostics set to a null value (blank)*
    *> the file o0104058.tmp does not exist in either $APPLTMP or $APPLPTMP (i.e. note 460643.1)*
    *> I confirmed that note 749491.1 was not an issue*
    *> note 261693.1 did not seem to apply*
    *> note 148262.1 did not seem to apply*
    I can provide the concurrent & FND debug output if needed.
    Thank you all*
    Zippy the P

    Zippy242 wrote:
    Hi Hussein,
    checked 1252703.1 - it doesn't appear applicable:
    SQL> show parameter utl_file_dir
    utl_file_dir
    string /usr/tmp, /usr/tmp, /Develop_DB/DEV/11.2.0.2/appsutil/outbound/DEV_orcl-dev-db, /usr/tmp
    $ echo $APPLTMP
    /Develop_Appl/DEV/inst/apps/DEV_orcl-dev-appl/appltmp
    *> has read/write permissions (777)*
    $ echo $APPLPTMP
    /usr/tmp
    *> has read/write permissions (777)*
    checked 760614.1 - not the case:
    no invalid XLA%
    FUN_SEQ_BATCH both package and body are valid.
    Please Advise
    thanks,
    ZipAre you running all the application/database services on one server or multiple ones?
    Thanks,
    Hussein

  • ORA-20100: Column name undefined invalid Error - Table splitting

    Hi
    While tablesplitting in our upgraded ECC6.0 (EHP4) system, we are facing the below error
    BEGIN table_splitter.ranges('SOFFCONT1','undefined',5,'/tmp/sapinst_instdir/ERPEhP4/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/PRETABSPLIT/Split/DATA'); END;
    ERROR at line 1:
    ORA-20100: Column name undefined invalid
    ORA-06512: at "SAPR3.TABLE_SPLITTER", line 775
    ORA-06512: at line 1
    In our R3hint file we have the below entry, but still we face the issue.
    (kdecc01)#cat R3ta_hints.txt | grep SOFF
    SOFFCONT1       PHIO_ID
    Has anyone faced this issue before?
    Senthil

    see SAP note 1043380
    Ensure the directory being reference does actually exist and ensure
    privilege are provided for access. Also, a Directory Alias should be
    used instead of the database parameter UTL_FILE_DIR which has been
    deprecated.
    Grant the READ or WRITE privileges to the username accessing the
    DIRECTORY.
    Ensure that the file being read does exist and actually contains
    information to be read.
    regards,
    Vincent

  • XMLParser for PL/SQL ORA-20100 Problem

    I am using XML parser for PL/SQL in Oracle9i Enterprise Edition Release 9.0.1.1.1
    When i run the sample xml program, i get error which is as follows. While compiling no errors. But while executing it reports error as given below.
    SQL> execute domsample('c:\xml', 'family.xml', 'errors.txt');
    begin domsample('c:\xml', 'family.xml', 'errors.txt'); end;
    ORA-20100: Error occurred while parsing: No such file or directory
    ORA-06512: at "COMMODITYBACKCONNECT.XMLPARSER", line 22
    ORA-06512: at "COMMODITYBACKCONNECT.XMLPARSER", line 79
    ORA-06512: at "COMMODITYBACKCONNECT.DOMSAMPLE", line 80
    ORA-06512: at line 1
    What need to be done to rectify the above problem.
    when i do the following validation check
    SQL>
    SQL> select substr(dbms_java.longname(object_name),1,30) as class, status
    2 from all_objects
    3 where object_type = 'JAVA CLASS'
    4 and object_name = dbms_java.shortname('oracle/xml/parser/v2/DOMParser')
    5 ;
    CLASS STATUS
    oracle/xml/parser/v2/DOMParser VALID
    oracle/xml/parser/v2/DOMParser VALID
    Please advice to how remove the following error:
    ORA-20100: Error occurred while parsing: No such file or directory

    Hi, I have run into the same problem. I think the parser is looking for c:\XML on your sever instead of your local drive. Try creating a dir on the server called \xml and rerunning the script. I don't know whether it will fix your problem, as i am sitting with the same thing, but it is a step in the right direction. Also check your separators. If you are running unix servers use / instead of \

  • XMLParser for PL/SQL ORA-20100

    I am using XML parser for PL/SQL in Oracle9i Enterprise Edition Release 9.0.1.1.1
    When i run the sample xml program, i get error which is as follows. While compiling no errors. But while executing it reports error as given below.
    SQL> execute domsample('c:\xml', 'family.xml', 'errors.txt');
    begin domsample('c:\xml', 'family.xml', 'errors.txt'); end;
    ORA-20100: Error occurred while parsing: No such file or directory
    ORA-06512: at "COMMODITYBACKCONNECT.XMLPARSER", line 22
    ORA-06512: at "COMMODITYBACKCONNECT.XMLPARSER", line 79
    ORA-06512: at "COMMODITYBACKCONNECT.DOMSAMPLE", line 80
    ORA-06512: at line 1
    What need to be done to rectify the above problem.
    when i do the following validation check
    SQL>
    SQL> select substr(dbms_java.longname(object_name),1,30) as class, status
    2 from all_objects
    3 where object_type = 'JAVA CLASS'
    4 and object_name = dbms_java.shortname('oracle/xml/parser/v2/DOMParser')
    5 ;
    CLASS STATUS
    oracle/xml/parser/v2/DOMParser VALID
    oracle/xml/parser/v2/DOMParser VALID
    Please advice to how remove the following error:
    ORA-20100: Error occurred while parsing: No such file or directory

    Hi, I have run into the same problem. I think the parser is looking for c:\XML on your sever instead of your local drive. Try creating a dir on the server called \xml and rerunning the script. I don't know whether it will fix your problem, as i am sitting with the same thing, but it is a step in the right direction. Also check your separators. If you are running unix servers use / instead of \

  • ORA-20100: ORA-01116: error in opening database file

    Hi -
    I'm hitting this error for the first time. Anyone encountered this before? Any suggestions will be very appreciated. Thanks!
    141 EXCEPTION
    142
    143 when others then
    144 raise_application_error('-20100',SQLERRM);
    145 End;
    146 /
    20080207
    20080312
    Declare
    ERROR at line 1:
    ORA-20100: ORA-01116: error in opening database file
    ORA-06512: at line 144

    Thanks Satish for your reply.
    I let the DBA know and he was first suspecting a corrupted data file, but found no errors in the log. So, he was not sure why we got the error.
    We just re-ran and it went through fine the next time. strange though...

Maybe you are looking for

  • How do you change the time zone/time on the iPod nano (6th generation)?

    Hello, I recently moved to a new city in another time zone and I am not able to figure out (or find out on forums) how to change the time on my 6th gen iPod nano. It's something I would like to fix because the Fitness application records your activit

  • Insert to multiple table using single DB Adapter

    Hi, I m using Jdev 11g Build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.5536 Can anyone tell me how can we do insert and update operations to mutliple tables using single DB adapter. I want to do insert in 2 tables and update the third using same DB apat

  • Row name as column name

    I want to display the patameters entered by the user as column names in interactive / classic report. For example i enter the parameters as date, 10-03-2011, 11-03-2011 and 12-03-2011. How i can display these dates as column names in report ? Sanjay

  • How to use SAP_WAPI_WORKITEM_COMPLETE

    Hello workflow gurus, I have a little problem with my workflow. In first task i start an abap class which calls my abap program. This program starts a webserivce which is validating some data of the workflow container. After using the program i want

  • Help in starting 9iDS after installing it in RH8.0

    Hi everyone, (comment ---> I really need this to work. It's the first time I write in this forum, I'll appriciate your kindness.) I've just installed the 9iDS in RH8.0, there where some errors during the installation process; however, close it and wh