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

HtmlConverter.convert fails on Win2008 Server

Thread ID:





89994 Sep 13,2009 05:00 PM UTC Sep 23,2009 02:15 PM UTC ASP.NET Web Forms (Classic) 6
Tags: PDF
Igor Ivanov
Asked On September 13, 2009 05:00 PM UTC

When we deploy our conversion code to production server, using Windows Server 2008 - our code gives following error:

Line of code that fails:
HtmlToPdfResult result = html.Convert("http://google.com", ImageType.Metafile, (int)width, -1, AspectRatio.KeepWidth);

MESSAGE: Exception of type 'System.Web.HttpUnhandledException' was thrown.

STACK TRACE: at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.Util.AspCompatApplicationStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Thiruvenkadam E [Syncfusion]
Replied On September 15, 2009 12:14 PM UTC

Hi Igor,

Thank you for your interest in Syncfusion products.

We are currently working on this and we will update the status of the same on or before 16th September 2009.

Please let us know if you need any further information.


Igor Ivanov
Replied On September 15, 2009 02:26 PM UTC

I have managed to fix the problem by copying microsoft.mshtml.dll into bin folder of my ASP.Net application.

Also, there is another solution discussed here:

Thiruvenkadam E [Syncfusion]
Replied On September 16, 2009 12:19 PM UTC

Hi Igor,

Thanks for the update.

Glad to hear that the problem has been resolved.

Please let us know if you need any further information.


Igor Ivanov
Replied On September 16, 2009 12:52 PM UTC

Actually, problem is still around.
From time to time application throws error
MESSAGE: Exception of type 'System.Web.HttpUnhandledException' was thrown.

And conversion is very slow even for simple documents...

Thiruvenkadam E [Syncfusion]
Replied On September 17, 2009 12:16 PM UTC

Hi Igor,

We are sorry for the inconvenience caused,

We are trying to reproduce the reported issue in our testing envinonment and we will get back to you with in one business day.

Thanks you for your patience.


Karthik M [Syncfusion]
Replied On September 23, 2009 02:15 PM UTC

Hi Igor,

We just heard from Chris that the reported problem has been resolved/ no longer reproduced on your side. However, please do let us know if you face any difficulties in the future.

Thank you for using Syncfusion Products.

Best Regards,


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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