My Oracle Support Banner

INVALID_OPERATION Exception from UTL_FILE when Writing to/from Network Drive on Windows (Doc ID 1034188.6)

Last updated on JULY 05, 2017

Applies to:

PL/SQL - Version 9.2.0.8 and later
Microsoft Windows (32-bit)
***Checked for relevance on 2nd Aug 2016***

Symptoms

On the Windows platform, the UTL_FILE package may raise the INVALID_OPERATION exception when attempting to write to, or read from, a network drive.

If the exception is not handled, then the following error is received:

ERROR at line 1:
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "SYS.UTL_FILE", line 98
ORA-06512: at "SYS.UTL_FILE", line 157
ORA-06512: at "SCOTT.MYFILE", line 9
ORA-06512: at line 1

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.