Question
Virtusa
CA
Last activity: 21 Aug 2019 11:42 EDT
Error while generating Excel - Access denied to explicittempdir
This is Pega 8.2.2 version
This is occuring for a new on-prem Pega installation.
When generating a simple Excel file, using the pxGenerateExcelFile OOTB activity, the below exception is observed in the logs:
Failed to generate excel...This is in fact a different exception java.nio.file.AccessDeniedException with message: C:\CIA_8686\explicittempdir\StaticContent\global\ServiceExport\FileName.xlsx
The exact failure is in Step 4 of this activity in the below Java code snippet:
java.io.OutputStream os = new PROutputStream(new PRFile(xlFileName));
Note that the attached logs contain app developer comments added for DEBUGGING purposes only
Steps to Reproduce
Use pxGenerateExcelFile to generate an Excel from a simple Clipboard Page
This is Pega 8.2.2 version
This is occuring for a new on-prem Pega installation.
When generating a simple Excel file, using the pxGenerateExcelFile OOTB activity, the below exception is observed in the logs:
Failed to generate excel...This is in fact a different exception java.nio.file.AccessDeniedException with message: C:\CIA_8686\explicittempdir\StaticContent\global\ServiceExport\FileName.xlsx
The exact failure is in Step 4 of this activity in the below Java code snippet:
java.io.OutputStream os = new PROutputStream(new PRFile(xlFileName));
Note that the attached logs contain app developer comments added for DEBUGGING purposes only
Steps to Reproduce
Use pxGenerateExcelFile to generate an Excel from a simple Clipboard Page
Error Message
Failed to generate excel...This is in fact a different exception java.nio.file.AccessDeniedException with message: C:\Tomcat\explicittempdir\StaticContent\global\ServiceExport\FileName.xlsx
***Edited by Moderator: Lochan to include version information***