Print failed on Windows 2008 R2

Stimulsoft Reports.NET discussion
Post Reply
tomer.p
Posts: 1
Joined: Wed Feb 11, 2015 8:11 am

Print failed on Windows 2008 R2

Post 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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Print failed on Windows 2008 R2

Post by HighAley »

Hello.

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

Thank you.
Post Reply