Import FMW Security in SampleApp gives "Invalid Directory" error

I am working through the manual for installing and configuring the OBEE 11g SampleApp for Oracle BI Applications.
When I get to the section (2.3.4) for "Import FMW Security Users" I get the following error when saving the path for the FMW_Users_Definition folder. I know that it is correct because I am browsing out to it using Windows Explorer and then copying and pasting it from the Address bar.
I tried using both long and short paths.

Dragon wrote:
Hi,
We have Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production.
I need to read txt file from db package. File is located on my local machine. I use utl_file package and as I found I need to create a logical directory which points to physical one.
'Create or replace' command doesn't work from my db package, it gives mi ORA-22929. But it works from SQL.
CREATE OR REPLACE DIRECTORY v_dir AS 'C:\ab\cd';
GRANT READ ON DIRECTORY v_dir TO PUBLIC;
Even after creating logical directory in ALL_DIRECTORIES table, I'm getting INVALID_PATH error after command:
srcFile := utl_file.fopen('C:\ab\cd','my.txt', 'R');
where src file is declared as utl_file.file_type.
After reading numerous forums and documentation I couldn't find a solution.
At first, why 'Create or replace' command doesn't work from db package and then how to overcome INVALID_PATH error?
Any help?
Tnx,
NatiIn addition to BlueShadow's comments, you need to be aware that the file and directory must exisit on the database server .. or at leas on a directory that is mounted/accessible by the database server.. it won't work if "'C:\ab\cd" is referring to a directory on your workstation and your database is on different machine.

Similar Messages

  • Find the Column Name which gives Invalid Number Error

    Hi,
    There are about 150 columns in a table and data to this table is from a external source like flat file. when these data are loaded to the table for a particular column it gives Invalid Number Error. So need to find for Which Numeric Column a String Value is about to be inserted.
    since we are sure not whether the proper Values are coming from Source in Front End we pass the Value within ' quotes.
    So how do we get the Column for which the error is raised :-)

    If you are using SQL*Loader, the log will tell you which row and column has the error.
    Otherwise you may need to code your own debugging statements.

  • I have iphoto 6 and my pictures are no longer showing.  I have tried importing them but it just give me an error msg. (file format not recognized) I have tried rebuilding the iphoto library but that doesn't work either. Any suggestions?

    I have iphoto 6 and my pictures are no longer showing.  I have tried importing them but it just give me an error msg. (file format not recognized) I have tried rebuilding the iphoto library but that doesn't work either. Any suggestions?

    How did you rebuild?
    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library allowing it to overwrite the damaged file.
    2. Download <a href="http://www.fatcatsoftware.com/iplm/"><b><u>iPhoto Library Manager</b></u></a> and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new *iPhoto 6* library:
    Note this will give you a working library with the same Rolls and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library on your desktop and find the Originals folder. From the Originals folder drag the individual Roll Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.

  • Getting Invalid Directory error when saving mailbox edits

    I current have two accounts set up for two separate mailboxes (I'm using IMAP) that I had in my old AOL account. Anyway, when I try to edit one of my mailboxes through the Mailbox Behavior tab and try to save it, I get an Invalid Directory error saying that /Users/username/Library/Mail is being used by the other account and consequently, my edits cannot be saved. Any ideas?
    Curt

    Called Apple support. I basically had to recreate my mail accounts and that fixed the problem.

  • OCILobwrite gives invalid hanlde error

    When I try to use ocilobwrite it gives invalid handle error , i.e rc =-2
    rc = OCILobWrite(dbsess->svcHandle() , pErrHandle, pLob, &amtp, 1, (char*) TSString,
    fileLen, OCI_ONE_PIECE, 0,
    (sb4 (*)(dvoid *, dvoid *, ub4 *, ub1 *)) 0,
    (ub2) 0, SQLCS_IMPLICIT );
    For the same seesion ocilobread ,OCIDateFrom text etc. seem to work. I am using a 10g client with a 11g database.
    Can, anyone give me any idea why is this happening?

    ahh , I see, thank you
    EDIT:
    Wait, wtf, I just went to modify it, and found I already have that line with the --no-check-certificate option already set for https
    EDIT-AGAIN:
    OK I got it, makepkg was using the regular http, and wget was redirected to https afterward but still using the regular http options from makepkg. Simply had to change http to https in pkgbuild
    Last edited by tjwoosta (2011-02-18 20:26:37)

  • Invalid Directory Error Message when using DOS

    I've recently installed version 1.4 SDK on my Windows 95 machine.
    When I type cd c:\java in MS DOS at the prompt, I keep getting the message "Invalid Directory" and can't move forward from there to C:\java>.
    The SDK is correctly installed on my C: drive, so I don't understand why the directory location isn't understood.
    Could it have to do with the PATH? I followed the installation instructions below, but wonder if I need to type SET PATH=...before the text of the suggested PATH statement below.
    Windows 98, Windows 95 - To set the PATH permanently, open the AUTOEXEC.BAT file and add or change the PATH statement as follows:
    Start the system editor. Choose "Start", "Run" and enter sysedit, then click OK. The system editor starts up with several windows showing. Go to the window that is displaying AUTOEXEC.BAT
    Look for the PATH statement. (If you don't have one, add one.) If you're not sure where to add the path, add it to the right end of the PATH. For example, in the following PATH statement, we have added the bin directory at the right end:
    PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\JDK1.4\BIN
    Capitalization doesn't matter. The PATH can be a series of directories separated by semi-colons (;). Microsoft Windows searches for programs in the PATH directories in order, from left to right. You should only have one bin directory for a Java SDK in the path at a time (those following the first are ignored), so if one is already present, you can update it to jdk1.4.
    To make the path take effect in the current Command Prompt window, execute the following:
    C:> c:\autoexec.bat
    To find out the current value of your PATH, to see if it took effect, at the command prompt, type:
    C:> path

    I am having the same issue.
    At the command prompt, any attempt to enter the "jdk1.3.1" directory returns "invalid directory".
    Sadly, your post is old, and noone but me has replied.
    Since I'm DOS ignorant, and it is emulated DOS anyway...
    I don't know how to resolve this.
    Two uninstall/reinstall cycles to try and correct the issue- no dice.
    Responses, please!

  • "invalid directory" error. SOS

    My JDK1.3.1 is working fine when I compile my programs using Kawa editor. But when I try to get in to enter into the jdk1.3.1 directory in my DOS shell, I get a message "invalid directory" , and returns to the c:\ prompt. Why is that so??
    Fyi, I have also installed j2sdkee1.3 and also javawebserver 2.0 in c:\.
    Someone please help me !!

    Yes. I tried checking for the 8 character limit in dos shell. But that's not the case.. coz I am gettin the same error. I am able to explore it using Windows Explorer but not in dos shell. Fyi, I am working on Win 2000. Is there anything that has to do with Administrator right??
    Please help me !!

  • Invalid directory error

    I'm trying to run the sample web applications in sun app server 8. Sample app are located in <appserver root>\samples\webapps\simple\. Appserver root is c:\sun\appserver. I'm unable to go this directory for i'm getting invalid directory when change directory from c:\ to the given directory above. In fact , I'm not able to change directory from C:\Sun to C:\Sun\Appserver. cd command works perfectly with other directory structure in my C drive.
    Kindly let me know what would be the problem.

    More than likely it is one of the Windows idiosyncrasies, did the problem arise over time or you encountered the problem from the get go? Make sure that the filesystem mounted under c:\ is consistant.

  • HDD Invalid Sibling error, one hard drive has renamed itself with another harddrives name and now gives invalid Sibling error, what can i do?

    Hi
    So I have a few dozen hard drives for archiving and two of them have gone insane, The drives are named B1A and B6A. B1A is mounting and can be accessed however the desktop icon shows up as a faded yellow instead of the regular color and doesnt show in the finder sidebar.
    B6A is showing its partition as B1A (this is wrong) and not mounting at all. when repair is run it gives an invalid sibling error.
    What can i do, i've never heard about something like this.
    These two hard drives were used recently and worked fine could OSX somehow have mixed up HDD partition names on different drives
    Also these are mounted via USB, OSX 10.7.5

    Thank you Jim and Apple2Freak,
    I appreciate your comments. I am now suggesting to my friend to buy a legal OS and if that is the case I am suggesting to him to move to OSX instead of OS9. Luckily he let me know there wasn't much data on that drive that he needed to save. I am still trying to determine if I could still use this hard drive with the keylength errors if I erase it or if the hard drive has permanent damage. I am hoping that I could install OSX on it and erase the hard drive to start again.
    This imac (slot loading version) can support up to OS 10.3.9 however I might consider Xpostfacto to try to run 10.4. But then I would need to buy 10.3.9 as well as 10.4 and that would double my OS cost. I think I might just look for OS 10.3.9 only. Its not worth it for me to buy two OSes for it.
    Jim, your post was very interesting because it also pointed out that it could be an issue of bad RAM. A few months ago we installed some new second-hand RAM and I wonder if that is the cause of all these problems. I will have to check that first.
    Thanks again!

  • In Ref cursor, user defined functions give "invalid column" error in EJB.

    Hello,
    I have written PL/SQL stored procedures/functions in Oracle 8i. They return the result set as a ref cursor.
    These procedures are accessed by EJB (weblogic) using Type 4 (100% Java) JDBC Driver.
    My problem is - if I use a user defined function to fetch a value in the select statement of the reference cursor, the EJB gives an error msg - invalid column name.
    If instead of using the function I get the value directly from the table, it works fine. Refer the code below :
    //In the PL/SQL function -
    //instead of writing :
    Open rc for
    Select empcode, empname
    from emp ;
    //If I write :
    Open rc for
    Select empcode, mypack.getempname(empcode)
    from emp ;
    //getempname(empcode) is a function in
    //in a package named 'mypack'
    //and returns name for empcode.
    //The java code gives error
    //error : invalid column name
    //While both are working fine and
    //returning currect result in SQL Navigator.
    Help me solve this mystery ?
    Thanks in advance.
    Swati.
    null

    Hi:
    When use inline Function to simplify the SQL statements, there is one thing that one should conside--Purity Level.
    if you create standalone stored pl/sql function. Oracle implicitly determines the PURITY level during compilation of the stored objects or at execution of an anonymous pl/sql block.
    if you implement Package inline Function( in your case),unlike standalone stored pl/sql functions, the PL?SQL Engine does not determine the purity level of package functions. Therefore, you must explicity assign the correct purity levels for the function to be called inline.
    the code like:
    create or replace package mypack is
    function getempname(empcode emp%empid%type)
    return varchar2;
    PRAGMA RESTRICT_REFERENCES(getempname,WNDS,WNPS,RNPS);
    end mypack;
    I think it can solve your problem if you use enough "pure"to be called inline function. Or you can create the standalone function to do it.
    good luck!
    Yali
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Swati Agrawal ([email protected]):
    Hello,
    I have written PL/SQL stored procedures/functions in Oracle 8i. They return the result set as a ref cursor.
    These procedures are accessed by EJB (weblogic) using Type 4 (100% Java) JDBC Driver.
    My problem is - if I use a user defined function to fetch a value in the select statement of the reference cursor, the EJB gives an error msg - invalid column name.
    If instead of using the function I get the value directly from the table, it works fine. Refer the code below :
    //In the PL/SQL function -
    //instead of writing :
    Open rc for
    Select empcode, empname
    from emp ;
    //If I write :
    Open rc for
    Select empcode, mypack.getempname(empcode)
    from emp ;
    //getempname(empcode) is a function in
    //in a package named 'mypack'
    //and returns name for empcode.
    //The java code gives error
    //error : invalid column name
    //While both are working fine and
    //returning currect result in SQL Navigator.
    Help me solve this mystery ?
    Thanks in advance.
    Swati.
    <HR></BLOCKQUOTE>
    null

  • LabView gives "Invalid Declaration" errors

    Hello there, I am trying to compile a "stm32f10x" project using old generic template project found on the forums (for example, here) and I have gotten around some errors.
    however I am experiencing an error when compiling which says:
    C:\Program Files\National Instruments\LabVIEW 2010\CCodeGen\include\os\rtx\LVDefs_plat.h(98): error:  #256: invalid redeclaration of type name "int8" (declared at line 157 of "C:\Program Files\National Instruments\LabVIEW 2010\CCodeGen\analysis\development\include\fundtypes.h")
    Target not created
    Status: Build failed.
    I have tried commenting out the lines which declares the int8 variable, however by commenting one out it gives more errors  (as the type is used within the file)
    I am using
    -Windows 7
    -National Instruments LabView 2010
    -Keil uVision 4.14
    -J-tag/J-link device
    -STM32F103RB chip
    Any help would be appreciated. thanks

    hey there, i did try some of the things mentioned in the thread, however it was still not working
    and I have tried commenting the declaration in both files, but each gave erros, however just now i have removed "stm32f10x_tim1" from the targetconfig file and the program seems to not come up with that error. however a new error has appeared that says:
    [2:18:33 PM] Status: Error
    linking...
    .\Obj\LabVIEW.axf: Error: L6406E: No space in execution regions with .ANY selector matching stm32f10x.o(HEAP).
    .\Obj\LabVIEW.axf: Error: L6407E: Sections of aggregate size 0x8000 bytes could not fit into .ANY selector(s).
    Target not created
    Status: Build failed.

  • Trying to compile tutorial gives invalid flag error

    C:\java\kodo-jdo-3.0.0b1\tutorial>javac -classpath ../lib/*.jar *.java
    javac: invalid flag: ../lib/jakarta-commons-lang-1.0.1.jar
    This in a windows cmd.exe prompt.
    Am I the first one ever to do this? Any suggestions?
    Karl.

    Ok, thanks. Silly error.
    I got the same for 2.5.2 and 3.0 so I just posted in developer.
    Stephen Kim wrote:
    Classpaths have to be full an explicit: e.g. javac -classpath
    c:javakodolibkodo-jdo.jar;c:javakodolibjdo1_0.jar
    and so forth.
    A good way to properly set up your environment is to use one of our GA
    level distributions (2.5.2 being the latest) and modifying jdocmd.bat or
    jdocommand.bat to 3.0's library dependencies.
    Also, until Kodo 3 goes into GA, the proper forum is solarmetric.kodo.beta
    as Kodo 3 is at a different tier of support for now.
    On Mon, 11 Aug 2003 22:26:55 +0000, Karl Nicholas wrote:>>
    C:javakodo-jdo-3.0.0b1tutorial>javac -classpath ../lib/*.jar *.java
    javac: invalid flag: ../lib/jakarta-commons-lang-1.0.1.jar
    This in a windows cmd.exe prompt.
    Am I the first one ever to do this? Any suggestions?
    Karl.
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

  • Signon page gives invalid OS error, using Firefox on Oracle Linux

    Installed PeopleSoft HCM 9.2 (PT 8.53.02) using Oracle Virtualbox VM template. Installed X Windows and GNOME Desktop and virtualbox guest additions. When I connect to the signin page using firefox (17.x) on this same VM which is running Oracle Linux, I get the unsupported OS errror. Checked browser.xml and that looks fine.
    Error: We've detected that your operating system is not supported by this website. For best results use one of the following operating systems ....
    Any help would be appreciated.
    Thanks
    DS.

    user13635748 wrote:
    Interesting, I didn't know that. But the error message does list "Oracle Enterprise Linux" as one of the supported options.Hmmm, that's right, rather embarrassing. However, according to the all certification matrix that I can read on My Oracle Support, Linux is no where supported for web browsing.
    Seems a bit paradoxal. It probably has to be reported to the support, I don't think that's a VM peculiar issue.
    But why not using the web browser from the host instead of the one from the guest VM ? Will 'solve' if that's a Windows host...
    Nicolas.
    Edited by: N Gasparotto on May 8, 2013 9:18 PM

  • Importing from P2 cards..."invalid directory structure"

    FCP 5.1
    P2 cards
    I am trying to import the material from the P2 cards.
    I actually tranfered the content of the cards on my desktop and tried to File/Import/P2 Panasonic. I chose the Contents folder and i get this message: "invalid directory structure"...
    I have been able to do this operation in the past, but suddenly this happens.
    Any idea on what's going on?

    First off, does the CONTENTS folder have all six folders inside it?
    Second, do the folders have any additional naming to them other than CONTENTS? Like CONTENTS 1, CONTENTS 2. Can't do that....has to be CONTENTS only...no additional naming.
    Third, is this you issue:
    http://lfhd.blogspot.com/2007/01/p2-folder-naming-tip.html
    Shane

  • Cannot start imported Hyper-V VM: The Security ID structure is invalid (0x80070539).

    I haven't seen any mention of this in any of the forums. I'm attempting to import a virtual machine to a Server 2012 R2 Hyper-V system. Normally this is fairly straight-forward. However, the imported virtual machine will not start. I'm getting the following
    error message:
    [Window Title]
    Hyper-V Manager
    [Main Instruction]
    An error occurred while attempting to start the selected virtual machine(s).
    [Content]
    'Unnamed VM' could not initialize.
    An attempt to read or update virtual machine configuration failed.
    [Expanded Information]
    'Unnamed VM' could not initialize. (Virtual machine ID )
    'Unnamed VM' could not read or update virtual machine configuration: The security ID structure is invalid. (0x80070539). (Virtual machine ID 223C7883-08C2-43ED-B5D1-7ABFC0940F64)
    I'm not familiar with what is going on here. Any ideas?
    Thank you.

    Hi michael,
    please try execute this powershell command.
    Grant-VmConnect Access -username (user account to boot the VM) -VmName (VM name).
    See if this work. I just tested and work on my side. For more detail, you can refer to http://www.ms4u.info/2014/01/cannot-start-imported-hyper-v-vm.html
    Lai (My blog:- http://www.ms4u.info)

Maybe you are looking for

  • E72 problems after hard reset

    Hello... I recently had to reset my phone because an app wouldn't install properly, and couldn't be uninstalled to allow another try. I chose to do a hard reset (holding the keys on startup), and now I'm adding all my apps and games back on.  Half of

  • Can Someone Shed some insight on US Bank for me?

    I have been helping my brother establish credit. He has a few cards, low balances, some inquiries, 710 FICO. He apped for Platinum Visa with US Bank yesterday and receieved a message with something along the lines of you will be notified in writing w

  • My older podcast episodes are missing on iTunes.

    Just noticed last week that my nine oldest podcast episodes are no longer on itunes. They're alive and well on my blog page so I'm nor sure what happened. Did I reach some magical quota on iTunes? I have no clue how to resubmit or do any of that stuf

  • Planned delivery time Pickup from inforecord not material master data

    Hi, Currently the delivery dates of the orders are calculated with the delivery time which is marked in MM02. Since the purchasing integrates this information in the info record, we want the delivery date to be calculated with delivery time of the in

  • You tube links in Facebook

    When I click on a you tube video link in Facebook with my iphone 4 I get sent to the app store instead of playing the video. Anybody know what I'm doing wrong?