Skip to Main Content

SQL & PL/SQL

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!

ORA-29913

DBeltOct 27 2008 — edited Oct 29 2008
<p>
When I try to read an external table I am getting the error



ORA-29913: error in executing ODCIEXTTABLEOPEN callout

ORA-29400: data cartridge error error opening file E:\OracleDB\FDRSDB\FDRSDB_Log\log_access_level_lookup.log

This file (and others similar to it) have been working for me for over a year. The problem seems to have started when I tried creating a new schema with the goal of being able to recreate the old schema by running script files and so forth. This process did include dropping the directory objects and creating them again from within the new schema. I changed this to using CREATE OR REPLACE after I realized I could do that instead but this did not happen until after trying the DROP then CREATE procedure first.


I have seen from previous questions that there may be a permissions problem but I checked those and the schema does have read and write privileges to the objects. The OS (Windows) file access permissions are also correct.


This is not a problem with a specific table; it is happening with all of the external files in the schema (similar to the following sample).


Oracle DB version is 11g running on Windows 2000.


Any ideas?


For what it's worth, the table and directory definitions are as follows:


CREATE TABLE ext_access_level_lookup
(
access_level VARCHAR2(7)
)
Organization external
( type oracle_loader
default directory FDRSDB_DUMP_DIR
access parameters
( recored delimited by newline
badfile fdrsdb_log_dir:bad_access_level_lookup
logfile fdrsdb-log_dir:log_access_level_lookup
fields terminate by &lsquo;|'
rtrim
( access_level
)
)
Location (&lsquo;access_level_lookup.dmo')
)
Directories are:
</p>


<p>
FDRSDB_DUMP_DIR &lsquo;E:\OracleDB\FDRSDB\FDRSDB_Dumps'
FDRSDB_LOG_DIR &lsquo;E:\OracleDB\FDRSDB\FDRSDB_Log'
</p>

Edited by: user556531 on Oct 27, 2008 1:08 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 26 2008
Added on Oct 27 2008
8 comments
2,944 views