Render report error assembly missing Stimulsoft.report.win

Stimulsoft Reports.NET discussion
Post Reply
Almighty
Posts: 7
Joined: Mon Sep 07, 2009 6:26 am

Render report error assembly missing Stimulsoft.report.win

Post 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,
Almighty
Posts: 7
Joined: Mon Sep 07, 2009 6:26 am

Render report error assembly missing Stimulsoft.report.win

Post by Almighty »

Please anyone ?
Almighty
Posts: 7
Joined: Mon Sep 07, 2009 6:26 am

Render report error assembly missing Stimulsoft.report.win

Post 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.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Render report error assembly missing Stimulsoft.report.win

Post by Edward »

Hi

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

Thank you.
Post Reply