B2023-022, B2023-023 PROMS was prematurely deleting a temporary pdf file. The file will be deleted once the entire procedure is finished printing
This commit is contained in:
parent
48d395f5be
commit
eb48009f5c
@ -898,11 +898,14 @@ namespace VEPROMS.CSLA.Library
|
|||||||
fs.Read(buf, 0, buf.Length);
|
fs.Read(buf, 0, buf.Length);
|
||||||
fs.Close();
|
fs.Close();
|
||||||
|
|
||||||
try
|
// B2023-022 & B2023-023 commented out the deletion of the temporary Word section PDF file
|
||||||
{
|
// These files are deleted when the procedure pdf file is closed after being generated.
|
||||||
pdfFile.Delete();
|
// PROMS was crashing because it could not find these temporary files to delete.
|
||||||
}
|
//try
|
||||||
catch { }
|
//{
|
||||||
|
// pdfFile.Delete();
|
||||||
|
//}
|
||||||
|
//catch { }
|
||||||
|
|
||||||
using (Document doc = docInfo.Get())
|
using (Document doc = docInfo.Get())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user