Skip to Main Content

Oracle Database Express Edition (XE)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to get UTL File to work on XE 10G

Ryansun-OracleDec 6 2012 — edited Dec 6 2012
Version : XE 10g
OS: XP


Hi There,

I have done this many times in the past including the current machine/OS, but for some reason I just cannot get UTL File to work this time! Please help.

I installed ORacle xe 10g after a OS crash. Everything went through successfully and my applicaitions are up and running, except for the UTL file

I created a directory C:\ORALOAD

I then logged into SQL plus command prompt (XE menu)
connect sys/password as sysdba

grant execute on UTL_FILE to public;
grant execute on UTL_FILE to HR;

I then ran

create directory ORALOAD as 'C:\ORALOAD';
grant all on ORALOAD to Public ;
grant all on ORALOAD to HR ;

HEre is my Procedure. I keep getting a invalid directory error. I also, checked the permissions on the files and look okay. This had been working for years. Not sure, what I am doing wrong this time around!

Thanks,
Ryan

Edited by: ryansun on Dec 6, 2012 10:31 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 3 2013
Added on Dec 6 2012
4 comments
254 views