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

Free Support Forum - aspose.com

Aspose.Word still shows "Evaluation only" message even after applying the license

Here's is snippet of the code I am using:

public void ConvertDocToPdf(string source, string destination, string tempXML)
//Set License
Aspose.Words.License license = new Aspose.Words.License();

// Open the document.
Document doc = new Document(source);
doc.Save(tempXML, SaveFormat.AsposePdf);

Aspose.Pdf.Pdf pdf = new Aspose.Pdf.Pdf();
pdf.BindXML(tempXML, null);
pdf.IsImagesInXmlDeleteNeeded = true;
catch (Exception exc)
Response.Write(String.Format("Error: source - {0} -- Message: {1}\n", source, exc.Message) );

The license is in the bin directory with Aspose.Words.dll. The code does not produce any error, but the PDF file (converted from Word) still has Evaluation copy message. I am also using Aspose.Pdf exactly the same way, and it works just fine.

Could you tell me what am I doing wrong?

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. You also have to have license for Aspose.Pdf. Aspose.Words and Aspose.Pdf are different products so they have different licenses. I suppose you see the following message in your document

Evaluation only. Created with Aspose.Pdf. Copyright 2002-2008 Aspose Pty Ltd

Best regards.

Exactly. I am seeing the error message that you have described. I have the copies of both Aspose.Pdf.lic and Aspose.Words.lic licenses. They are both in \bin directory. Aspose.Pdf.lic works fine but Aspose.Words.lic does not. Any ideas?

I have attached the screen shot of files in \bin directory.

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. You should set both licenses. Please try using the following code:

//Set Aspose.Words License

Aspose.Words.License awLic = new Aspose.Words.License();


//Set Aspose.Pdf license

Aspose.Pdf.License apLic = new Aspose.Pdf.License();


Also please check the points described in FAQ and let me know whether this doesn’t work for you.

Best regards.

That worked. Thanks for the help!