Welcome to Pintexx Forum Sign in | Join | Faq

pinPDF

Started by AdamOJ at 07-03-2008 3:02 . Topic has 4 replies.

Print Search
Sort Posts:    
   07-03-2008, 3:02
AdamOJ is not online. Last active: 03.07.2008 00:01:26 AdamOJ

Top 200 Posts
Joined on 07-03-2008
Posts 3
HTTPS Support?
Reply Quote

We are attempting to use pinPDF to generate PDF’s on our server.   The component works flawlessly when running out site in http mode, but when we enable https ( the mode our production site runs in at all times) the component fails.

I was able to confirm this behaviour using your simple.aspx test page as well.   The error returned from that page is Error: html render is blank

Is there a property or special steps needed to enable support for https pages?

 


   Report 
   07-03-2008, 8:01
Pintexx Support is not online. Last active: 30.12.2008 07:11:54 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.571
Re: HTTPS Support?
Reply Quote
Hello,

you have to make sure that the html page you want to convert and all includes like stylesheets, images etc. can be accessed from the specified url at the server (where pinPDF runs) with the used user.

Can you run the conversion directly at the server under an administrator acount ?
Can you open the file at the server directly in IE ?

Regards,
Hans-Peter
   Report 
   07-03-2008, 5:43
AdamOJ is not online. Last active: 03.07.2008 00:01:26 AdamOJ

Top 200 Posts
Joined on 07-03-2008
Posts 3
Re: HTTPS Support?
Reply Quote

Hans-Peter,  thank you for the reply.

we can run the simple.aspx page ( as well as our custom page)  just fine as long as the URL is http://     When we turn on https://   we get the mentioned error.   we have reproduced this behaviour on multiple servers.  

We beleave the issue is isolated to SSL vs non-SSL.

Thanks for you help!


   Report 
   07-04-2008, 8:41
Pintexx Support is not online. Last active: 30.12.2008 07:11:54 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.571
Re: HTTPS Support?
Reply Quote
Hello,

could you please send me the code you are using for creating the PDF to support@pintexx.com ?

Regards,
Hans-Peter
   Report 
   07-04-2008, 6:07
AdamOJ is not online. Last active: 03.07.2008 00:01:26 AdamOJ

Top 200 Posts
Joined on 07-03-2008
Posts 3
Re: HTTPS Support?
Reply Quote

you bet.

I'll also post it here.

it is the "simple.aspx" page that is included with the component when we purchased it. 

<%@ Page Language="VB" validateRequest="false" %>

<script runat="server" >

Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

  Dim objPDF as new Pintexx.Components.Web.pinPDF

  objPdf.Html = "<span style='color:blue'>Created with pinPDF</span>"
  objPdf.OutputPath = "c:\temp"
  objPdf.FileName = "test.pdf"

  if not objPdf.process() then
    response.write("Error: " + objPDF.ErrorMessage)
  else
    response.write("c:\temp\test.pdf created")
  end if
  response.end

End Sub

</script>


   Report 
Pintexx Forum » Developer Produ... » pinPDF » Re: HTTPS Support?