After calling SalReportPrintToFile() the programm doesn't respond anymore.
I can see the PDF File is generated with 0 byte size. I have to kill the program with task manager afer that.
This happens on some windows servers. On workstations it's always working fine... on some other servers it's also working fine..
I don't have idea how to Debug this. When I call SalReportPrintToFile or SalReportPrintToFileEx it just freezes after creating 0 byte PDF and I don't get any error message.
Running as Administrator doesn't change anything.
Are there known bugs with this function?
SalReportPrintToFile and 0 byte PDFs
SalReportPrintToFile and 0 byte PDFs
Last edited by memic on 27 Feb 2018, 10:14, edited 1 time in total.
Re: SalReportPrintToFile and 0 byte PDFs
Hi,
so far I know is the "Microsoft XPS Document Writer" Printer necessary.
(Starting with TD 6.?. I believe TD 5.? works without this printer)
I know that, because one System Administrator deleted this Printer and after that
my app was also freezing on creating pdfs.
Enrico
so far I know is the "Microsoft XPS Document Writer" Printer necessary.
(Starting with TD 6.?. I believe TD 5.? works without this printer)
I know that, because one System Administrator deleted this Printer and after that
my app was also freezing on creating pdfs.
Enrico
Re: SalReportPrintToFile and 0 byte PDFs
Thanks, I'll check this.
I'm using TD 7.0.2
I'm using TD 7.0.2
Re: SalReportPrintToFile and 0 byte PDFs
Thanks Enrico
The Problem was the XPS Writer from Microsoft....
If there is an error in the printer's queue.. all the other jobs aren't being executed... In my case there was a 6 months old error there

After cleaning that up it is working fine.

The Problem was the XPS Writer from Microsoft....
If there is an error in the printer's queue.. all the other jobs aren't being executed... In my case there was a 6 months old error there


After cleaning that up it is working fine.
Who is online
Users browsing this forum: [Ccbot] and 0 guests