Link to home
Start Free TrialLog in
Avatar of SitePower
SitePower

asked on

abcpdf addimagehtml Unable to render HTML. Page load timed out. Unable to load page.

Using ABCpdf to generate PDF from generated HTML. I have several sites using the same BasePage code and the same .aspx.vb code but one gives me the message "Unable to render HTML. Page load timed out. Unable to load page." and the others don't. What's more, that one only has error if there is an <img> tag in the HTML but not if there is not. Also, the problem one works OK on local development server.
- Have tried adjusting timeout and retries - no help.
- Have tried making sure ASPNET and IUSR_ have RWXD access rights - no help.
SOLUTION
Avatar of Juan_Barrera
Juan_Barrera
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SitePower
SitePower

ASKER

Thanks for the suggestions. I compared two sites - one that is working and the one that is not. The settings for all file permissions for all concerned folders are the same. And I also set up a test where the image file(s) would not be in use by any other process.

The users are: Admin, IUSR_(machine), IUSR_(applic), NETWORK, SYSTEM, NETWORK SERVICE, and ASPNET.

Still same problem.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I have tried both JPG and PNG with the same result in the faulting site. Also tried many different image files (these are all from photos). Also, this same PDF routine has been working at this site for several months and I have used it at other sites for more than a year - all successfully. I haven't yet figured out what changed and why it stopped working properly at that one site.

Hmmm..... Does that tell me I should start keeping versions? Lazy programmer that I am I have not done so.

I will continue trying to find out what changed.

Thanks for your help!
Well, I hope you find the solution! Good luck!
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I am having tough time with hyperlinks...I tried both methods : AddImageHTML and AddImageURL. Generated PDF displays them as normal text only.