I want to generate the pdf file for a page on the localhost.
I use the EO.Pdf dll in a window form.
My website has only windows authentication enabled.
I get the following error :
Quote:EO.Pdf.HtmlToPdfException: Failed to convert Url 'http://localhost/TestSolution/SavePDF.aspx'.(401:The requested resource requires user authentication. This is an error returned by the Web server, not by the HTML to PDF converter. Please try to visit the same Url with your browser to verify whether the Url is valid.)
at EO.Pdf.Internal.dg.a(String A_0, Boolean A_1)
at EO.Pdf.Internal.dg.b(HtmlToPdfOptions A_0, String A_1, Boolean A_2)
at EO.Pdf.Internal.dg.a(bs A_0)
at EO.Pdf.Internal.lo.c.a(Byte[] A_0)
If I enabled anonymous on the website, it is working (it seems my user is not retrieved by the dll).
I visit the same url with my browser, and it is working for both settings.
Any idea of what can be wrong ?