Exception Constructer 'StiWinDialogsProvider' not found

Stimulsoft Reports.NET discussion
Post Reply
faddoul.antoine
Posts: 16
Joined: Mon Sep 24, 2012 7:08 am

Exception Constructer 'StiWinDialogsProvider' not found

Post by faddoul.antoine »

Hi,

I am using Stimulsoft version 2012.2.1400.0 and using the following code to export my report:

MyReport objMyReport = new MyReport ();
objMyReport.X= "1";
objMyReport.Y = "Y";
objMyReport.Z = "Z";
objMyReport.Render(false);


on Render method I am always getting the following exception:
Constructor on type 'Stimulsoft.Report.Dialogs.StiWinDialogsProvider' not found


Any idea?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Exception Constructer 'StiWinDialogsProvider' not found

Post by Alex K. »

Hello,

Can you please send us a sample project which reproduces the issue for analysis.

Thank you.
faddoul.antoine
Posts: 16
Joined: Mon Sep 24, 2012 7:08 am

Re: Exception Constructor 'StiWinDialogsProvider' not found

Post by faddoul.antoine »

You can find attached the report file I am using.
The code I have is used is the same already sent in the previous post.

Thank you.
Attachments
TransactionLogReport (2).mrt
(11.01 KiB) Downloaded 240 times
faddoul.antoine
Posts: 16
Joined: Mon Sep 24, 2012 7:08 am

Re: Exception Constructer 'StiWinDialogsProvider' not found

Post by faddoul.antoine »

Please use the below code:

TransactionLogReport objTransactionLogReport = new TransactionLogReport();
objTransactionLogReport.MTCN = "MTCN";
objTransactionLogReport.SubAgentName = "SubAgentName";
objTransactionLogReport.DateRange = string.Concat("FromDate", " To ", "ToDate");
objTransactionLogReport.Render(false);
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Exception Constructer 'StiWinDialogsProvider' not found

Post by Alex K. »

Hello,

Please try to use the following code:

Code: Select all

objTransactionLogReport["MTCN"] = "MTCN";
objTransactionLogReport["SubAgentName"] = "SubAgentName";
objTransactionLogReport["DateRange"] = string.Concat("FromDate", " To ", "ToDate");
Thank you.
Post Reply