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.

Sun Jun 26, 2022 1:26 pm

PDF are successfully generating on localhost. After deployed on the server, it did not create any pdf. Also it did not throw any error

techussain
 
Posts: 4
Joined: Sun Jun 26, 2022 1:03 pm

Sun Jun 26, 2022 3:01 pm

You need to provide more information, code, etc.

sbgmedia
 
Posts: 6
Joined: Sun Jun 26, 2022 1:05 pm

Mon Jun 27, 2022 5:27 am

CreatePdf(url, path + name + ".pdf");

public static void CreatePdf(string url,string path)
{
HtmlConverter.Convert(url, path, true, 100000, SizeF.Empty, new PdfMargins(0));
}

Url - For webpage to pdf
path - Path to save the pdf

Our backend is .net core

techussain
 
Posts: 4
Joined: Sun Jun 26, 2022 1:03 pm

Mon Jun 27, 2022 9:19 am

Hello,

Thanks for your inquiry.

I tested on windows server 2008 but did not reproduced the issue. Could you please provide the following information?

1. The version of your server.
2. The version of .net core you are using.
3. The version of Spire.Pdf you are using.

Thanks in advance.
Sincerely,
Andy
E-iceblue support team
User avatar

Andy.Zhou
 
Posts: 483
Joined: Mon Mar 29, 2021 3:03 am

Mon Jun 27, 2022 9:33 am

Windows Server 2022 Standard
.net 5
FreeSpire.PDF v8.2.0

techussain
 
Posts: 4
Joined: Sun Jun 26, 2022 1:03 pm

Mon Jul 25, 2022 11:59 am

Any Update please

techussain
 
Posts: 4
Joined: Sun Jun 26, 2022 1:03 pm

Tue Jul 26, 2022 1:58 am

Hi,

Apologize for the late reply :cry: .

Sorry that we do not have a WinServer 2022 server. So I have tested it on WinServer 2019 but still not reproduce the issue. As you are using the free version, I'm not sure if it will have some unexpected issues. I recommend that you switch to the commercial version before testing.
Also, you can get the new version of the QT plugin package from the link below. Hope it helps.
Code: Select all
https://drive.google.com/file/d/1EL7tkC3RmS3ouuXORXVREZ2-oShtJGLR/view?usp=sharing
Sincerely,
Andy
E-iceblue support team
User avatar

Andy.Zhou
 
Posts: 483
Joined: Mon Mar 29, 2021 3:03 am

Return to Spire.PDF