I am getting the following error when running any report samples while using Studio Live Examples. This error only happens when the default printer is set to: Microsoft Office Document Image Writer. If I set it to a network printer then it works find, but takes a very long time to generate.
I am using Studio Live Examples Build 2.0.20071.15
Reports for .Net 2.0 is 2.5.20071.231
Preview for .Net 2.0 is 2.0.20071.41114
A generic error occurred in GDI+.
at System.Drawing.Imaging.Metafile..ctor(IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type, String description)
at System.Drawing.Imaging.Metafile..ctor(IntPtr referenceHdc, RectangleF frameRect, MetafileFrameUnit frameUnit, EmfType type)
at C1.Util.d.i(Stream A_0, SizeF A_1, MetafileFrameUnit A_2, EmfType A_3)
at C1.Util.d.k(SizeF A_0)
at C1.Win.C1Report.Layout.i(Int32 A_0)
at C1.Win.C1Report.Layout.v()
at C1.Win.C1Report.C1Report.x()
at C1.Win.C1Report.C1Report.aa()
at C1.Win.C1Report.C1Report.Render()
at C1.Win.C1Report.o.aj(PrintEventArgs A_0)
at System.Drawing.Printing.PrintDocument._OnBeginPrint(PrintEventArgs e)
at System.Drawing.Printing.PrintController.Print(PrintDocument document)
at System.Drawing.Printing.PrintDocument.Print()
at j.i()
at j.d()
at C1.Win.C1Preview.C1PreviewPane.a(Object A_0)
at C1.Win.C1Preview.C1PreviewPane.set_Document(Object value)
at C1.Win.C1Preview.C1PrintPreviewControl.set_Document(Object value)
at Demo.C1Report.CommonTasks.CommonTasks_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at C1.Demo.C1DemoForm.OnLoad(EventArgs e)
We currently are developing/Supporting a VB.NET application that uses ComponentOne Preview and Reports. Our developers machines only have access to network printers so we are defaulting our environment to use the Microsoft Office Document Image writer inorder to generate the report much faster. This problem did not show until we upgraded to 2007 version.
Any help or suggestions would be very greatfull
Mike N