PeopleSoft Error Crystal Reports Print Engine error text: Error in File e:\XX\XX.rpt: Access to report file denied. Another program
Problem:
PeopleSoft Crystal Report was not processing and error out. Looking at the message log I noticed the following messages:
Crystal Reports Print Engine error text: Error in File e:\ptools849\psofthcm\crw\eng\pbc_0004.rpt:
Access to report file denied. Another program
looking at the crystal trace file to view more detailed information I noticed:
4 328 37007 05/07/10 10:04:02 Using report: E:\PTOOLS849\PSOFTHCM\CRW\ENG\PBC_0004.RPT
5 328 37007 05/07/10 10:04:02 About to RunReport()
6 328 37007 05/07/10 10:04:02 About to open print engine
7 328 37007 05/07/10 10:04:02 Print engine opened. About to open job
8 328 37007 05/07/10 10:04:03 Job opened
9 328 37007 05/07/10 10:04:03 Logon info set
10 328 37007 05/07/10 10:04:03 Parameters: -CTORACLE -CDHCMPRD -COHHARVEY -CPUnavailable -I37007 -RP”PBC_0004″ -OT6 -OP\\server\files\Departments\Finance\Payroll\xxx\xx\x\file-20100507 -LGENG.txt -OF14 -ORIENTL
Resolution:
The report file did exist and access was granted to the report file. However, the output path of the crystal report was on the network share. I had to grant access to the process scheduler service account to write the output file.
Tags: PeopleSoft