My Oracle Support Banner

REP-50159 REP-50127 When Attempting to Run a Report Output File to a Mapped Drive (Doc ID 1204069.1)

Last updated on FEBRUARY 24, 2019

Applies to:

Oracle Reports Developer - Version and later
Oracle Daybreak - Version 11.6 to 11.6 [Release 11]
Generic Windows


With Reports:  From a Windows environment, when attempting to write a report output file to a mapped drive from the in-process report server or a stand alone report server managed by OPMN, the following error occurs.

REP-50159: Executed successfully but there were some errors when distribute the output
REP-50127: File : Cannot write into file

The issue can be reproduced at will with the following steps:

1. Run a report to an output file and specify the mapped drive letter/directory (Example: desname=Z:\output.pdf ) as the file location.
2. The report request fails with the documented errors.
3. If a local drive is specified, the report completes without error.
4. If the report output is sent to the mapped drive and the UNC syntax is specified (Example. desname=\\ipaddress\Directory\output.pdf), the report completes without error.
5. The errors occur if the OPMN Windows Service Properties is set to "Log On" as "Local System account" or "This Account" and set to the Administrator user that installed the software.


Attempting to write report output files to a mapped drive on a Windows platform.


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

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