Invalid path

hi,
i have written a procedure to get the output in excel file. but here i am getting error for invalid path.
PROCEDURE TEXT IS
A utl_file.file_type;
S VARCHAR2(10000);
CURSOR C1 IS SELECT * FROM EMP ORDER BY EMPNO;
BEGIN
A:=utl_file.fopen('c:\','emp.xls','W');
FOR I IN C1
LOOP
     utl_file.PUT_line(A,i.empno);
end loop;
utl_file.fclose(A);
END;
when i executed got an error like that
ERROR at line 1:
ORA-29280: invalid directory path
ORA-06512: at "SYS.UTL_FILE", line 33
ORA-06512: at "SYS.UTL_FILE", line 436
ORA-06512: at "SCOTT.TEXT", line 10
ORA-06512: at line 1
question is what will be the file destination ?
please help..
thanks
Edited by: Hi FRNzzz!! on Aug 28, 2010 10:38 AM

i have created directory as sysdba
create or replace directory my_dir AS '/tmp';
GRANT READ,WRITE ON DIRECTORY my_dir TO PUBLIC;
PROCEDURE TEXT IS
A utl_file.file_type;
S VARCHAR2(10000);
CURSOR C1 IS SELECT * FROM EMP ORDER BY EMPNO;
BEGIN
A:=utl_file.fopen('MY_DIR','emp.xls','W');
FOR I IN C1
LOOP
     utl_file.PUT_line(A,i.empno);
end loop;
utl_file.fclose(A);
END;
when run this procedure getting error
ERROR at line 1:
ORA-29283: invalid file operation
ORA-06512: at "SYS.UTL_FILE", line 475
ORA-29283: invalid file operation
ORA-06512: at "SCOTT.TEXT", line 10
ORA-06512: at line 1
please help

Similar Messages

  • Unable To Open Saved WI Reports in IE 9-Receive Invalid Path Error

    I am unable to open any saved web intelligence report documents in Internet Explorer 9.  When I select view or modify, the java report panel does not initiate but instead gives me an error stating "Invalid path /AnalyticalReporting/WebiView was requested".  Everything works fine if I use Firefox 9.   Is it a setting I need to change in internet explorer somewhere or is it a compaitibility issue?
    I can create new web intelligence queries and reports in IE 9, but if I try to open a report that I saved, I get an error.

    Hello,
    If you are using the older version of BOXI in that case IE 9 is not supported. Please check your Boxi version which supports IE 9 or not.
    Thanks,
    Rcse2006

  • Invalid path in OBIEE 11.1.1.5

    Hi,
    I have intergrated with OBIEE 11.1.1.5 with portal.While viewing the reports a particular report throws an error
    Error:
    Dashboard Display Error      
    Invalid path () -- path not found in dashboard
    Error Details:
    Error Codes: QM3V3HLV
    Can you someone please help me on this?
    Thanks in Advance,
    Padmini

    Hi,
    please refere this link.....
    http://www.serkey.com/tag/error-codes-qm3v3hlv/
    mark if helpful/correct...
    thanks,
    prassu

  • Invalid path in XML Publisher temporary directory

    Hi
    Even if i am setting this temporary directory property in xml publisher admin to an invalid path, i am able to see the template outputs. i restarted the apache server. Do i need to do any more changes?
    Thanks
    Satya

    Can i get any clue on this?

  • Invalid path to MS-Word templates folder

    Hi all!!!
    I set in System Initialisation -> General Settings -> Path -> Microsoft Word Templates Folder: "C:\Program Files (x86)\SAP\SAP Business One\WordDocs\".
    When i click on the MS_WORD icon on a Sales Order i get the message "Invalid path to MS-Word templates folder".
    Why???

    Hi Gianluca,
    Please try to specify Microsoft Word Templates Folder with the Language folder at the end.
    ( e.g. C:\Program Files (x86)\SAP\SAP Business One\WordDocs\English\ )
    Please also check whether MS Office application is installed on the client and if these files are in the selected folder:
    - CustAccounts.doc                                                                   
    - Docmnhl1.doc                                                                       
    - Header.txt                                                                         
    - Lines1.txt                                                                         
    - Lines2.txt                                                                         
    - Lines3.txt                                                                         
    - mnhlDot1.dot                                                                       
    - ToDoLetters.doc                                
    hope it helps,
    Regards,
    Ladislav Meszaros
    SAP Business One Forum Team

  • Invalid path to word templates

    Hello,
    I am trying to export delivery note to word, but no way. It appears the following message:
    "Invalid path to word templates"
    I have checked under administration that the path set there is correct and the macros are with low security level.
    Thanks in advance

    Hi,
    If you have checked the administration --> general settings --> path, you could also check if the folder still exists and allowable to use by user. btw, what version of SBO you are using ?
    Rgds,

  • Invalid Path for target file, check if connector is deployed correctly

    Hi all,
    I've got a tricky problem over here: we are using OMB scripts for generating simple extract mappings that just copy data from an oracle source table to a flat file on a directory. Up untill now ( with version 11.1 ) this did not pose any troubles, but now we are using 11.2 for the first time and we don't get the mappings to execute. Generating, validating and deploying all works fine, only executing fails with the error: "Invalid Path for target file, check if connector is deployed correctly". It ends to rapidly, so I'm assuming the problem lies in the repository and not on the database itself.
    I'm pretty sure all locations are defined as needed, flat file operator in the mapping has correct location, the flat file module has the same location,...
    I tried almost everything: recreate oracle module, recreate flat file module, unregister and recreate db location, unregister and recreate dir location, recreate mapping and flat file, export/import...
    The strange thing is, I was able to execute a mapping once. Although it ended with an error (due to a function in the mapping), it created the file correctly. After that I needed to update the directory path of the target location and from then on, I always got the error above, and I don't see a good reason.
    Any suggestions??
    Tnx,
    Michel

    That error is displayed when the generated code fails to execute with one of the following database errors;
    UTL_FILE.INVALID_PATH
    UTL_FILE.INVALID_OPERATION
    UTL_FILE.INVALID_FILEHANDLE
    So its worth checking the generated code for that map and searching for the code around UTL_FILE.FOPEN and seeing what the path and the file name in the code are. Maybe the file is created with permissions such that it can be created but not then re-written and its an OS permissions thing (such as UMASK settings).
    Cheers
    David

  • When updating .lbi files in DreamWeaver CS4 I get an invalid path.

    When I make changes to my .lbi files in DreamWeaver CS4 I and try to update them I am getting
       item Library\dreamweaver\themed_image.lbiE:\RCG\Web Sites\2011 RCG Working Web Site\Library\dreamweaver\themed_image.lbi contains an invalid path.
        item Library\dreamweaver\logo.lbiE:\RCG\Web Sites\2011 RCG Working Web Site\Library\dreamweaver\logo.lbi contains an invalid path.
        item Library\dreamweaver\icons.lbiE:\RCG\Web Sites\2011 RCG Working Web Site\Library\dreamweaver\icons.lbi contains an invalid path.
        item Library\dreamweaver\menu_top.lbiE:\RCG\Web Sites\2011 RCG Working Web Site\Library\dreamweaver\menu_top.lbi contains an invalid path.
        item Library\dreamweaver\menu_side.lbiE:\RCG\Web Sites\2011 RCG Working Web Site\Library\dreamweaver\menu_side.lbi contains an invalid path.
        item Library\dreamweaver\$_whats_new.lbiE:\RCG\Web Sites\2011 RCG Working Web Site\Library\dreamweaver\$_whats_new.lbi contains an invalid path.
      files examined: 136
      files updated: 0
      files which could not be updated: 0
    total time: (0:00:13)
    Here is the code in one of the files for my side menu.. I do not see what is wrong and was wondering if anyone could help. Thank you.
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <!--
      <div class="maincontainer">
            <table style="width: 100%" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                    <table style="width: 100%" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="headerleft"><h3>MainMenu</h3></td>
                            <td class="headerright"> </td>
                        </tr>
                    </table>
                    </td>
                </tr>
                <tr>
                    <td>
                    <table style="width: 100%" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="leftcolumn"></td>
                            <td class="maincontent">
    -->   
    <div class="maincontent">   
    <h3>MainMenu</h3>               
    <div class="bg">
    <!-- menu  -->
    <div id="ddsidemenubar" class="sidemenu">
    <ul>
    <li><a href="../../index.htm"             title="Home">                        <span>Home</span></a></li>
    <li><a href="../../catalog_opening.html"         title="Catalog"     rel="sub1">        <span>Catalog</span></a></li>
    <li><a href="../../services.htm"         title="Services"    rel="sub2">        <span>Services</span></a></li>
    <li><a href="../../photo_gallery.htm"     title="Photos">Gallery<span></span></a></li>
    <li><a href="../../sitemap.htm"         title="Search">                        <span>Search</span></a></li>
    </ul>
    </div>
    <script type="text/javascript">
    ddlevelsmenu.setup("ddsidemenubar", "sidebar") //ddlevelsmenu.setup("mainmenuid", "topbar|sidebar")
    </script>
    <!--Side Drop Down Menu 1 HTML-->
    <ul id="sub1" class="ddsubmenustyle sidesubmenu">
    <li><a href="../../catalog_opening.html">Senior Class T-Shirts</a>
      <ul>
        <li><a href="../../catalog_seniorclass.html">Page 1</a></li>
        <li><a href="../../catalog_seniorclass2.html">Page 2</a></li>
      </ul>
    </li>
    <li><a href="../../catalog_opening.html">School T-Shirts</a>
      <ul>
        <li><a href="../../catalog_school1.html">Page 1</a></li>
        <li><a href="../../catalog_school2.html">Page 2</a></li>
      </ul>
    </li>
    <li><a href="../../catalog_opening.html">Montana T-Shirts</a>
      <ul>
        <li><a href="../../catalog_montana1.html">Page 1</a></li>
        <li><a href="../../catalog_montana2.html">Page 2</a></li>
        <li><a href="../../catalog_montana3.html">Page 3</a></li>
        </ul>
    </li>
    <li><a href="../../catalog_misc.html">Misc T-Shirts</a>
      </li>
    </ul>
    <!--Side Drop Down Menu 2 HTML-->
    <ul id="sub2" class="ddsubmenustyle sidesubmenu">
    <li><a href="../../direct_to_garment.html">T-Shirt Printing</a> </li>
    <li><a href="../../computer_design.html">Computer Design</a> </li>
    <li><a href="../../signs.html">Signs</a> </li>
    <li><a href="../../vehicle_graphics_and_wraps.html">Vehicle Graphics/Wraps</a> </li>
    <li><a href="../../airbrush.html">Airbrush</a> </li>
    </ul>
    <!--Side Drop Down Menu 3 HTML-->
    <!-- end menu / do not edit beyond this line -->
    </div></div>
    <!--
                            </td>
                            <td class="rightcolumn"></td>
                        </tr>
                    </table>
                    </td>
                </tr>
                <tr>
                    <td>
                    <table style="width: 100%" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="bottomleft"> </td>
                            <td class="bottomright"> </td>
                        </tr>
                    </table>
                    </td>
                </tr>
            </table>
    </div>
    -->

    Are all of your pages that are linked to this on the same directory level?
    The ../../ in front of every link means "go up two directory levels". If there are no pages, or if some of the pages are not at that directory level, the links would be going to nothing.
    I don't use library items myself, so I'm not sure if that has anything to do with it, but the "bad path" in your error report leads me to think some of those paths (since they're the only ones in the code) could be pointing to the wrong locations.
    My response will also bump your question back to the top of the pile. Maybe someone else will have a good idea of what's actually happening.

  • PL/SQL : Error: invalid path ORA-29280

    I'm trying to get this work but what can I do ? does anybody know how to resolv this problem
    code : (for the exemple)
    DECLARE
         fich     UTL_FILE.FILE_TYPE;
    BEGIN
         fich := UTL_FILE.FOPEN('e:\','test.lst','W');
         UTL_FILE.PUT(fich,'something');
         UTL_FILE.FCLOSE(fich);
    EXCEPTION
         WHEN utl_file.invalid_path THEN
              DBMS_OUTPUT.PUT_LINE('Error: invalid path ' || SQLERRM);
              UTL_FILE.FCLOSE(fich);
         WHEN utl_file.write_error THEN
              DBMS_OUTPUT.PUT_LINE('Error: write error ' || SQLERRM);
              UTL_FILE.FCLOSE(fich);
         WHEN others then
              DBMS_output.put_line('other error : '||SQLERRM);
              UTL_FILE.FCLOSE(fich);
    END;
    Always return :
    ERROR at ligne 1 :
    ORA-29280: invalid path
    ORA-06512: at "SYS.UTL_FILE", line 18
    ORA-06512: at "SYS.UTL_FILE", line 424
    ORA-06512: at line 4
    If someone can tell me where's the fault. thanks in advance

    Also note, that directories you want to have access to should be listed in UTL_FILE_DIR server parameter (you edit it in your init.ora and restart the server for changes to take effect.) Setting it to * (everything everywhere) is NOT recommended as it opens whole file system for access and may lead to security problems.

  • 400   Bad Request - Invalid path /b2c/secure was requested

    Hi,
    I have two jsp pages. first page is included as a link in one of the inc.jsp in B2C application.
    This page has few input fields and upon submit button. I get error message
    400 Bad Request - Invalid path /b2c/secure was requested
    the action tag written in config.xml is like:
    <action path="/b2c/xyz" type="package_name.xyz">
              <forward name="success" path="/b2c/Page2.jsp"/>
              <forward name="failure" path="/b2c/Page2.jsp"/>
              </action>
    in web.xml:
    <servlet>
            <servlet-name>Page1.jsp</servlet-name>
            <jsp-file>/b2c/Page1.jsp</jsp-file>
            </servlet>
        <servlet>
            <servlet-name>Page2.jsp</servlet-name>
            <jsp-file>/b2c/Page2.jsp</jsp-file>
        </servlet>
    Please let me know if you could help me with the needful. Appreciate your earliest response.

    Hi Bharathi,
    If you are embedding a link in jsp where you are directly calling another jsp, its always better to code it like this
    <a href="<isa:webappsURL name="/b2c/Page1.jsp"/>" target="_new">
    There is no need to make any changes in web.xml file.
    If in your inc.jsp you want to call an action class on click on a link than call a javascript method onclick on that link
    test() is a javascript method where you will call your action class like
    function test() {
           isaTop().parent.location.href="<isa:webappsURL name='/b2c/xyz1.do'/>";
    Changes in config.xml should be like
    <action path="/b2c/xyz1" type="package_name.xyz">
              <forward name="success" path="/b2c/Page2.jsp"/>
              <forward name="failure" path="/b2c/Page2.jsp"/>
    </action>
    Make use of "<isa:webappsURL name='/test/test.jsp'/>" and it will work. Hope this helps you.
    Regards,
    Arshi
    Edited by: Arshi Arshi on Oct 3, 2009 9:50 AM

  • INVALID PATH FOR TARGET FILE - 11g

    I had several mappings that's need to run almost all of my mappings got this same error,
    OWB Owner: owb_rpo_ev04
    User Owner: owb_rpu_ev04
    h2. "INVALID PATH FOR TARGET FILE, CHECK IF CONNECTOR IS DEPLOYED CORRECTLY"
    -Flat File Location has been indicated
    -Locations has been deployed
    -Files Location has been deployed
    -Physical Location has been created
    Two mappings is working prefectly without any error, but to several mappings the one with Flat Files Location are the one with the error when executing. I already grant permission owb_rpu_ev04 to UTL_FILE. I even create a synonym for UTL_FILE the i can used "ECT_FILE"
    Files are in FTP,
    h2. partial script
    OUTPUT_FILE ECT_FILE.file_type;
    FILENAME VARCHAR2(50);
    FILEPATH VARCHAR2(50);
    email_subject VARCHAR2(200);
    email_body_hdr VARCHAR2(10000);
    crlf VARCHAR2(2) := chr(13)||chr(10);
    OWB_FAILURE_RUN EXCEPTION;
    PRAGMA EXCEPTION_INIT (OWB_FAILURE_RUN,-20000);
    PROCEDURE CHK_EXECUTION (EXEC_FLAG IN NUMBER) AS
    BEGIN
    IF EXEC_FLAG = 3 OR EXEC_FLAG = 4 THEN
    RAISE OWB_FAILURE_RUN;
    END IF;
    END;
    BEGIN
    FILEPATH := 'ECTDM_EV04_OUTFILE_DIR';
    -- ECTBusiness.csv
    ECT_RUN_BATCH_MAP1 ( 'PLSQL', 'ECTDM_IN_M_BUSINESS_L1', 'OWB_RPU_EV04_LOCATION', 'ERROR_DETAILS', 0, EXEC_FLAG, 'A','DM');
    CHK_EXECUTION (EXEC_FLAG);
    Edited by: ellenore on Apr 26, 2012 5:52 AM
    Edited by: ellenore on Apr 26, 2012 6:03 AM

    That error is displayed when the generated code fails to execute with one of the following database errors;
    UTL_FILE.INVALID_PATH
    UTL_FILE.INVALID_OPERATION
    UTL_FILE.INVALID_FILEHANDLE
    So its worth checking the generated code for that map and searching for the code around UTL_FILE.FOPEN and seeing what the path and the file name in the code are. Maybe the file is created with permissions such that it can be created but not then re-written and its an OS permissions thing (such as UMASK settings).
    Cheers
    David

  • Reporting Services Report Subscription. Invalid path that has spaces within path

    I am trying to have subscriptions for reports in this folder: servername\Admissions\REPORTS\End Of Month Reports\Reporting Services Report Subscriptions
    It keeps coming back invalid path and its because of the spaces for the foldername. If I send it to the REPORTS folder, I have no problem. How can I fix this for a shared network folder?

    Hi jachopich56.
    According to your description, you come across an issue when distributing a report to a file share.
    In Reporting Services, when we distribute a report to a file share, we must specify an existing folder as a target folder. We should make sure the folder we specify is accessible over a network. When specifying the target folder, we should use UNC format.
    In your scenario, please check if you can access the folder with UNC path you specified in the subscription. If issue persists, please check the Reporting Service error log (default location: %programfiles%\Microsoft SQL Server\<SQL Server Instance>\Reporting
    Services\LogFiles) around the time that the issue occurs. Please post the detail error log for our analysis if possible.
    Reference:
    File Share Delivery in Reporting Services
    If you have any question , please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Invalid path /AFDashboardPageView was requested

    After upgrade my Business Object 3.1 SP0 to SP3 with Fix Pack 3.4 appear in the home of InfoView this error: HTTP Status 400 - Invalid path /AFDashboardPageView was requested.
    I can not upgrade more (i´m in the top level), how can solve it?
    Thanks in advance,
    Regards,

    Can you you please try the following?
    1) Stop the tomcat
    2) Go to <BOBJ installation path>\TOmcat55\webapps and remove the following directories:
    - InfoViewApp
    - InfoViewAppActions
    3) Start the tomcat
    Try again now to start the InfoView.
    I asumme that you are using WIndows. The path for Unix is similar ( <bobj installation paht>\tomcat\webapps)
    Do you have any integraiton Kit installed?
    Regards,
    Stratos

  • Invalid Path error

    Hi, I'm using iplanet, but I'm sure the principle is the same for any server, ie. tomcat etc.
    Using struts, there are certain urls (usually concerning .do extensions) that cause the server to complain - Invalid path /bal/bla was requested. These are genuinely bad paths, but the kind of thing that a user may accidentally enter.
    Is there somewhere (in the web.xml?) that I can specify a catch-all page that the server will redirect to in the case of such errors? Remember it's not an exception of any kind, so the usual exception page thing doesn't work.

    Dissapointing not to get any responses, I thought this would probably be quite straightforward.

  • Templates "invalid path"

    Hi can anyone help I can't seem to use templates to update
    pages, or open attached templates. I keep getting the error message
    "contains an invalid path" ?
    Thanks
    Steven

    Are your local sites on your local hard drive?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Steve84" <[email protected]> wrote in
    message
    news:e4a82a$h2t$[email protected]..
    > Hi can anyone help I can't seem to use templates to
    update pages, or open
    > attached templates. I keep getting the error message
    "contains an invalid
    > path" ?
    >
    > Thanks
    > Steven

Maybe you are looking for

  • Indesign CS4 and SVG export (or lack of)

    I normally do documents in Indesign and then export to pdf (for web and print). I've had a special client request to convert a few of those Indesign document to SVG format. This was an option in CS3 that has been taken off CS4. What's the best way to

  • Compilation Problem with Analog Modulation in Debug64 mod

    I can compile and run the AMDemodulate program in the analog modulation toolkilt with Debug mode successfully. However, I get the following link errors with Debug64 mod.  4 Project link errors Undefined symbol 'ModtCreateSessionHandle' referenced in

  • Problem Creating JMS Queue Tables

    Oracle 9.2.0.1 Help Please. I'm running into problems trying to create a JMS message queue table. following an example in the Oracle9ias containers for j2ee guide chapter 7. i've created a user and granted execute on sys.dbms_aqadm, sys.dbms_aq, sys.

  • COMMIT and PERFORMANCE and BAPI UPDATE

    When looping through  about 10 000 documents it goes initially quite fast but in the end it is very slow. Is it a basis problem? Initially it takes about 0,5 sec and in the end each document update takes about 20 sec. In total about 15 hours! My basi

  • Logic & Tiger vs. Logic & Leopard

    Is it risky to install Logic Studio if I don't have the latest version of Mac? I'm reading directions & it says "If necessary, you should update your system software to ensure you have the latest version of Mac OS X." I have Tiger 10.4.11 -- but will