Page 1 of 1

Print failed on Windows 2008 R2

Posted: Wed Feb 11, 2015 8:40 am
by tomer.p
Hello,
From time to time I got the following exception on client site :
System.NullReferenceException: Object reference not set to an instance of an object.
at Stimulsoft.Base.StiExceptionForm..ctor(Exception exception)
at Stimulsoft.Base.StiExceptionProvider.Show(Exception exception)
at Stimulsoft.Report.Print.StiPrintProvider.Print(StiReport report, Boolean showPrintDialog, Int32 fromPage, Int32 toPage, Int16 copies, PrinterSettings printerSettings)
at Stimulsoft.Report.StiReport.Print(Boolean showPrintDialog, Int32 fromPage, Int32 toPage, Int16 copies, PrinterSettings printerSettings)
at Stimulsoft.Report.StiReport.Print(Boolean showPrintDialog, PrinterSettings printerSettings)

Stimul version : 2011.2.1013.0
Windows: 2008 R2

How can I get more details about this exception ?
--------------------------------------------------------------------------
The Printer is valid (PrinterSettings.IsValid == True)
The windows user that print is administrator with full permissions (running as windows service).
When I try to print to the same printer from notepad for example , there is no problem .
When I try reprint from stimul again after some minutes, there is usually no problem .
I looks like the Stimul exception is related to print load on server (more printing at the same time (no multi threads, by different process) => more exceptions).

Thanks,
Tomer

Re: Print failed on Windows 2008 R2

Posted: Wed Feb 11, 2015 1:26 pm
by HighAley
Hello.

There was a lot of improvements in this way.
Please, try our latest build.

Thank you.