Page 1 of 1

Exception Constructer 'StiWinDialogsProvider' not found

Posted: Thu Feb 28, 2013 9:20 am
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?

Re: Exception Constructer 'StiWinDialogsProvider' not found

Posted: Thu Feb 28, 2013 9:23 am
by Alex K.
Hello,

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

Thank you.

Re: Exception Constructor 'StiWinDialogsProvider' not found

Posted: Thu Feb 28, 2013 9:31 am
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.

Re: Exception Constructer 'StiWinDialogsProvider' not found

Posted: Thu Feb 28, 2013 9:33 am
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);

Re: Exception Constructer 'StiWinDialogsProvider' not found

Posted: Thu Feb 28, 2013 12:12 pm
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.