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.
Unfortunately, activation email could not send to your email. Please try again.

HtmlToPdf with Gecko

Thread ID:

Created:

Updated:

Platform:

Replies:

115380 Jan 14,2014 05:53 AM Jan 24,2014 06:09 AM Windows Forms 4
loading
Tags: PDF
Ralf Anacker
Asked On January 14, 2014 05:53 AM

Hi,

must convert html-files to pdf. I have attempted with this sample: http://help.syncfusion.com/ug/asp.net/pdf/default.htm#!documents/htmltopdfconversionu.htm
But everytime my application raise the error "Syncfusion.GeckoHtmlRenderer.Base, Version=11.4350.0.26, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" can not be find.

Can everybody help me?

Best regards Ralf


HTMLToPDF_2a8f35d7.zip

KarthikeyanC [Syncfusion]
Replied On January 19, 2014 11:04 PM

Hi Ralf,

Thank you for using Syncfusion Products.

Before we use Gecko we have to register GeckoWrapper.dll in the server.

 

Please make use of the SDK (shipped with install) available in the following location to register the assembly.

C:\Program Files\Syncfusion\Essential Studio\10.1.0.44\XulRunner-2.0.sdk\bin\

GeckoWrapper.dll is built in debug mode and it requires ATL90.dll & msvcr90d.dll to be present in the machine. Being debug assemblies, these cannot be shipped using xcopy method of deployment. Hence it is required to install VC++ 2008 (SP1) Express edition alone in the server.

Here are the steps to follow:

1.    Install Visual C++ 2008 Express Edition with SP1 from the following link:

http://www.microsoft.com/en-in/download/details.aspx?id=14597

2.    Copy the XulRunner-2.0.sdk to the server.

3.    Register the Syncfusion.GeckoWrapper.dll using the following command in command prompt:

regsvr32 Syncfusion.GeckoWrapper.dll

Please let us know if you have any questions.

Thanks,

Karthikeyan.C

 


Ralf Anacker
Replied On January 20, 2014 05:50 AM

Hi Karthikeyan,

thank you very much for your answer. Now i have 2 questions:

First: Can i use a newer Version from xul-Runner?
Second: The download-link for Visual C++ dosn't work. Must i install the express-edition when i have installed VS2008 Professional?

Best reagards Ralf

Ralf Anacker
Replied On January 21, 2014 01:04 AM

Hi Karthikeyan,

now i have installed visual c++ 2010. The registration was succesfully, but now i have another error.
In attachment you can find an image with this message.

Best regards Ralf


Error_sync_gecko_d6f2e4fa.zip

KarthikeyanC [Syncfusion]
Replied On January 24, 2014 06:09 AM

Hi Ralf,

Thank you for using Syncfusion Products.

GeckoWrapper.dll is built in debug mode and it requires ATL90.dll & msvcr90d.dll to be present in the machine. Being debug assemblies, these cannot be shipped using xcopy method of deployment. Hence it is required to install VC++ 2008 (SP1) Express edition alone in the server. Then register the Syncfusion.GeckoWrapper.dll

And please let us know why you prefer Gecko engine over MSHTML rendering Engine for converting HTML to PDF.

Thanks,

Karthikeyan.C


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.

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.

;