?
Solved

Error No MSHTML document is available AbcPDF v7

Posted on 2010-09-22
13
Medium Priority
?
2,133 Views
Last Modified: 2012-05-10
Hi,

I have tried the following:

Set theDoc = Server.CreateObject("ABCpdf7.Doc")
Response.Write("License: " & theDoc.License & "<br>")

This works fine, results in Professional License

Then tried the following:

Set theDoc = Server.CreateObject("ABCpdf7.Doc")
theDoc.AddImageUrl "http://www.google.com/"
theDoc.Save "C:\pdfs\test.pdf"

I have set the permissions correctly, but recieve an error:

ABCpdf error '80070000'

Unable to render HTML. No MSHTML document is available.

/abcpdftest/pdftest.asp, line 11

Line is: theDoc.AddImageUrl "http://www.google.com/"

Any help is appreciated.


0
Comment
Question by:sanjshah12
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
13 Comments
 
LVL 9

Expert Comment

by:shalabhsharma
ID: 33759230
0
 

Author Comment

by:sanjshah12
ID: 33913416
Hi,

I have tried the suggestions in the linked message but still cannot get this to work, any other potential ideas?
0
 
LVL 1

Expert Comment

by:code4food
ID: 34310007
Did you ever find a solution to the problem you posted about "Unable to render HTML. No MSHTML document is available." in abcPDF7? I have the same issue now after installing it on one of my servers. Thanks.
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

Author Comment

by:sanjshah12
ID: 34321613
code4food, unfortunately nope no solution yet.
0
 
LVL 1

Expert Comment

by:code4food
ID: 34321705
I changed back to abcPDF version 6.1 proffesional COM (not .net) and it worked without a problem. I only needed the COM version, not the .net version. That was my solution - not much of one but it works!
0
 

Author Comment

by:sanjshah12
ID: 34322676
Thanks I have asked to download version 6.1 from Cleverbridge.

0
 

Author Comment

by:sanjshah12
ID: 35115742
Still could not get this to work, what components does MSHTML rely on?
0
 
LVL 1

Expert Comment

by:code4food
ID: 35116733
sanjshah12,
  I recently loaded abcPDF7 .Net onto a Windows 2003 Server, wincing, because I was afraid of seeing the same problem that you did, and which I encountered on a different server. To my surprise, it worked flawlessly. It made me think about this question, so I have done a little investigation, and this is what I have come up with:

1.) The problem ("bad") server has asp.net versions 1.1, 2 and 4 on it. The "good" server has only asp.net versions 1.1 and 2.  On the good server, the site is operating under asp.net version 2.0.50727. On the bad server, I had already removed the abcpdf7 component. I also noticed the site is operating under asp.net version 1.1.  I switched the asp.net version to 2.0.50727, and reinstalled the abcPDF7 .Net component. Guess what? It worked this time on the "bad"server.

Please try that out. Make sure the site is running in asp.net version 2, and run the site. If that does not work, remove abcpdf7 and then reinstall leaving your site set at asp.net 2. It should work.

0
 

Author Comment

by:sanjshah12
ID: 35116756
Thanks code4food for looking into this, I'll check .Net version and ensure its running .NET 2 as suggested and let you know the result.
0
 
LVL 1

Expert Comment

by:axbernardi
ID: 35180042
Unfortunatelly, all the solutions didn't work for me.
My solution consists in installing the latest version on ABCpdf, version 8.
The default behavior presents the same problem but there is an intresting workaround. From v. 8 ABCpdf includes a native Gecko render engine instead of relying on IE. So, after creating the document, set the Gecko engine... and enjoy!
This is how it is done
<%
Set theDoc = Server.CreateObject("ABCpdf8.Doc")
theDoc.HtmlOptions.Engine=1
%>

Open in new window

0
 

Accepted Solution

by:
ee_auto earned 0 total points
ID: 35783795
Question PAQ'd and stored in the solution database.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question