Very old working Licensed configuration, now expanding to include another application with another bin folder.
Desired Task: Using Word product open a docx file, edit some bookmarks and save as PDF.
Undesired result: Save as PDF generates PDF, but with the “Evaluation Only. Created with Aspose.Words. Copyright 2003-2022 Aspose Pty Ltd” Message and a truncated document.
C# Language Usage. Setup both the PDF and WORD Licenses in code
Aspose.Pdf.License licensePDF = new Aspose.Pdf.License();
licensexcel.SetLicense("Aspose.PDF.lic");
Aspose.Words.License license = new Aspose.Words.License();
Originally used the plain : license.SetLicense( “Aspose.Words.lic”)
Upon the document being marking as eval, tried the stream technique. Stream has data, so the license file is found.
Aspose.Words.License license = new Aspose.Words.License();
MemoryStream stream = new
MemoryStream(File.ReadAllBytes(@"Aspose.Words.lic")))
license.SetLicense(stream);
Still marks the file with the evaluation banner. Tried the latest version from Nuget.org version 22.9 has same outcome.
I then uninstalled version 11 and 15 of the PDF/Word client software from my developer workstation, same outcome.
I then decided to just save the document as a Word ( docx) and that even got an eval stamp.
We have been updating our licenses for many years now. Has the format of the license file changed?
Without giving away any private details, Here is the Word Lic file ( PDF is similar) , from what I can tell our licenses are good until next January and the license file is being found. Do we have some kind of version mismatch?
<?xml version="1.0"?>
<License>
<Data>
<LicensedTo>Honda North America Inc.</LicensedTo>
<EmailTo>********/EmailTo>
<LicenseType>*******</LicenseType>
<LicenseNote>Up To 10 Developers And Up To 10 Deployment Locations</LicenseNote>
<OrderID>******</OrderID>
<UserID>755304</UserID>
<OEM>This is not a redistributable license</OEM>
<Products>
<Product>Aspose.Words for .NET</Product>
</Products>
<EditionType>Enterprise</EditionType>
<SerialNumber>******/SerialNumber>
<SubscriptionExpiry>20230105</SubscriptionExpiry>
<LicenseVersion>3.0</LicenseVersion>
<LicenseInstructions>https://purchase.aspose.com/policies/use-license</LicenseInstructions>
</Data>
<Signature>*******</Signature>
</License>
Thanks for the help
Ed