Page 1 of 1

Render report error assembly missing Stimulsoft.report.win

Posted: Thu Sep 10, 2009 7:17 am
by Almighty
Hello,

I am trying to create a report but i get an error "Assembly 'Stimulsoft.Report.Win' is not found".
When i debug my code it will broke on report.render().

StiReport report = new StiReport();
report.Load(appDirectory + "\\App_Data\\MyReport.mrt");
report.Dictionary.Synchronize();

DataSet ds = new DataSet();
ds.ReadXml(appDirectory + "\\App_Data\\xmlBook.xml");
ds.ReadXmlSchema(appDirectory + "\\App_Data\\xsdBook.xsd");

report.RegData(ds);
report.Render();
StiPdfExportService pdfExport = new StiPdfExportService();

pdfExport.ExportPdf(report, appDirectory + "\\App_Data\\TestDocument.pdf");

So I thought i will add a reference to Stimulsoft.Report.Win and problem solved, but I still get the same message and i really dont know why. I also added to my GAC and registry.
Nothing could solve my problem. I dont use some previewing or desgining tools, i just want to get a report in PDF based on my template and data in XML.

Someone know a solution?

regards,

Render report error assembly missing Stimulsoft.report.win

Posted: Thu Sep 10, 2009 8:49 am
by Almighty
Please anyone ?

Render report error assembly missing Stimulsoft.report.win

Posted: Thu Sep 10, 2009 10:00 am
by Almighty
I don't use an aspx file for presentation. I guess there is an relation between those. Because if i use a form webpage it works.

greet.

Render report error assembly missing Stimulsoft.report.win

Posted: Thu Sep 10, 2009 7:57 pm
by Edward
Hi

Please change report.Render(); as report.Render(false);

Thank you.