Directory Permission in 10g Express for Windows XP

I am using Oracle 10g Express on a Windows XP machine. I want to use External Tables. I created a directory(c:\Datafiles), but the Database does not have acces to it. I tried changing the Oracle Service to run from "System" to a local user, but when I do that I am unable to open the Databse Web-Page or connect to the Database using SQL Developer. I am looking for any solution that will help.
I would like to know how I can change the permission for the "System" account so that it can access the files.
OR
Where do I find the values for the right connection setting if I run the Database as a Local User.
Any help will be appreciated.
--Thanks
My code:
CREATE OR REPLACE DIRECTORY admin_dat_dir
AS 'C:\Datafiles\data';
CREATE OR REPLACE DIRECTORY admin_log_dir
AS 'C:\Datafiles\log';
CREATE OR REPLACE DIRECTORY admin_bad_dir
AS 'C:\Datafiles\bad';
GRANT READ ON DIRECTORY admin_dat_dir TO hr;
GRANT WRITE ON DIRECTORY admin_log_dir TO hr;
GRANT WRITE ON DIRECTORY admin_bad_dir TO hr;
I plan to use these directories for External Tables:
CREATE TABLE admin_ext_employees
(employee_id NUMBER(4),
first_name VARCHAR2(20),
last_name VARCHAR2(25),
job_id VARCHAR2(10),
manager_id NUMBER(4),
hire_date DATE,
salary NUMBER(8,2),
commission_pct NUMBER(2,2),
department_id NUMBER(4),
email VARCHAR2(25)
ORGANIZATION EXTERNAL
TYPE ORACLE_LOADER
DEFAULT DIRECTORY admin_dat_dir
ACCESS PARAMETERS
records delimited by newline
badfile admin_bad_dir:'empxt%a_%p.bad'
logfile admin_log_dir:'empxt%a_%p.log'
fields terminated by ','
missing field values are null
( employee_id, first_name, last_name, job_id, manager_id,
hire_date char date_format date mask "dd-mon-yyyy",
salary, commission_pct, department_id, email
LOCATION ('empxt1.dat', 'empxt2.dat')
REJECT LIMIT UNLIMITED;
Now when I call (From Hr schema)
SELECT *
FROM ADMIN_EXT_EMPLOYEES
I get the following errors:
ORA-29913 : error in executing ODCIEXTTAVLEOPEN callout
ORA-29400: data cartridge error
KUP-04080: directory object ADMIN_LOG_DIR not found
ORA-06512: at "SYS.ORACLE_LOADER", line 19
I did some reading and found that this error is because Oracle does not have acce to the directory:C:\Datafiles\log
So I come to the problem, how do I grant access to Oracle.

I just checked the permission on my Folders, after following your advice. Thanks for the link.
The "SYSTEM" account has permissions to the folder, and I still see an error:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04080: directory object ADMIN_LOG_DIR not found
ORA-06512: at "SYS.ORACLE_LOADER", line 19

Similar Messages

  • Corrupt Data1.cab in Oracle Express 10g Universal  for Windows

    Hello Oracle Folks,
    I downloaded several times Oracle Express 10g Universal for Windows (OracleXEUniv.exe) and tried to install it and I get every time the same error message: "Error 1335. The required file "Data1.cab" is corrupt and cannot be used ...". When I download the Western European Edition (OracleXE.exe) the installation works! I downloaded the file on different local disks to exclude the risk that my disk is damaged.
    Can you please check if this download is sane!
    Thanks and best regards Thomas Mayr

    kalyat wrote:
    Amazing reply Hans.
    I have seen some arrogent smart mouth answers in my time. But this really takes the cake. Also judging from the icon you are some kind of employee of oracle. Wow! Now that shows respect for your users.
    Sorry to disappoint you - I am not an employee of Oracle. Much of your rant is irrelevant.
    I am simply a person who has volunteered enough time to provide over 8,000 repsonses in these forums and many more in other forums.
    Many, many, many of the questions are pure repetition due to the extreme laziness, incompetence or inability to do basic thinking by the questioners. There are also a lot of questions by 'newbies' who have obviously made an attempt to research the problem.
    My approach to answering questions is simple and two-fold:
    - make the person angry enough, or aware ennough, that they will think a bit when asking the next question;
    - if they ask a question intelligently (http://www.catb.org/~esr/faqs/smart-questions.html) I usually am convinced to help.
    (And yes, I do take longer breaks when I find myself being frustrated enough to provide answers like the above.)
    The stupid installation program for your stupid database was supposed to check the version of the Operating System. Anyway how does the operating system version matter if a cab file is corrupted? which was incidently packed in that stupid download link which you have happily given to all customers all this time. I was hoping to find that since you guys are too lazy to make the installation file properly you might have atleast bothered to put up a download link for that stupid Data1.cab. But nooo... The 'stupid installation program' is indeed that - a stupid installation program. It does a certain amount of checking, but definitely not enough. In that I do agree with you. It was also released too early - basrely understands how to spell Vista.
    Also, there is an assumption by Oracle that the person downloading reads the documentation, especially the installation guide, that is available at the same location as the download. It is amazing and extremely disappointing to note how many people will not even attempt to look at the link.
    The real sad part for me is that I frequently download software (and did again in this case) to verify that the user has a legitimate complaint. The 'data1.cab' that I received was not corrupt. Therefore I conclude the original poster made some huge assumption that is likely invalid. Now, I did install into an XP machine, and that could make a difference.
    As for the 'you guys' statement - perhaps you should take that up with Oracle or an Oracle employee. Directing at me is an unsubstantiated assumption on your part. <g>
    >
    I wasted some time thinking I would check out the db for development, got the same error and after seeing your mealy mouthed response to that poor guy who was asking a valid question, I think I won't bother anymore. You see, there is this amazing thing called Linux and MySQL..
    Yup. You could easily go there. Shows yet another assumption. (In fact, my company is centered around Linux and Oracle. And I have made a conscious decision, based on 3 decades of experience, to toss MySQL and stick with Oracle. And now that Sun, which owns MySQL, seems to be on the auction block, the future of MySQL is definitely up in the air.)
    However, given how many assumptions you make and how valid they are, you may find it easier to stick with MySQL. Oracle Express edition potentially could save huge buckets of time and effort in the long run, but it does require reading, research and other skills to get up to speed.
    Now, as to your problem
    1) This is not the forum to discuss issues with installation. (If the problem is traced to the download source, then this is the right spot.)
    2) There is a dedicated forum for Oracle Database 10g Release 2 Express Edition (Oracle Database Express Edition (XE)
    3) You are absolutely correct that the installer should be smart enough to check the OS. It does not.
    4) Since it does not, and since there are differences, knowing which version AND edition of Windows (or which Linux distro and release) is critical to troubleshooting.
    Edited by: Hans Forbrich on Mar 21, 2009 4:32 PM

  • Visual Studio 2013 Express for Windows - InitializeComponent() does not contain a definition issue

    Hi,
    I have recently downloaded Visual Studio 2013 Express for Windows (Windows Store App version), with Update 1.
    I create a blank app. I right-click on InitializeComponent() in the MainPage.xaml.cs and select Go To Definition. It brings me to the .g.i.cs file where this method resides.
    I go into the designer for MainPage.xaml and create a grid of 2 rows and 2 columns (all at 1*). I add one button, doesn't matter where. I double click on that button to add a click method to MainPage.xaml.cs. Without entering anything into the button click
    method, I scroll up and InitializeComponent() has an error and tells me there is not definition, even though I was looking at the definition a minute ago. I found I could unload the project and reload it and InitializeComponent() would have the definition
    in the .g.i.cs file but as soon as I add another button click or anything else I run into the same error. It seems as if the .g.i.cs file is not automatically regenerating, or it is being deleted all together when the button click method is added to the xaml.cs
    file.
    Everything I have done up to this point is very vanilla. I installed VS '13 Express for Windows, didn't change any VS setting, created a project and ran into this issue. I installed Update 1 thinking there might be a fix from the update--no luck. The xaml
    file Build Action is Page and the Xaml.cs file is Compile.
    I have tried deleting the MainPage.xaml file, after the creation of a project, and adding a new MainPage file with the added templates VS wants to include, and I still run into the same issue.
    I have searched for answers the past few days but haven't found anything that addresses my issue (most of what I found addresses VS '10 but their InitializeComponent() issues aren't the same as mine). Any help the MSDN community can provide would be
    a great help. If worst comes to worst, I will re-install VS and see if that corrects it--this would be a last-ditch effort though.
    Thank you for any help you may be able to provide

    Intellisense has a bug in VS2013 where it doesn't recognize InitializeComponent when you start working on the XAML.  My feeling is that if you try to compile this app, it will run fine (as long as there are no actual errors).
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Windows 8.1 won't boot after VS 2013 express for windows (metro) installation

    I have purchased HP Pavilion e115sm  with AMD A-10 processor and 12GB of RAM notebook, installed windows 8.1 on it, i updated windows with "windows update" and installed all drivers needed. After that, i have tried to install VS 2013 express
    for windows (metro). VS installation asked to restart windows after, so that some updates or whatever can be installed. 
    After restart, i just got windows logo with dots rotating and got stuck on that for several hours.
    I turned it of after several hours, delete all partitions on disk, recreated them again and reinstalled windows with all updates. I tried to install VS again, but got same "logo screen" with rotating dots again for several hours...
    Can someone help me with this?

    Hi,
    Would you please first check if the system can startup into Safe mode?
    Then, please try the startup repair in Advanced menu after you boot your computer via installation media.
    How Run "Automatic Repair" to Fix Startup Issues in Windows 8 and 8.1
    http://www.eightforums.com/tutorials/2843-automatic-repair-run-windows-8-a.html
    Then, if the issue still persists, try to boot PC in WinRE, and enter command prompt to run following commands:
    bootrec /fixmbr
    bootrec /fixboot
    bootrec /scanos
    bootrec /rebuildbcd
    Detailed steps, please refer to this link:
    Windows 8 Boot Issues? Try Fixing the Master Boot Record (MBR) or Boot Configuration Data (BCD)
    http://www.techspot.com/guides/630-windows-8-boot-fix/
    Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore,
    Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you
    completely understand the risk before retrieving any software from the Internet.
    Keep post.
    Kate Li
    TechNet Community Support

  • Missing olStream.h in Oracle Database Lite 10g installation for Windows

    I installed OracleLite 10g 10.3.0.1.0 for Windows, both the „Mobile Server“ and the „Mobile Development Kit“ named „Olite_10g_1“ in path D:/program file/Oracle/Oracle10g_1 each.
    The „Oracle Universal Installer“ listed all components as „installed“ (with the only exception of „Oracle Database Lite MDK for Symbian 10.3.0.1.0“).
    Building my MS Visual C++ Studio project then failed when compiling soda.h: „Cannot open include file: ‚olStream.h‘“.
    Neither has been successful my own search for the file olStream.h.
    How can I install olStream.h?

    Hi user629995
    You can find some help on :
    http://www.geekpedia.com/KB28_Fatal-error-C1083-Cannot-open-include-file-iostream.h-No-such-file-or-directory-when-trying-to-compile-your-C-or-Cplusplus-code.html
    and that
    http://www.cplusplus.com/forum/beginner/683/

  • 1. incoming text size. 2. outlook express for windows 7

    How can I increase the text size in incoming emails using verizon.net as my email.
    Is outlook express available for windows 7.

    The size in the website for reading can not be increased. Outlook express does not come with Win 7, they have moved away from that software. Microsoft offers for free download Windows Live Mail that you can configure for your email accounts.
    Anthony_VZ
    **If someones post has helped you, please acknowledge their assistance by clicking the red thumbs up button to give them Kudos. If you are the original poster and any response gave you your answer, please mark the post that had the answer as the solution**
    Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or plan

  • SQL Server Management Express for Windows 8

    Is there an SQL Server Management Express version for Windows 8? I tried using the 2005 and 2008 Express version but get an error indicating Windows 8 is not compatible. Thanks

    Hello,
    Please download it from the following URL fully compatible with Windows 8.x.
    http://www.microsoft.com/en-us/download/details.aspx?id=29062
    ENU\x64\SQLManagementStudio_x64_ENU.exe
    ENU\x86\SQLManagementStudio_x86_ENU.exe
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Availability of 10g database for windows

    Hi.
    Did anyone know when the Oracle Database 10g for windows will be available ??
    Thanks

    I don't believe Oracle has officially indicated a time frame. I have seen some people speculate (second or third hand information) some time in March, but I have no idea whether that is accurate.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Cd installation for air port express for windows

    I lost my cd and I would like to know where can i get it, I tried looking for it at the website but can't find it

    Heres the exact link for the airport software downloads, the one you want would be airport for windows 4.2
    www.apple.com/support/downloads/airport42forwindows.html

  • Problem Downloading "Oracle Database 10g EX for Windows"

    Hi,
    When I try to download “Oracle Database 10g Release 2 (10.2.0.1) Express Edition for Microsoft Windows” I get message:
    Internet Explorer cannot download OracleXE.exe from download.oracle.com.
    The server returned an invalid or unrecognized response
    I tried using Mozila and Opera, I got different message but no result.
    Please help,
    Dan

    There is a dedicated forum for this kind of questions which is monitored by Oracle staff.
    Discussion Forums » OTN Member Services » Downloads
    Downloads Issues

  • Sql server express for window 8

    i am going to develop web application (.net 3.5) and want to use sql server as database, but i am using window 8, it seems many version not compatible for it.
    anyone recommend me which version i should download so that i can estable database on my pc platform.
    any link reference?

    You can use SQL Server 2014 without any compatibility issues! It's available to download from this link:
    Microsoft® SQL Server® 2014 Express
    Please consider reading this article: 
    How to use SQL Server in Windows 8, Windows 8.1, Windows Server 2012, and Windows Server 2012 R2
    Also take a look at these URLs:
    Installing the .NET Framework 3.5 on Windows 8 or 8.1
    How to enable .NET Framework 3.5 on Windows 8 in Offline Mode
    Cheers,
    Saeid Hasani
    Database Consultant
    Please feel free to contact me at [email protected] as well as on Twitter and Facebook.
    [My Writings on TechNet Wiki] [T-SQL Blog] [Curah!]
    [Twitter] [Facebook] [Email]

  • Logic express for windows

    Hi,
    I wanted to know if there is any chance that logic express 8 will work in windows?
    Daniel

    no way as it is a native application designed for a mac. Apple have bought emagic just for reason of having its own music production software to sell its own hardware to professionals. And unix code are diff than bios code so it is not possible for logic to work on windows.

  • Grid 10g agent for windows 64 bit database.

    Hi,
    I was searching for grid agent for our 10g database residing on windows 64 bit server, but couldn't find. please update if available on any site.
    Thanks & Regards.

    See under Oracle Enterprise Manager Downloads, Mass Agent Deployment
    http://www.oracle.com/technetwork/oem/grid-control/downloads/agentsoft-090381.html
    Agent Software for 64-bit Platforms
    Eric

  • Where is the web root directory in Database 10g Express Edition and APEX

    I'm developing a mod_plsql application with database express edition and the APEX version that comes with.
    It works fine for developing mod_plsql applications(http://localhost:8080/apex/mypackages), but I could not find the different web directories to put my static html documents, css, gifs etc.
    I could also not find a way to configure the webserver.
    There's no apache installed.
    Can somebody help me.
    Thanks Roman

    http://daust.blogspot.com/2006/03/where-are-images-of-application.html

  • Oracle 10g R2 for Windows ignores init.ora and registry values

    Hello,
    I have a strange issue. I try to set some parameters for Oracle but it doesn't seem to work.
    Here the story:
    I created the DB with the DBCA under windows and set my init parameter at frist creation with 3 important values:
    OS_AUTHENT_PREFIX = ""
    REMOTE_OS_AUTHENT=TRUE
    remote_login_passwordfile=EXCLUSIVE
    this values are in the Registry and the init.ora and the init.ora.7192011143454 in ORAHOME_DB/scripts and pfile
    I've now changed these parameters in the init.ora and registry to:
    OS_AUTHENT_PREFIX = ""
    REMOTE_OS_AUTHENT=FALSE
    remote_login_passwordfile=EXCLUSIVE
    and restarted the whole system - after the restart I checked the value for REMOTE_OS_AUTHENT:
    show parameter remote_os_authent
    NAME TYPE VALUE
    remote_os_authent boolean TRUE
    It keeps true. But why it keeps true why I can't change this value anymore after the DBCA?
    Do I miss something?
    Thanks
    Edited by: ioGLNX on 22.08.2011 04:18

    show parameter spfile;
    NAME TYPE VALUE
    spfile string C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\SPFILEMACSCURR.ORA
    NAME TYPE VALUE
    I have created a new spfile from my init.ora with:
    create spfile='C:\oracle\product..toMyInstanceDbs\ioglnx.ora' from pfile='C:\pathToPfile\DBHOME\scripts\init.ora'
    So the problems as it seem to me to instrcut oracle to use my new spfile...in Windows.

Maybe you are looking for

  • Unable to ping device behind Cisco 3750 on the same inside VLAN via Cisco ASA 5505 Anyconnect VPN

    Hi Guys, I've been stuck with this for the last 2 days, and I thought to try and use Cisco's forum, I setup my home DC, and started having problems once I moved a Cisco 5505 behind a Cisco 1841 router (I wanted to eventually test DMVPN live on the in

  • Can't find computers or drives on local network

    I cannot find any networked computers or harddrives on my local network. I can connect to the internet through my timecapsule, but I cannot access it or any of the other computers (all macs) in the house, either wirelessly or wired. They do not show

  • W520 Win 8.1 Bluetooth LED

    Hi! Is it possible to switch off Bluetooth in Windows 8.1? Disabling it in device manager or in system settings seems not working(LED is still on).

  • Selecting images for "Save metadata to file"

    To improve performance we're being "encouraged" to turn off "Automatically write changes". Which means I now have many images scattered throughout the catalog that have metadata changes of some sort on a regular basis. I agree that with the automatic

  • Active Standby Plugin - E61

    I don't have Active Standby Plugin (Tools/Setting/Phone/Standby Mode) option in my Nokia E61. What shall I do to get it ?