Two Pilots™    Home  |  Navigation  |  Site Map  |  Products  |  Download  |  Prices  |  For Partners  |  Support


All forums · Statistics · Search ·

Two Pilots forum / For software developers / Proble with htmltopdfadddon and pdfcreator pilot
Author Message
Mussuma
Member
# Posted: 2 Oct 2008 04:02


Hi,

We have bought the latest version of HtmlPdf Add on 3.9.60 and Pdf creator pilot 4.1. But a exception occure when we try to insert html code into pdf with method HTML2PDF2Class.LoadHTMLFile or HTML2PDF2Class.LoadHTMLString.

The error message is : Exception de HRESULT : 0x80010105 (RPC_E_SERVERFAULT))

In log file i have this messages :

10/02/08 10:30:05 HTML2PDFImpl - ImageCreator created
10/02/08 10:30:05 CBrowserWindow - Created
10/02/08 10:30:05 CBrowserWindow - Arrived OnDocumentComplete for about:blank (0x49BC828)
10/02/08 10:30:05 CBrowserWindow - Arrived OnDocumentComplete for about:blank (0x49BC828)
10/02/08 10:30:05 CBrowserWindow - Loaded. Ready to convert
10/02/08 10:30:05 CBrowserWindow - Conversion routine called for (0x5F41510)
10/02/08 10:30:05 ImageCreator - Conversion routine called for (0x5F41510)
10/02/08 10:30:05 ImageCreator - Save image called for (0x5F41510)
10/02/08 10:30:05 ImageCreator - Metafile 800 x 51 created
10/02/08 10:30:05 ImageCreator - Trying to draw (0x5F49A90)
10/02/08 10:30:05 ImageCreator - Compatibility string is 'BackCompat'
10/02/08 10:30:05 ImageCreator - Standards-compliant mode is NOT switched on.
10/02/08 10:30:05 ImageCreator - Trying conservative way to draw
10/02/08 10:30:05 ImageCreator - Conservative way to draw succeeded
10/02/08 10:30:05 CBrowserWindow - Destroyed
10/02/08 10:30:05 CBrowserWindow - Destroyed
10/02/08 10:30:05 HTML2PDFImpl - Download complete
10/02/08 10:30:05 HTML2PDFImpl - Metafile created
10/02/08 10:30:05 HTML2PDFImpl - Destroyed

max.f
# Posted: 20 Oct 2008 05:25


It looks like a DEP issue.
Please check your DEP (Data Execution Prevention) settings. You can find it this way:
- Start -> Settings -> Control Panel -> System.
- Click the Advanced tab and, under Performance, click Settings.
- Click the Data Execution Prevention tab.
You need the "Turn on DEP for essential Windows programs and services only" option to be checked. If the "Turn on DEP for all programs and services except those I select" option is already checked, then you need your application that uses HTML2PDF Addon to be added to the list of programs. Don't forget to reboot Windows if any changes are taken on DEP.

--
Max Filimonov

 

 

Powered by miniBB 2.0 RC7 © 2001-2004 Page creation time (sec.): 0.013

 

Page top