abcPDF installation errors
abcPDF uses the MSHtml rendering engine that is built in to windows on the server. If IE is upgraded to IE9 this can cause an issue where a previously relied on GDI call is no longer available. IE8 will be upgraded automatically to IE9 via windows update unless you are careful with windows update.
That said, I have got abcPDF 8.1.20 running with IE9 on my dev machine. It only had one error, and it gave a really nice error message, explaining how to add a registry key, which fixed the issue.
The error was:
WebSupergoo.TaskGarden.Core.CoreException: Exception was thrown in another thread. ---> WebSupergoo.ABCpdf8.Internal.PDFException: Failed to configure IE9 for MSHtml engine: Access denied while writing to registry. For IIS applications, please enable 'Load User Profile' or consult the 'MSHtmlBootstrap' from documentation.
Alternatively, you can configure this registry setting manually:
1. Create registry key Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_IVIEWOBJECTDRAW_DMLT9_WITH_GDI.
2. Create in it a DWORD value named 'w3wp.exe'.
3. Set the DWORD's value to 1.
Leave a Comment