Re: LogonName, LogonPassword don't work with ASP.net forms authentication

pinPDF

LogonName, LogonPassword don't work with ASP.net forms authentication


bwood 06-19-2008, 10:36
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?

Re: LogonName, LogonPassword don't work with ASP.net forms authentication


Pintexx Support 06-20-2008, 1:03
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

Re: LogonName, LogonPassword don't work with ASP.net forms authentication


mmartinez 10-02-2008, 4:55
Hello, I have a web site protected with User and Password, is it possible to convert to PDF the pages in that site??
Thanks

Re: LogonName, LogonPassword don't work with ASP.net forms authentication


Pintexx Support 10-03-2008, 10:19
Hello,

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

Regards,
Hans-Peter

Re: LogonName, LogonPassword don't work with ASP.net forms authentication


mmartinez 10-03-2008, 4:34
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

Re: LogonName, LogonPassword don't work with ASP.net forms authentication


Pintexx Support 10-06-2008, 8:31
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

Re: LogonName, LogonPassword don't work with ASP.net forms authentication


mmartinez 10-06-2008, 5:02
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.

Re: LogonName, LogonPassword don't work with ASP.net forms authentication


Pintexx Support 10-07-2008, 8:11
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