Aspose.Total - Licence message issue

Hi,

we have made a sharepoint 2007 project where we used the following Aspose DLL:

- Aspose.PDF v.6.2.0.0

- Aspose.PDF.kit v.5.7.00

We have purchased an Aspose.Total licence.

The goal of the project is to generate PDF Files with a Summary.

Today, the PDF are generated with the following message : Evaluation Only. Created with Aspose.Pdf.Kit. Copyright 2002-2011 Aspose Ptv Ltd. (everything was working fine yesterday and no change has been done in the server)

Then, we have implemented the following actions:

- Deletion of the the Aspose.Total.lic file from the Sharepoint Document library

- re-upload of the .lic

- Recycling of the Application pool of the Sharepoint site.

....and now we do not have anymore the "Evaluation only" message when we generate the PDF...

Have you any ideas explaining this issue and how can I fix it?

Thanks for your help.

Here is the code we use to get and set the licenses:

    //Get the Licenses 
    SPFile fileLicence = GetLicenceFileFromSharePointLibrary(“Aspose.Total.lic”);
    Stream fileLicenceStream = fileLicence.OpenBinaryStream();

    //Set the Licences
    Aspose.Pdf.License licensePDF = new Aspose.Pdf.License();
    Aspose.Pdf.Kit.License licenseKIT = new Aspose.Pdf.Kit.License();
    if (fileLicenceStream != null && fileLicenceStream.Position == 0)
    {
        licensePDF.SetLicense(fileLicenceStream);
        fileLicenceStream.Position = 0;
        licenseKIT.SetLicense(fileLicenceStream);
    }

Hello Jonathan,


Thanks for using our products.

The problem that you have shared seems to be quite strange. However in order to replicate this issue at our end, can you please share the sample code so that we can test the scenario at our end. We are really sorry for this inconvenience.

Please note that Aspose.Pdf.Kit for .NET has been merged into Aspose.Pdf for .NET and all its classes are now available under Aspose.Pdf.Facades namespace of Aspose.Pdf for .NET. You may also consider using this new merged API and see if it can resolve this problem. We are really sorry for this inconvenience.

Hello,

here are the versions of the DLL, we are using:

Aspose.Pdf.dll (6.2.0.0)

Aspose.Pdf.Kit.dll (5.7.0.0)

We still encounter the issue about the evaluation watermark on the PDF and we also had this error message "At most 4 elements (for any collection) can be viewed in evaluation mode."

Could you confirm that using the new latest merged Aspose.PDF.dll will fix this evaluation message issue? Did you get feedback from users about it?

Thanks for your reply.

Best regards.

Hi Jonathan,<?xml:namespace prefix = o ns = “urn:schemas-microsoft-com:office:office” /><o:p></o:p>

As you are facing the issue regarding Aspose.Pdf.Kit for
.NET licensing, I would suggest you to use Aspose.Pdf for .NET latest version.
As mentioned by Nayyer, Aspose.Pdf.Kit has been discontinued and all the features
can be found under Aspose.Pdf.Facades namespace in the new merged product.
Hopefully this will resolve your issue. Also, you may download and try our
latest version of
Aspose.Pdf for .NET v6.7.<o:p></o:p>

Please feel free to contact
support in case you face any issue or have any query.<o:p></o:p>

Thank You & Best
Regards,

Hello Jonathan,


Thanks for sharing further details.

The reason you are getting evaluation watermark and a message that “At most 4 elements (for any collection) can be viewed in evaluation mode.” its because the license is not properly being initialized. Can you please confirm the license expiry date, so I may confirm that you can use it with latest release version of Aspose.Pdf for .NET 6.7.0.

You can find the license expiry date within the license file. Please notice tag and ensure that you do not update license file information. Please note that an addition of single blank character may invalidate the license file. We are really sorry for this inconvenience.