Avatar of kiwifagan
kiwifagan
Flag for Australia

asked on 

System generating 0kb documents

Environment:  Windows 2012R2, and W2016; auto updates.  Business Application hasn't been updated in 4months. - happening on more than one site.
Tsplus is the RDP server application.

Problem:  Time of problem varies from site to site 3wks to 1 yr,  Application generates .pdf documents; e.g. invoices, quotes, statements either singularly or in a batch process, current fault happens in all pdf generated process'.
A Process, e.g. Invoices runs; create a 0kb .pdf, no errors displayed, then emails the .pdf to the customer; usually only found when the email receipient of the .pdf says can't open it.
Tried removing all .tmp files,    appdata\local\temp & appdata\roaming\"any rdp session files not deleted".
Stop Print Spooler / Remove any files in windows\system32\spool\printer\*.* / Start print spooler.
Sometimes allows the correct generation pf the .pdf file; occassionally works - mostly not.
If user logs out of the Application and RDP Session, (back to the PC desktop) login to Server via RDP then application and perform the print - works everytime.


My summation but can't grasp the answer, is: Logging out of the Session obviously terminates a process that is affecting the "Printing"

Does anyone have any suggestions as to how to identify the process &  recitification.

Thank you for reading this.
PDFWindows OSWindows Server 2012Remote AccessMicrosoft Server OS

Avatar of undefined
Last Comment
Steve

8/22/2022 - Mon