I am using Vinovic to convert HTML to PDF. There are two servers in one web server and another file server (only to store files) in both the server network
PDF code is running on the web server and used to store on the file server in the end file is. All images in the HTML template are given full path, even if the image is broken into PDF files.
Below is a simple code that is used.
PdfConverter PdfConv = new PdfConverter (); PdfConv.LicenseKey = "xxx-xxx-xxx-xxx"; WindowsImersonationContext impersonateOnFileServer = ImpersonateOnFileServer (username, domain, password); PdfConv.SavePdfFromHtmlStringToFile (HTMLToConvert, FilePath); One way to authenticate as a
ImpressNetFile server network is as I said that PDF is used to break into the file, so it is necessary . WindowsImersonation is working well because the PDF is saved and the only problem is with images.
For testing purpose, I have separated the concept of a separate file and tried to save the PDF to the application root folder on the web root so that the images can be shown in PDF.
So the conclusion is that when I explain the PDF to all files then something goes wrong with storing files on the file server.
If someone has this problem or any thoughts please drag me on the right track.
Thank you.
'Try to use Free
I have a project Used and it worked fine
Comments
Post a Comment