using System; using System.Collections.Generic; using System.Text; using DataDynamics.ActiveReports.Export.Pdf;
namespace Test { class Program { static void Main( string [] args) { ActiveReport1 report1 = new ActiveReport1 (); report1.Run(); PdfExport export = new PdfExport (); export.Export(report1.Document, @"c:\temp\test4.pdf" ); } } } The report -- "ActiveReport1" in the code sample above -- is a completely blank report. This shows, I think, that there is nothing in the report that's causing this problem. Has anyone else had this error? Is there a fix or work-around? Thanks for your help.
I just ran into this problem. It appears that this error is being reported by the MDA (Managed Debugging Assistants). If I run my application natively, outside the IDE debug environment, it works fine. There is still a problem, but at least you may be able to get around it by not using debug.