We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

PDF to PDF conversion throwing error

Hi there
I am trying to convert PDF to PDF using Aspose.pdf.dll
while converting one page pdf it was successful.
But when i try to convert a pdf file with multi pages getting following error

“Evaluation Only. Created with Aspose.Pdf. Copyright 2002-2017 Aspose Pty Ltd.”

We have valid license for Aspose 17.6

Can you please help to address this issue

Thanks & Regards
Jegadeesh S

for Melbourne Health


Thank you for contacting support.

Would you please share the code snippet along with source PDF files and license file as a single ZIP directory so that we may try to reproduce and investigate it in our environment.

Thank you for the response.
Please find attached the sample application and documents for your reference
Aspose Test.zip (1.4 MB)
Jegadeesh S


Thank you for sharing sample application.

Please also share your license file with us so that we may try to reproduce and investigate it in our environment. You may send the file in a private message by clicking on my username. Please see attached screenshot private-message.png. Once you send the file, please mention here in this thread, for reference.

Hi Farhan.Raza
I have sent you the license file in message
kindly check
Jegadeesh S


Thank you for sharing requested data.

We have worked with the application and have found the license to be working with Aspose.PDF for .NET 17.6, in our environment. We have also verified its validity with below code after SetLicense method call in button3_Click event of the form.

if (Aspose.Pdf.Document.IsLicensed)
    MessageBox.Show("License set!");
    MessageBox.Show("License not set!");

Please review the version of Aspose.PDF for .NET API that you are using in your environment and then share your kind feedback with us.

Thank you so much for the prompt response.

The issue seems to be with the following line in my application

   Aspose.Slides.License lic = new Aspose.Slides.License();

for converting PDF instead of using
Aspose.Pdf.License lic = new Aspose.Pdf.License();


I have worked with license file shared by you using Aspose.Slides latest version 18.7. As per license file you are entitled to use Aspose.Slides version released before 17 June 2017. I suggest you to please renew your subscription to use Aspose.Slides latest version 18.7.