Printing C21 reports from workstation, Btrieve error
Posted: February 20th, 2012, 12:13 am
Printing C21 reports from workstations on a LAN, user receives
"Btrieve error: I/O error" from all workstations due to embedded blank in path.
Resolution/Workaround
The errors are caused by an embedded blank in the path due to
the mapping of the workstations to the C21 installation on the
server. The reports print from the server (where C21 is installed).
From workstations, the following errors are generated:
1. Btrieve error: I/O error.
2. Error opening file. File could not be opened: "<FILENAME>",
at file location: "pathToCompany/<filename>.btr"
3. Unable to get last error from CRW on an error return from
start print job. Do you want to see more detail?
4. Error: unable to get last error from CRW on an error return
from start print job.
Error: error while starting print job for report filename.rpt
Error: print engine reported error Error detected by database
DLL. (534) at location PEClosePrintJob
The customer's path to the data was: "\\server\server c\c21\data\Company."
The embedded blank in the drive volume "server c" seemed to cause
the problem. In this case, on each workstation, the customer mapped
drive E: to "\\server\server c" thus making the path from the workstation
"E:\c21\data\Company" which causes reports to print correctly from the
workstations.
The user should check the "Reconnect at logon" checkbox to maintain
the correct mapping.
"Btrieve error: I/O error" from all workstations due to embedded blank in path.
Resolution/Workaround
The errors are caused by an embedded blank in the path due to
the mapping of the workstations to the C21 installation on the
server. The reports print from the server (where C21 is installed).
From workstations, the following errors are generated:
1. Btrieve error: I/O error.
2. Error opening file. File could not be opened: "<FILENAME>",
at file location: "pathToCompany/<filename>.btr"
3. Unable to get last error from CRW on an error return from
start print job. Do you want to see more detail?
4. Error: unable to get last error from CRW on an error return
from start print job.
Error: error while starting print job for report filename.rpt
Error: print engine reported error Error detected by database
DLL. (534) at location PEClosePrintJob
The customer's path to the data was: "\\server\server c\c21\data\Company."
The embedded blank in the drive volume "server c" seemed to cause
the problem. In this case, on each workstation, the customer mapped
drive E: to "\\server\server c" thus making the path from the workstation
"E:\c21\data\Company" which causes reports to print correctly from the
workstations.
The user should check the "Reconnect at logon" checkbox to maintain
the correct mapping.