Welcome to Pintexx Forum Sign in | Join | Faq

pinPDF

Started by bwood at 06-19-2008 10:36 . Topic has 7 replies.

Print Search
Sort Posts:    
   06-19-2008, 10:36
bwood is not online. Last active: 19.06.2008 19:30:02 bwood

Top 500 Posts
Joined on 06-19-2008
Posts 1
LogonName, LogonPassword don't work with ASP.net forms authentication
Reply Quote
In order to make it work, we will have to except those pages from authentication (which we'd rather not do).  Ever seen this before?

   Report 
   06-20-2008, 1:03
Pintexx Support is not online. Last active: 10.11.2008 07:36:58 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.549
Re: LogonName, LogonPassword don't work with ASP.net forms authentication
Reply Quote
Hello,

we do not have open issues for this.

Do you want to load a html from a pasword protected site to convert to PDF ?

Regards,
Hans-Peter
   Report 
   10-02-2008, 4:55
mmartinez is not online. Last active: 02.10.2008 13:53:02 mmartinez

Top 200 Posts
Joined on 10-02-2008
Posts 3
Re: LogonName, LogonPassword don't work with ASP.net forms authentication
Reply Quote
Hello, I have a web site protected with User and Password, is it possible to convert to PDF the pages in that site??
Thanks
   Report 
   10-03-2008, 10:19
Pintexx Support is not online. Last active: 10.11.2008 07:36:58 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.549
Re: LogonName, LogonPassword don't work with ASP.net forms authentication
Reply Quote
Hello,

you have to use the logon functions first.
Then it shouldbe possible.

Regards,
Hans-Peter
   Report 
   10-03-2008, 4:34
mmartinez is not online. Last active: 02.10.2008 13:53:02 mmartinez

Top 200 Posts
Joined on 10-02-2008
Posts 3
Re: LogonName, LogonPassword don't work with ASP.net forms authentication
Reply Quote
Thanks for the response.
I'm using the logon functions, I export a ASPX page to PDF, but when I open the generated PDF, it contains the login page.
Here is my code, what am I doing wrong?
I use forms authentication in my web site.


Dim objPDF As New Pintexx.Components.Web.pinPDF

objPDF.URL = Request.Url.ToString

objPDF.LogonName = User.Identity.Name

objPDF.LogonPassword = "******"

objPDF.OutputPath = "c:\temp"

objPDF.FileName = "test.pdf"

objPDF.Process()


Thanks, Mauro

   Report 
   10-06-2008, 8:31
Pintexx Support is not online. Last active: 10.11.2008 07:36:58 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.549
Re: LogonName, LogonPassword don't work with ASP.net forms authentication
Reply Quote
Hi Mauro,

the authentification is related to a web user that wants to logon to this web site as any other user that uses the system logon.

It has nothing to do with forms.
It seems that your system redirects to login page when you access the site.

Regards,
Hans-Peter
   Report 
   10-06-2008, 5:02
mmartinez is not online. Last active: 02.10.2008 13:53:02 mmartinez

Top 200 Posts
Joined on 10-02-2008
Posts 3
Re: LogonName, LogonPassword don't work with ASP.net forms authentication
Reply Quote
Yes, mi site uses Forms Authentication and if a user is not authenticated, redirects to a login form.
So, what do I have to do to resolve my issue?

Thanks, Mauro.
   Report 
   10-07-2008, 8:11
Pintexx Support is not online. Last active: 10.11.2008 07:36:58 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.549
Re: LogonName, LogonPassword don't work with ASP.net forms authentication
Reply Quote
Mauro,

as I said in my previous post it has nothing to do with forms authentification but system authentification which is done by web server and not by application.

If your authentification is contolled by your application then you have to authenticate at your application before you can create the PDF.

Regards,
Hans-Peter

   Report 
Pintexx Forum » Developer Produ... » pinPDF » Re: LogonName, LogonPassword don't work with ASP.net forms authentication