Rank: Newbie Groups: Member
Joined: 3/6/2014 Posts: 2
|
I am new to essential objects. So, I tried the sample for aspx.net to pdf and got this error. Why am I getting this? I am testing this on my localhost web server. Thanks
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
Can you post the full stack trace?
Thanks!
|
Rank: Newbie Groups: Member
Joined: 3/6/2014 Posts: 2
|
Thank you for your quick response. Like I said, I am new to this product. I really would like to use it if I can get it to work.
All I have on the page is a paragraph tag and button, nothing else.
Here is the stack trace.
[ArgumentException: Font 'Arial' does not support style 'Regular'.] System.Drawing.Font.CreateNativeFont() +1150500 System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont) +153 System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont) +85 System.Drawing.Font..ctor(String familyName, Single emSize, FontStyle style, GraphicsUnit unit) +56 EO.Pdf.Internal.j9.a(Single A_0) +147 EO.Pdf.Internal.ep.a(j9 A_0) +324 EO.Pdf.Internal.ep.b(j9 A_0) +177 EO.Pdf.Drawing.PdfFont..ctor(j9 A_0, Single A_1) +30 EO.Pdf.Drawing.PdfFont..ctor(String fontName, Single fontSize, FontStyle fontStyle) +73 EO.Pdf.Contents.PdfContentContainer.k() +374 EO.Pdf.PdfDocument.a() +241 EO.Pdf.PdfDocument.Save(Stream stream) +18
[TargetInvocationException: Exception has been thrown by the target of an invocation.] System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +92 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +108 EO.Web.Internal.df.a(Object A_0, Stream A_1) +65 EO.Web.ASPXToPDF.a(String A_0, Stream A_1) +149 EO.Web.Internal.mu.a(b[] A_0) +52 EO.Web.Internal.a.Close() +28 System.Web.HttpWriter.Filter(Boolean finalFiltering) +367 System.Web.HttpResponse.FilterOutput() +118 System.Web.CallFilterExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +49 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
This indicates a problem with the "Arial" font on your system. Please go to your Windows/Fonts to check whether you have "Arial Regular" font. If you have it, you may want to uninstall it and reinstall it.
Thanks!
|