Click here to Skip to main content
15,905,963 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have purchased professional license of abcpdf v7, I am using abcpdf for converting html to pdf into our ASP.net website. My html contains css and images, please see the below sample html of dev server
<html>
<link rel="stylesheet" type="text/css" href="http://devurl.com/style/main.css"/>

<body>
some html data

<img src="http://devurl.com/images/sampleimg.jpg" alt="some_text"></img>
</body>
</html>

this html converted to pdf perfectly with imges and css applied to pdf.

But when it is on QA and production server html is getting converted into pdf , but css is not getting applied to pdf and images are not shown in pdf. Below is sample html of QA server
<html>
<link rel="stylesheet" type="text/css" href="https://qaurl.com/style/main.css"/>

<body>
some html data

<img src="https://qaurl.com/images/sampleimg.jpg" alt="some_text"></img>
</body>
</html>

the difference is just QA server url is HTTPS:// and dev serve url id HTTP://.
When I copy and paste this "https://qaurl.com/images/sampleimg.jpg" url into browser it shows image. Means images and css are public. So please help me out how could I resolved this issue related with https. Also used pdfdoc.htmloptios.Logonname and logonpassword but not working.
Please reply me ASAP. waiting for your reply.
Posted
Updated 29-May-15 20:54pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900