We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

PDF error

Thread ID:

Created:

Updated:

Platform:

Replies:

96155 Aug 25,2010 04:16 AM UTC Aug 26,2010 08:55 AM UTC ASP.NET Web Forms (Classic) 2
loading
Tags: PDF
Ani
Asked On August 25, 2010 04:16 AM UTC

Hi Guys,

I am facing few PDF issues intermittently. The exception message is pasted below.

1. Invalie regions set at Syncfusion.Pdf.Graphics.Images.Metafiles.TextRegionManager.GetTopCoordinate(Single y)
at Syncfusion.Pdf.Graphics.MetafileLayouter.CheckCorrectCurrentBounds(PdfPage currentPage, RectangleF currentBounds, RectangleF shapeLayoutBounds, PdfLayoutParams param)
at Syncfusion.Pdf.Graphics.ShapeLayouter.LayoutOnPage(PdfPage currentPage, RectangleF currentBounds, RectangleF shapeLayoutBounds, PdfLayoutParams param)
at Syncfusion.Pdf.Graphics.ShapeLayouter.LayoutInternal(PdfLayoutParams param)
at Syncfusion.Pdf.Graphics.ShapeLayouter.LayoutInternal(HtmlToPdfLayoutParams param)
at Syncfusion.Pdf.Graphics.ElementLayouter.Layout(HtmlToPdfLayoutParams param)
at Syncfusion.Pdf.Graphics.PdfMetafile.Layout(HtmlToPdfLayoutParams param)
at Syncfusion.Pdf.Graphics.PdfLayoutElement.Draw(PdfPage page, Single[] Top, PdfLayoutFormat format)
at Syncfusion.Pdf.HtmlToPdf.HtmlToPdfResult.DrawMetaFile(PdfPageBase page, PdfMetafileLayoutFormat format)
at Syncfusion.Pdf.HtmlToPdf.HtmlToPdfResult.Render(PdfPageBase page, PdfMetafileLayoutFormat format)



2. Error HRESULT E_FAIL has been returned from a call to a COM component. at Syncfusion.HtmlConverter.Natives.IWebBrowser2.Navigate(String URL, Object& Flags, Object& TargetFrameName, Object& PostData, Object& Headers)
at Syncfusion.HtmlConverter.Natives.AxWebBrowser.Navigate(String uRL, Object& flags, Object& targetFrameName, Object& postData, Object& headers)
at Syncfusion.HtmlConverter.HtmlConverter.FromString(String html, String baseUrl, ImageType type)
at Syncfusion.HtmlConverter.HtmlConverter.FromString(String html, String baseUrl, ImageType type, Int32 width)
at Syncfusion.HtmlConverter.HtmlConverter.FromString(String html, String baseUrl, ImageType type, Int32 width, Int32 height)
at Syncfusion.HtmlConverter.HtmlConverter.FromString(String html, String baseUrl, ImageType type, Int32 width, Int32 height, AspectRatio aspectRatio)
at Syncfusion.HtmlConverter.HtmlConverter.Convert(String html, String baseurl, ImageType type, Int32 width, Int32 height, AspectRatio aspectratio)

Please help me to solve this

Thanks

Ani
Replied On August 25, 2010 07:11 AM UTC

Please reply to my earlier post.. The issue mentioned above is happening in our production server

Angappan G [Syncfusion]
Replied On August 26, 2010 08:55 AM UTC

Hi Anil,

Thank you for your interest in Essential Studio.

1.” Invalid regions set at Syncfusion.Pdf.Graphics.Images.Metafiles.TextRegionManager.GetTopCoordinate(Single y)” exception:

We are unable to reproduce the issue on our side, could you please provide us the sample in which you are facing the issue, this will help us a lot in further investigating the issue.

2. “Error HRESULT E_FAIL has been returned from a call to a COM component”

Please include the attribute AspCompat='true' in the @Page directive.

Here is the code snippet

[Aspx]
<%@ Page Language='VB' AutoEventWireup='false' AspCompat='true' %>

Please try this and let us know if you have any queries.

Regards,
Angappan.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;