Getting 'Invalid argument' error while uisng OPEN DATASET. Help!

Hi Experts,
   I am trying to read a file from a shared server location using OPEN DATASET as shown below.
OPEN DATASET file_name FOR INPUT IN TEXT MODE ENCODING UTF-8 MESSAGE msg.
The file_name i gave is '
CNSGN-PRE-DM.COM\FUNCTIONAL\INVENTORY.CSV'.
The program compiles perfectly. But when I run the program I am getting 'Invalid argument' error. I have checked the authorization to the server, file name, file availability and everything is fine.
Strangely this code was working fine a week ago.
What could be the problem? Kindly help me!
Thanks
Gopal

Hi Chndrasekhar,
        You mean to say the we cannot use OPEN DATASET for reading file in shared server location. For example a shared folder in my PC.
Is there something wrong in the file name path I have given? It started with '//'. Do I have to start the file path wih 'file://..'?
Thanks
Gopal

Similar Messages

  • Getting invalid password error while logging onto application from frontend

    Hi Guys
    I am trying to login to one of our clones and i am getting invalid password error.
    I ran fndcpass and change my username's password which got changed successfully
    But still when i login to application using my username i am getting invalid password error
    I am getting the same error if i login as sysadmin
    Please suggest to resolve this
    thanks !!

    Hi,
    I am trying to login to one of our clones and i am getting invalid password error.What is the application release?
    Please post the complete error message -- Also, check Apache log files for details (error_log* and access_log*).
    I ran fndcpass and change my username's password which got changed successfullyWhat username password have you changed?
    But still when i login to application using my username i am getting invalid password error
    I am getting the same error if i login as sysadminDoes this happen when login as any application user?
    Please verify that none of those users are end-dated.
    Regards,
    Hussein

  • Invalid arguments error while executing oracle procedure

    Dear all,
    we have a table hr_emp with fields ecode, ename, edoj.
    the following procedure we created to return the table data to our .net app.
    CREATE OR REPLACE
    PACKAGE pname AS
    TYPE T_hr_cursor IS REF CURSOR;
    PROCEDURE get_hr_list (P_hrlist OUT T_hr_cursor);
    END HRPACK;
    create or replace PACKAGE BODY pname AS
         PROCEDURE get_hr_list (P_hrlist OUT T_hr_cursor)
         IS
         BEGIN
         OPEN P_hrlist FOR
              SELECT *
                   FROM Hr_Emp WHERE edoj>='01-jan-2009';
         END get_hr_list;
    END;
    these code edited in a single file [both package and package body] and created successfully.
    but, while executing, by typing execute get_hr_list, ORA-00304 error, invalid arguments, is coming. How to resolve this, please help.
    also, in sql developer 1.5.3, when we create this, another error is ciming like 'source doesnot have a runnable target'.
    Where is the issue? please help

    Yes, its great dear...
    sqlplus>
    declare
    hr_cursor hrmain.t_hr_cursor;
    begin
    pname.get_hr_list(hr_cursor);
    end;
    Its worked as i got 'pl/sql procedure successfully executed'.
    Also, then how i can call this get_hr_list procedure from .net? im using c# and i want to get the result of hr_emp to c#. how i can call the same from c#? any help please

  • Getting Invalid URL error while creating the app even though it's returning valid content from browser.

    Hi ,
      i am trying add RSS section with URL http://api.foxnews.com/proxy/content/v2?sort=date desc&omitHeader=true&api_key=cc23011f-3ace-40a4-bb63-bfa654af5bc8&format=full-content-rss.xml&rows=20&q=content_type:article AND image_url:*
    AND section_path:fnc/entertainment , and it's giving invalid URL error. like @ Invalid Url, use http or https://[domain]. Please help what's going wrong with this URL content. 

    I've recently deployed an application in Websphere and HTTPServer and have Oracle on the DB back-end. Tim, apparently your login problem happens inside the Websphere. You will have a better chance to ask this question in IBM's forums.

  • Invalid character error while activating DSO - Please help

    Hi experts,
    I'm getting invalid hex character error when loading a text infoobject in my DSO. Repairing data records in the PSA is not an option. Changing the data in the source system is also not an option. I've tried many of the methods suggested in other threads, but am unable to get it working (ABAP code, "ALL_CAPITAL" etc). We are on an unicode system.
    Can someone provide some clean code to eliminate the illegal hex characters (00-1f) in my transfer rule routine. Basically, replace the illegal hex characters with space or an acceptable character.
    Many thanks,
    Anita S.

    Hi,
    I have used the below code for removing all unwanted chars from 0MATERIAL, that worked fine. You can modify it for ur need.
      CONSTANTS:
           G_ALLOWED_CHAR(58) TYPE C VALUE
             ' !"%&''()*+,-./:;<=>?_0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'.
        data : E_ALLOWED_CHAR(58).
    RESULT = SOURCE_FIELDS-MATNR.
        SHIFT RESULT RIGHT DELETING TRAILING SPACE.
        SHIFT RESULT LEFT DELETING LEADING SPACE.
        TRANSLATE RESULT TO upper case.
    *RESULT = comm_structure-/BIC/ZCONTRTD.
        while RESULT ca '#'.
          RESULT+sy-fdpos(1) = ' '.
        endwhile.
        if RESULT(1) = '!'.
          RESULT(1) = ' '.
        endif.
        do.
          if not RESULT co g_allowed_char.
            shift RESULT+sy-fdpos left.
          else.
            exit.
          endif.
        enddo.
    Thanks
    dipika

  • Getting No argument error while installing orcale 11g on linux 6

    As i have completed all the preinstallation task,but after creating the oracle a/c and installing oracle data base
    getting error No argument found
    and also i am unable to get the coorrect version of java on linux 6
    please help me for this one

    Dear Sir,
    Please tell where i have to improve
    i have made alll the pre installation task
    then i have installed jdk-6u-38-ea-bin-b04-linuxamd64 on my 64bit system'''
    i have insatlled oracle 64 bit on linus 64 bit os and also installed all the 64bit rpm package for oracle databse 11g
    but when i am using ./run installer cmd getting error
    "unzip command failed for oraparam.ini,plaese specifiy full path"
    i have checekd oraparam file also but there all is fine,
    please help me where i have to imporve
    i will thankful to you.

  • Getting Invalid Address Error while trying to order iPhone

    I don't knoe what';s going on and I wish I could talk to a real live person but I am trying to pre-order the iphone and it won't accept any way that I enter my address.
    My billing and shipping addresses are different, but even when I made them the same, I got and error! Help PLEASE! I want to go back to bed! Thank you =)

    I don't knoe what';s going on and I wish I could talk to a real live person but I am trying to pre-order the iphone and it won't accept any way that I enter my address.
    My billing and shipping addresses are different, but even when I made them the same, I got and error! Help PLEASE! I want to go back to bed! Thank you =)

  • BPM: Error while executing Open - Unexpected exception

    Hello! Everyone
    Can you please let us know if anyone has faced similar issue and any suggestion on resolving the below issue would be very helpful:
    We have been experiencing problem with opening BPM in our ESR; we are getting a Error while executing open - Unexpected exception for all the BPM.
    I am copying the detail log, can you please help suggest steps to resolve this exception error in opening the BPM.
    Thank you,
    Vemul
    Also, here is the detail log of the BPM exception while executing open in ESR:
    ====================================================================
    = Root Exception ===================================================
    ====================================================================
    Thrown:
    com.sap.aii.utilxi.swing.toolkit.ServerCallCancelledException: Unexpected exception.
         at com.sap.aii.ib.clsif.gen.BeanAccessHandler.handleRuntimeExInBusinessMethod(BeanAccessHandler.java:87)
         at com.sap.aii.ib.clsif.oa.ObjectAccess.read(ObjectAccess.java:112)
         at com.sap.aii.ib.client.oa.ObjectHandler.read(ObjectHandler.java:119)
         at com.sap.aii.ib.gui.editor.DefaultPersistenceHandler.load(DefaultPersistenceHandler.java:94)
         at com.sap.aii.ib.gui.editor.XiDocument.load(XiDocument.java:249)
         at com.sap.aii.utilxi.swing.framework.cmd.OpenCommand.load(OpenCommand.java:353)
         at com.sap.aii.utilxi.swing.framework.cmd.OpenCommand.localOpen(OpenCommand.java:273)
         at com.sap.aii.utilxi.swing.framework.cmd.OpenCommand.execute(OpenCommand.java:211)
         at com.sap.aii.utilxi.swing.framework.ExecutionContext.execute(ExecutionContext.java:198)
         at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:154)
         at com.sap.aii.ib.gui.operations.OperationsServiceProvider.executeDefaultOperation(OperationsServiceProvider.java:295)
         at com.sap.aii.ib.gui.nav.HierarchyNode.executeDefaultOperation(HierarchyNode.java:59)
         at com.sap.aii.utilxi.swing.framework.navigation.tree.DefaultTreeCard.handleHierarchyEvent(DefaultTreeCard.java:198)
         at com.sap.aii.utilxi.swing.framework.navigation.tree.ThreadedTree.fireHierarchyActionEvent(ThreadedTree.java:542)
         at com.sap.aii.utilxi.swing.framework.navigation.tree.ThreadedTree.executeStandardOperation(ThreadedTree.java:2264)
         at com.sap.aii.utilxi.swing.framework.navigation.tree.ThreadedTree$DblClickHandler.mouseReleased(ThreadedTree.java:2196)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at com.sap.aii.utilxi.swing.toolkit.Guitilities$EventProcessor.dispatchEvent(Guitilities.java:319)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: com.sap.engine.services.rmi_p4.P4RuntimeException: Unexpected exception.
         at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.getException(P4ObjectBrokerClientImpl.java:643)
         at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.getException(P4ObjectBrokerClientImpl.java:612)
         at com.sap.engine.services.rmi_p4.reflect.P4InvocationHandler.invokeInternal(P4InvocationHandler.java:160)
         at com.sap.engine.services.rmi_p4.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:52)
         at $Proxy62.read(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sap.engine.services.ejb3.runtime.impl.StatelessRemoteStubInvocationHandler.invoke(StatelessRemoteStubInvocationHandler.java:89)
         at $Proxy63.read(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sap.aii.ib.clsif.login.BeanProxy.invoke(BeanProxy.java:114)
         at $Proxy63.read(Unknown Source)
         at com.sap.aii.ib.clsif.oa.ObjectAccess.read(ObjectAccess.java:101)
         ... 40 more
    Caused by: java.io.InvalidClassException: com.sap.aii.ib.bom.condition.xi71.parser.impl.ConditionParserImpl; local class incompatible: stream classdesc serialVersionUID = 1, local class serialVersionUID

    Thanks! Abinash
    We applied all the patches listed above,  however the issue still exists.
    Actually the issue started when we applied the patches initially and even after getting the latest patches the issue still exits same as mentioned above:
    When we try to click open any of our Integration Processes / BPM s we get the unexpected error while executing open.
    Please, do let us know if anyone has faced similar issue and how it could be resolved.
    Regards,
    Vemul
    Edited by: Parikshit Vemul on Jul 30, 2010 11:34 PM

  • "invalid argument" error message when connecting to the App store after upgrading iphone 4 to 5.0 firmware

    Hi everyone,
    I have seen many topics about this problem but none of them helped and they seem to date a little bit so I would like to ask again.
    here is the situation :
    we have two iphone 4 in the house and everything was going fine until we did the update to the new 5.0 firmware. there was no problem while the update had only been applied to the first iphone... but after updating the second one, we now have the same problem on both iphones. We can still connect to the internet from the iphone just fine but the connection is erratic at best with the itunes store because we keep getting cut by this dreaded error message "connection to the itunes store impossible, "invalid argument" occasionnally we'd get a different message that says "connection reset by peer"
    - what is invalid argument mean anyway???
    - I have tried to renew the lease in the network settings, it didn't work
    - I have tried to reset the network setting, it didn't help
    - I have checked in the network setting for the IP address, it starts with 192.xx.xx..... which is supposed to be a good thing as opposed to 162.xx.xx....
    - I have reset my router, nothing happened...
    - I have tried unauthorising my computer to any accounts because we were afraid that using two iphones with two different itunes store accounts one the same computer may have caused these problems.. but no luck
    I am running out of ideas, I would like to renew my frustration to apple because we buy these expensive products and still seem to suffers from stupid bugs... I was under the impression that these things were tested !!! anyway if anyone has found a definitive solution to this problem (short of burning your iphone out of anger) it would be deeply appreciated.
    thx

    Hi!
    I'm also using Air SDK 15 and I'm getting  Invalid Bundle Error:
    Adobe Air iOS Invalid Bundle
    The bundle does not support the minimum version os specified in info.plisthttp://stackoverflow.com/questions/26047837/adobe-air-ios-invalid-bundle-the-bundle-does-n ot-support-the-minimum-version-os
    Really need help
    Michael

  • Invalid Argument Error

    I am getting above error on load of the JNLP file. When I access the URL for the JNLP, the JNLP file downloads (I can see the content using Ethereal) and WebStart does launch. So, I assume MIME type is OK and the download servlet is working, at least enough to serve up the JNLP.
    What makes this more curious is that it is a working configuration in Jetty. I can take the exact same application - drop it in Jetty, it works; drop the SAME file in Tomcat 4.1.27, it doesn't work.
    Anyone seen this?
    WS 1.2
    J2SDK 1.4.1_01 on both ends.
    Tomcat 4.1.27
    The error and log information is as follows.
    Error dialog/General Tab:
    An error occurred while launching/running the application.
    Category: Invalid Argument error
    Could not load file/URL specified: C:\Documents and Settings\mjf860\Local Settings\Temporary Internet Files\Content.IE5\2DQR21KT\cwms[1].jnlp
    The JNLP file does in fact NOT exist (the directory does, no JNLP files are in in it), despite the fact that I saw it go over the network to my box.
    The JNLPServetLog stuff:
    JnlpDownloadServlet(3): Request: /cwms/app/cwms.jnlp
    JnlpDownloadServlet(3): User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; H010818)
    JnlpDownloadServlet(4): DownloadRequest[path=/app/cwms.jnlp isPlatformRequest=false]
    JnlpDownloadServlet(4): Basic Protocol lookup
    JnlpDownloadServlet(4): JnlpResource: JnlpResource[WAR Path: /app/cwms.jnlp lastModified=Tue Sep 09 17:14:51 EDT 2003]]
    JnlpDownloadServlet(3): Resource returned: /app/cwms.jnlp
    JnlpDownloadServlet(4): lastModified: 1063142091684 Tue Sep 09 17:14:51 EDT 2003
    TIA,
    Mike

    I just found out by searching tomcat list that in your
    dynamic jnlp file you can set the cache-control to
    public using
    response.setHeader("Cache-Control", "public")
    This will allow Internet Explorer to cache the jnlp
    file and you won't get the exception.
    This way you can keep your jnlp file under a security
    constraint.I wasn't sure what was meant by "dynamic JNLP" or how to follow the above procedure, so I created a servlet (a JSP, actually) to implement the above workaround. It will serve JNLP files from a password-protected directory in a way that works for the Tomcat-to-Internet Explorer combination. It's posted below in case it can help anyone else.
    There are still a few things to watch out for: (1) the protection (the <auth-method> tag in your web.xml file) for the JNLP file must be BASIC--FORM will not work. (2) you will have to enter the password twice--once for the browse and again for Web Start.
    The servlet itself is enclosed below. If you have questions about it, please post them to this forum.
    Bob Pollack
    Gestalt, LLC
    <%@ page import="java.io.*" %>
    <%
    // This is a fetch program to retrieve a JNLP file from a
    // password-protected directory. Java Webstart has problems
    // doing this directly, so this program must be used instead.
    // That is, instead of a link that points to "xxx.jnlp", make
    // a link that points to "fetchJNLP.jsp?name=xxx.jnlp".
    // Even with this program, the only kind of authentication
    // that Webstart understands is basic authentication.
    // You cannot use form-based authentication and Webstart together.
    String jnlpName = request.getParameter ("name");
    String myPath = request.getServletPath ();
    String myURL = request.getRequestURL ().toString ();
    String dirPath = null;
    String dirURL = null;
    String jnlpPath = null;
    String jnlpRealPath = null;
    boolean abort = false;
    // Screen the name parameter to make sure that hackers
    // cannot use this program to fetch any old thing
    // The current criteria are that the name must be a JNLP file
    // in this directory
    if (jnlpName == null)
    abort = true;
    else if (! jnlpName.endsWith (".jnlp"))
    abort = true;
    else if (jnlpName.indexOf ("/") >= 0)
    abort = true;
    if (abort)
    response.sendError (response.SC_FORBIDDEN);
    return;
    int pos = myPath.lastIndexOf ("/");
    if (pos < 0)
    pos = myPath.length ();
    dirPath = myPath.substring (0, pos);
    pos = myURL.lastIndexOf ("/");
    if (pos < 0)
    pos = myURL.length ();
    dirURL = myURL.substring (0, pos);
    if (jnlpName.startsWith ("/"))
    jnlpPath = jnlpName;
    else
    jnlpPath = dirPath + "/" + jnlpName;
    out.clear ();
    response.setContentType ("application/x-java-jnlp-file");
    // The following line is the reason this servlet exists.
    // If a JNLP file is in a protected directory, Tomcat will
    // send it out with a Cache-Control header of "no-cache",
    // which keeps the client end of JNLP from working.
    // See Java Developer Forum,
    // "Java Web Start & JNLP: Invalid Argument Error",
    // at http://forum.java.sun.com/spider.jsp?f=38&t=442995
    // for a rambling discussion of this issue.
    response.setHeader ("Cache-Control", "public");
    jnlpRealPath = application.getRealPath (jnlpPath);
    File jnlpFile = new File (jnlpRealPath);
    FileReader fr = new FileReader (jnlpFile);
    BufferedReader br = new BufferedReader (fr);
    while (true)
    String line = br.readLine ();
    if (line == null)
    break;
    // As long as we're doing this anyway, we'll add a service
    // that substitutes the full URL for this directory into
    // the codebase of the outgoing JNLP file. This will make it
    // possible for the files to be moved from machine to machine
    // without changes.
    // For example, instead of saying
    // codebase="http://myhost:8080/home/protected"
    // the JNLP file can say
    // codebase="$BASE"
    String base = "$BASE";
    pos = line.indexOf (base);
    if (pos < 0)
    out.println (line);
    else
    out.print (line.substring (0, pos));
    out.print (dirURL);
    out.print (line.substring (pos + base.length ()));
    out.println ();
    out.flush ();
    out.close ();
    %>

  • Airport extreme: Invalid Argument errors over satellite connection

    Question 1: Have you observed problems with Apple equipment getting high error rates over high latency connections such as satellite connections?
    Question 2: Do you know of any reason why Apple equipment is more likely to exhibit this behaviour?
    We have a shack in the country that has a 10Mb/sec satellite internet service.  The satellite in question is the Australian NBN service which I believe uses an Optus satellite.
    We get frustratingly large numbers of errors from Safari: "Safari can't open the page <insert random url here> The operation could not be completed. Invalid argument."
    The message in the browser is always the same.  It can take half-a-dozen retries to get a page to display.  On average, aroiund 30% of connection attempts yield this error.  It seems to be load dependent, and at the moment it is happening less often - maybe one in 10 requests are failing.  It is currently 2 Jan, around midday and most Australians near the coast will be at the beach, and those inland have 50 degree temperatures predicted so they will be wallowing in the mud-hole that was once the dam, so I expect the satellite load is rather low.
    My ISP says they have around a dozen customers reporting this problem and they all use Apple gear.
    Observations:
    I was able to open a VPN connection to one of my customers (after several attempts) and the VPN connection worked flawlessly for the duration of hte session which was several hours.  Meanwhile, the mrs was cussin' away about invalid argument errors.
    Once a page starts loading, it generally finishes.  This seems to be independent of the level of complexity.  So once a page gets going, it keeps going.  Selecting a link from it, however, will likely result in another error.
    Pings are returning in around 1 second.
    Transfer rate is good - close to the promised 10Mbit/sec.  Response time, of course, is aweful compared to a wired or 3G connection.  However it is acceptable provided a response is actually received.
    Gear is: A couple of netgear routers in point to point mode bridging to the Airport Extreme in the house which is the main router.  There are a couple of Airport expresses about the place doing other stuff.  Terminal equipment includes iPads x 2, macBooks x 2, iPhones x 2.  Everything gets a master reset periodically when the power goes off,  and the problem persists.  All devices experience the problem.
    Thank you for your help

    jone1101 wrote:
    I have had my airport extreme for over a year and comcast even longer than that. For some reason my airport now says it has a invalid ip address. I plugged my modem directly into my imac and the internet connection is fine. I have power cycled everything multiple times with the same result. I even reset my airport extreme and created a new network. Nothing is working please help!
    Does your cable modem have any sort of battery backup that would prevent it from resetting fully during a power cycle?

  • Getting the following error while parsing the values usng xml parser

    Hi
    I am getting the following error while parsing the values using the code in r12 instance on linux
    declare
    XML_PARSER XMLPARSER.PARSER;
    DOC XMLDOM.DOMDOCUMENT;
    DOCELEMENT DBMS_XMLDOM.DOMELEMENT;
    BEGIN
    -- NEW PARSER
    XML_PARSER := XMLPARSER.NEWPARSER;
    -- SET SOME CHARACTERISTICS
    XMLPARSER.SETVALIDATIONMODE(XML_PARSER, FALSE);
         IF P_DIR IS NOT NULL AND P_FILENAME IS NOT NULL
         THEN
         FND_FILE.PUT_LINE(FND_FILE.LOG,'DIRECTORY FOUND'||'-'||P_DIR);
         XMLPARSER.SETBASEDIR(XML_PARSER, P_DIR);     
         -- PARSE INPUT FILE
         FND_FILE.PUT_LINE(FND_FILE.LOG,'FILE FOUND'||'-'||P_FILENAME);
         XMLPARSER.PARSE(XML_PARSER, P_DIR || '/' || P_FILENAME);     
         -- GET DOCUMENT
         DOC := XMLPARSER.GETDOCUMENT(XML_PARSER);
         LOAD_SUPP(doc);
         ELSE
         DBMS_OUTPUT.PUT_LINE('DIRACTORY/FILENAME CANNOT BE NULL');
         END IF;
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('DATA NOTINSERTED'||sqlerrm);
         ROLLBACK;
    END
    I am getting the following error
    DIRACTORYL-/home/appldevORA-0000: normal, successful completion
    FILE NAME-suppliersample_data.xmlORA-0000: normal, successful completion
    DATA NOTINSERTEDORA-31001: Invalid resource handle or path name "/home/appldev/suppliersample_data.xml"
    ORA-06512: at "SYS.XDBURITYPE", line 11
    ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 142
    ORA-29280: invalid directory path
    ORA-29280: invalid directory path
    ORA-29280: invalid directory path
    It could be great if some one could give a suggestion/solution.
    Thanks
    Ajesh

    Besides this is not the correct forum try to google the error message first before posting:
    http://ora-29280.ora-code.com/
    cheers

  • Recieving ORA-01722 invalid number error while creating a materialized view

    Hi,
    I am receiving a ORA-01722 invalid number error while creating a materialized view. when run the select statement of the view i don't get any error, but when i use the same select statement to create a materialized view i receive this error. Could any please help in resolving this error. Here is the code i am using to create a materialized view.
    CREATE MATERIALIZED VIEW MV_EBS_CH_CLOSED
    REFRESH FORCE ON DEMAND
    AS
    SELECT DISTINCT kr.request_id, org.org_unit_name,
    ebs_ch_ticket_type (kr.request_id) ticket_type,
    DECODE
    (kr.status_code,
    'CLOSED_SUCCESS', kr.last_update_date,
    'IN_PROGRESS', (SELECT MAX (start_time)
    FROM ebs_ch_datastore ecd1
    WHERE kr.request_id = ecd1.request_id
    AND workflow_step_name =
    'Final BA Review and Deployment Exit Criteria')
    ) closed_date,
    substr(krhd.visible_parameter12,1,10) siebel_start_date,
    kr.creation_date itg_start_date
    FROM kcrt_requests kr,
    kcrt_request_types krt,
    kcrt_req_header_details krhd, kcrt_request_details krd1,
    (SELECT koum.user_id user_id,
    DECODE (koup.org_unit_name,
    'IT Implementations', 'CHS - Service Management BA',
    koup.org_unit_name
    ) org_unit_name
    FROM krsc_org_unit_members koum, krsc_org_units koup
    WHERE 1 = 1
    AND 'Y' = koup.enabled_flag
    AND koum.org_unit_id = koup.org_unit_id
    AND EXISTS (
    SELECT 'X'
    FROM krsc_org_units kouc
    WHERE koup.org_unit_id = kouc.org_unit_id
    START WITH kouc.parent_org_unit_id =
    ANY (SELECT org_unit_id
    FROM krsc_org_units krsc_org_units1
    WHERE 'Clearinghouse' =
    org_unit_name)
    CONNECT BY kouc.parent_org_unit_id =
    PRIOR kouc.org_unit_id)
    UNION
    SELECT kou.manager_id user_id,
    DECODE
    (kou.org_unit_name,
    'IT Implementations', 'CHS - Service Management BA',
    kou.org_unit_name
    ) org_unit_name
    FROM krsc_org_units kou
    WHERE 'Y' = kou.enabled_flag
    START WITH kou.parent_org_unit_id =
    (SELECT org_unit_id
    FROM krsc_org_units krsc_org_units2
    WHERE 'Clearinghouse' = org_unit_name)
    CONNECT BY kou.parent_org_unit_id = PRIOR kou.org_unit_id) org
    WHERE krt.request_type_id = kr.request_type_id
    AND krt.request_type_name IN ('Bug Fix', 'IT Enhancement')
    and kr.REQUEST_ID = krd1.request_id
    and krd1.batch_number = 1
    AND kr.request_id = krhd.request_id
    AND org.user_id in (krd1.parameter4, krd1.parameter5, krd1.parameter7)
    AND ( 'CLOSED_SUCCESS' = kr.status_code
    OR 'IN_PROGRESS' = kr.status_code
    AND kr.request_id IN (
    SELECT request_id
    FROM (SELECT DISTINCT request_id,
    MAX
    (start_time)
    closed_date
    FROM ebs_ch_datastore
    WHERE 'Final BA Review and Deployment Exit Criteria' =
    workflow_step_name
    GROUP BY request_id))
    Thanks,
    Shaik Mohiuddin

    This error occurs when you try to create a materialized view , but if you run the sql the results are perfectly fine. Well it happend to me also and to fix this I made sure all the coulmns have the same data type which are used in joins or in where clause.
    use
    where
    to_number(col1)=to_number(col2) and to_number(col3)=to_number(col4)
    hope this helps..

  • Invalid rowid error while running the snapshot agent in transactional replication

    Hi All,
    I am getting an Invalid rowid error while replicating an large tables i.e around 30 millions rows from oracle(publisher) to sql server(Subscriber) while running the snapshot agent in transactional replication.
    Its taking around 18 hours and its then its throwing this error.
    Is there any faster way that i can replicate the initial snapshot this large table as 18 hours is very high on time.
    Kindly suggest.i am always got quick and accurate response always..hope the same in this case also.
    Thanks,

    Hi,
    Could you please create a replication with some small tables for a test?
    You can disable the firewall on both sides and rerun snapshot. Enable verbose logging to level 4 for snapshot agent and check the results if it fails.
    http://support.microsoft.com/kb/312292
    Here is a document says for the error: ORA-10632: Invalid rowid Cause: Segment Highwatermark was overwritten due to shrink and space reused Action: Reissue this command.
    I also suggest you contact the Oracle support team for further help.
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Getting SP2-0306 error while executing a scrpt.

    Hi all,
    We are using oracle version 11GR2 .
    I am getting the below error while executing a unix script which connect to DB and returns a value. Why we get such issues/ anything wrong in the setup ?
    Same code working fine in old db. any idead how to resolve this?
    SP2-0306: Invalid option. Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM}] [edition=value]] where <logon> ::= <username>[/<password>][@<connect_identifier>] <proxy> ::= <proxyuser>[<username>][/<password>][@<connect_identifier>] ERROR: ORA-01017: invalid username/password; logon denied SP2-0306: Invalid option. Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM}] [edition=value]] where <logon> ::= <username>[/<password>][@<connect_identifier>] <proxy> ::= <proxyuser>[<username>][/<password>][@<connect_identifier>] SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*PlusPlease let me know if you need any details.
    Thanks and Regards
    Nagaraja

    Thanks for the response rp.
    I am calling the script checkdbtoproceedjob from another script as below.
    DBVALUE=`checkdbtoproceedjob ODS_LOAD $1` >> $LOGFILE
    echo "dbvalue is "$DBVALUE
    if [ $DBVALUE !=  "DBCONTINUE" ]
    then
      echo "**** job will be exited as db says no *****"
      exit 0
    fi
    echo "***** Job will be continued as db says yes ******" >> $LOGFILEDBVALUE is coming as null and I am getting the error.
    HOwever, If I execute the script alone as below it is returning the values. I don't think there is issue with credentials.
    checkdbtoproceedjob ODS_LOAD FORWARDARTICLE
    checkdbtoproceedejob
    #! /bin/bash
    . config
    set -x
    checkdbtoproceedjob()
    CONTROLFLAG=`sqlplus -s $CONNSTRODS << EOF
    whenever sqlerror exit sql.sqlcode
    set TRIMSPOOL ON
    set serveroutput on
    set pagesize 0 feedback off verify off heading off echo off
    declare
    pv_control_flag varchar2(50);
    pv_feed_name varchar2(100) := '$2';
    pv_job_name varchar2(100) := '$1';
    begin
    SP_CHECK_PROCEED_JOB(pv_job_name,pv_feed_name,pv_control_flag);
    dbms_output.put_line(pv_control_flag);
    end;
    exit;
    EOF`
    checkdbtoproceedjob $1 $2
    echo $CONTROLFLAG
    set +x
    exit 0am i doing something wrong? Please let me know.
    Regards
    Nagaraja Akkiivalli.
    Edited by: Nagaraja Akkivalli on Mar 28, 2012 1:50 PM

Maybe you are looking for