Constructor Exception

Stimulsoft Reports.NET discussion
Post Reply
xss
Posts: 64
Joined: Wed Jun 10, 2009 3:03 am
Location: Austria

Constructor Exception

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

Re: Constructor Exception

Post 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.
xss
Posts: 64
Joined: Wed Jun 10, 2009 3:03 am
Location: Austria

Re: Constructor Exception

Post 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.
Attachments
Release.zip
(3.13 MiB) Downloaded 543 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Constructor Exception

Post by HighAley »

Hello.

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

Thank you.
xss
Posts: 64
Joined: Wed Jun 10, 2009 3:03 am
Location: Austria

Re: Constructor Exception

Post by xss »

Thank you for the information Aleksey. Could you provide me a download link for the .Net Framework 4 Version?
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Re: Constructor Exception

Post by Jan »

Hello,

You can get it in your registered users area account.

Thank you.
xss
Posts: 64
Joined: Wed Jun 10, 2009 3:03 am
Location: Austria

Re: Constructor Exception

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

Re: Constructor Exception

Post by HighAley »

Hello.

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

Thank you.
Post Reply