Aspose.Words License Issue

Hi, Can anyone help? We are printing letters on 2 servers (Windows Server 2003 R2) using Word 2003. We have a full license. Occasionally (once every 6 weeks or so), the Aspose library somehow loses its licence file. The file itself is obviously not disappearing, but the library seems to lose sight of it. When the library cannot find its licence file, it works in evaluation mode and we get ‘This document was truncated here because it was created using Aspose.Words in Evaluation Mode’ printed at the bottom of the document. When we reboot the server, it starts working properly again. This happens on both of our servers. Any ideas? thanks in advance.

Hi Bill,


Thanks for your inquiry. The license should work fine in any environment. Please make sure that you have set license properly as described here:
http://www.aspose.com/docs/display/wordsnet/Applying+a+License

I would also like to mention a few points here:

  • Make sure your call to SetLicense gets executed. Step through in the debugger.
  • Make sure your code does not catch an exception thrown by Aspose.Words licensing code. For example, Aspose.Words will throw if it cannot find the license.
  • Make sure the input documents do not already have the evaluation message. Aspose.Words does not delete existing evaluation messages.
  • Make sure SetLicense is executed before you instantiate any Document object.

Which version of Aspose.Words are you using? Also, please create a simple console application that helps us reproduce the same problem on our end. We will investigate the issue on my side and provide you more information.

Best regards,