Professional Documents
Culture Documents
After DB Upgrade to 18c or Later, a PL/SQL Package that uses the UTL_FILE_DIR
Parameter now Fails with ORA-29280: invalid directory object (Doc ID 2740830.1)
In this Document
Symptoms
Cause
Solution
References
APPLIES TO:
SYMPTOMS
After database upgrade to 18c or later, a PL/SQL package that makes use of the UTL_FILE_DIR parameter now fails
with the following error:
CAUSE
The UTL_FILE_DIR parameter is no longer supported in 18c and above. Instead, a directory object must be created
and then users granted access to that directory object.
Reference:
SOLUTION
Create a directory using the CREATE DIRECTORY command and then grant users access to that directory.
For example, to create a directory for testing that all users have access to, you could execute the following commands: