Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Fri Dec 04, 2020 7:47 am

I am using Spire.PDF (v6.11.7) to convert specified HTML to PDF,
In Developer machine, it seems working fine.
But, in user site, the same program thew out "IO.FileNotFound exception", as following shown:

Application: iexplore.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
at Spire.Pdf.HtmlConverter.HtmlConverter.ᜀ(System.String, Spire.Pdf.HtmlConverter.ImageType, Int32)
at Spire.Pdf.HtmlConverter.HtmlConverter.Convert(System.String, Spire.Pdf.HtmlConverter.ImageType, Int32, Int32, Spire.Pdf.HtmlConverter.AspectRatio)
at Spire.Pdf.PdfSection.ᜀ(System.String, Boolean, Boolean, Boolean, Spire.Pdf.HtmlConverter.PdfHtmlLayoutFormat)
at Spire.Pdf.PdfDocument.LoadFromHTML(System.String, Boolean, Spire.Pdf.PdfPageSettings, Spire.Pdf.HtmlConverter.PdfHtmlLayoutFormat, Boolean)

In my program, it already referenced the 3 Spire components:
Spire.License.dll, Spire.Pdf.dll, Spire.PdfViewer.Forms.dll

Can you help how to troubleshoot what Spire files are missed??

grchen168
 
Posts: 32
Joined: Sat Jan 24, 2015 4:48 pm

Fri Dec 04, 2020 10:33 am

Hello,

Thanks for your inquiry!

To help us reproduce and investigate the cause of this issue, please provide us with the following information:
    1. Your complete project files
    2. The user’s OS environment information, such as win7 x64 English. ,
    3. The user is using an .EXE program that is packaged from your project, right?
    4. Please make a program that does not use our product, and then open the document in the user's environment, to verify whether files can be found or not.

Thanks in advance.

Sincerely,
Marcia
E-iceblue support team
User avatar

Marcia.Zhou
 
Posts: 858
Joined: Wed Nov 04, 2020 2:29 am

Wed Dec 09, 2020 10:02 am

Hello,

Hope you are doing well.

How is your issue now? If it still exists, could you please provide us with the information mentioned in the above message for further investigation?

Thanks in advance.

Sincerely,
Marcia
E-iceblue support team
User avatar

Marcia.Zhou
 
Posts: 858
Joined: Wed Nov 04, 2020 2:29 am

Mon Dec 14, 2020 12:27 am

Thanks for your concern.
W.R.T. the issue, it mysteriously disappeared after doing "some" Windows updates.
So, I cannot reproduce it again in my current updated development environment.
Thanks again.

grchen168
 
Posts: 32
Joined: Sat Jan 24, 2015 4:48 pm

Mon Dec 14, 2020 3:13 am

Hello,

Thanks for your feedback and sorry for the late reply as weekend.

You are welcome. Anyway, it is glad to hear that the issue has disappeared in your current updated development environment.

If the issue appears again in the future, please feel free to contact us.

Have a nice day!

Sincerely,
Marcia
E-iceblue support team
User avatar

Marcia.Zhou
 
Posts: 858
Joined: Wed Nov 04, 2020 2:29 am

Return to Spire.PDF