Page 1 of 1

Constructor Exception

Posted: Fri Dec 07, 2012 4:30 pm
by xss
Hello,

we've upgraded to the latest version available 2012.3.1500.0 (dotnet framework 4) and from this point on, an exception occurs in the InitializeComponent method. This only happens, if the application is directly startet (without visual studio, ...). Our application was compiled in release mode.

Type: NullReferenceException
Source: Stimulsoft.Report.Win
Additional:
Stack Trace: at Stimulsoft.Report.Viewer.StiViewerControl.set_PageViewMode(StiPageViewMode value)
at Xss.AIDA_Touch.POS.WFPrintManagement.InitializeComponent()
at Xss.AIDA_Touch.POS.WFPrintManagement..ctor()
at Xss.AIDA_Touch.POS.WFMain.Printing_ShowPrintPreview(Object sender, ShowPrintPreviewEventArgs e)
at Xss.AIDA_Touch.BL.Printing.OnShowPrintPreview(ShowPrintPreviewEventArgs e)
at Xss.AIDA_Touch.BL.Printing.ProcessPrintJob(PrintJob pJob, PrintPreviewEnum printPreview)

Thank you.

Re: Constructor Exception

Posted: Mon Dec 10, 2012 6:23 am
by HighAley
Hello.
xss wrote:we've upgraded to the latest version available 2012.3.1500.0 (dotnet framework 4) and from this point on, an exception occurs in the InitializeComponent method. This only happens, if the application is directly startet (without visual studio, ...). Our application was compiled in release mode.

Type: NullReferenceException
Source: Stimulsoft.Report.Win
Additional:
Stack Trace: at Stimulsoft.Report.Viewer.StiViewerControl.set_PageViewMode(StiPageViewMode value)
at Xss.AIDA_Touch.POS.WFPrintManagement.InitializeComponent()
at Xss.AIDA_Touch.POS.WFPrintManagement..ctor()
at Xss.AIDA_Touch.POS.WFMain.Printing_ShowPrintPreview(Object sender, ShowPrintPreviewEventArgs e)
at Xss.AIDA_Touch.BL.Printing.OnShowPrintPreview(ShowPrintPreviewEventArgs e)
at Xss.AIDA_Touch.BL.Printing.ProcessPrintJob(PrintJob pJob, PrintPreviewEnum printPreview)
We couldn't reproduce your issue.
Did you try to reproduce this issue in Visual Studio. Is it OK?
Could you send us a sample project which reproduces the issue?

Thank you.

Re: Constructor Exception

Posted: Mon Dec 10, 2012 11:45 am
by xss
Well, on our development workstations everything is fine. I guess, this only happens on workstations where Stimulsoft Reports.Net isn't installed.

Sample project attached.

Re: Constructor Exception

Posted: Tue Dec 11, 2012 7:32 am
by HighAley
Hello.

There was a problem in our release.
Please, try to download the release file again.

Thank you.

Re: Constructor Exception

Posted: Tue Dec 11, 2012 9:56 am
by xss
Thank you for the information Aleksey. Could you provide me a download link for the .Net Framework 4 Version?

Re: Constructor Exception

Posted: Wed Dec 12, 2012 6:09 am
by Jan
Hello,

You can get it in your registered users area account.

Thank you.

Re: Constructor Exception

Posted: Wed Dec 12, 2012 10:23 am
by xss
Hello Jan,

1) The file in the registered users download area is still the same with date 12/03/2012.
2) As mentioned above, we need the assemblies compiled with .Net Framework 4.

Thank you.

Re: Constructor Exception

Posted: Wed Dec 12, 2012 12:03 pm
by HighAley
Hello.

If you need the assemblies compiled for .Net Framework 4, you should write a request to support@stimulsoft.com.

Thank you.