Home DotNet abc2pdf - Unable to render HTML
abc2pdf - Unable to render HTML

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://www.itjungles.com/stopApp/PrintView.aspx?" />

Use:

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

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



Comments (2)
  • betty  - good
    thanks for your sharing
  • Sue
    SA-WEET
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.

"