Error 70 occurred when running WinSpool/400 Batch Report Server with Document Server
From Support
| | If you have a question or seek clarification, please call Technical Support. |
Problem:
Customer is running the WinSpool/400 Batch Report Server software with the Document Server in order to convert AFP reports to TIFF or PDF format. They are getting an error deleting Document Server files before and after processing. The error text is "ERROR: Document Server Work Files Were Not Deleted Normally Before Processing" or "ERROR: Document Server Work Files Were Not Deleted Normally After Processing". There is also a reference in the log entry that says: Error 70 - Permission Denied.
Solution:
Install Batch Report Server V2.0.48 or later on the Document Server PC. The Document Server was keeping an exclusive file lock on the downloaded report file which was causing the Batch Report Server to error out if the Document Server report files couldn't be deleted after download processing. Batch Report Server V2.0.48 attempts to address this issue by waiting for a specified number of seconds before or after processing. The new settings which can be set by editing the Batch Report Server INI file are listed below:
Batch Report Server INI File Name: C:\WSPBCH32\WSPCH32.INI
DeleteFileWaitSeconds=0
DeleteFileAfterWaitSeconds=0
You can specify the number of seconds to wait before and after processing each report.
