Home DotNet abc2pdf - Unable to render HTML
09.02.2010
Main Menu
Programming
.NET Controls
Operating System
Free Software Downloads
Databases
Add to: Digg Add to: Del.icoi.us Add to: Reddit Add to: StumbleUpon Add to: Slashdot Add to: Yahoo Add to: Technorati Add to: Google
abc2pdf - Unable to render HTML PDF Print E-mail

ERROR: abc2pdf - Unable to render HTML. Unable to load page.

When using the WebSupergoo.ABCpdf4.Doc.AddImageUrl(String url, Boolean paged, Int32 width, Boolean disableCache) method you have experience the Unable to render HTML error message.

This error is because of the security issue. When runing the application you may get the above error, this is because ABCpdf uses the Microsoft MSHTML component. If the host server does not allow the application to execute the MSHTML component then you will get the error.

What you can do to fix this is use the localhost host address or IP instead of the dns name and this still should works fine.

For Example:

Instead of:

<add key="PI_MS_Global_PRINTSCREEN_URL" value="http://rtiodev.riotinto.org/maintenanceshuts/PrintView.aspx?" />

Use:

<add key="PI_MS_Global_PRINTSCREEN_URL" value="http://localhost/maintenanceshuts/PrintView.aspx?" />

On the server the localhost should automatically resolve to the server name.

Comments (0)
Write comment
Your Contact Details:
Comment:
[b] [i] [u] [url] [quote] [code] [img]   
:D:angry::angry-red::evil::idea::love::x:no-comments::ooo::pirate::?::(
:sleep::););)):0
Security
Please input the anti-spam code that you can read in the image.

!joomlacomment 4.0 Copyright (C) 2009 Compojoom.com . All rights reserved."

 

Online Paid Survey