Applying Licence - still getting evaluation version title

Hi,
I am including the below code in my program to get rid of
Evaluation Only. Created with Aspose.Words. Copyright 2003-2011 Aspose Pty Ltd. this message. but still i am getting this in my document.
This is my code, where i included the licence code:

Aspose.Words.License license = new Aspose.Words.License();
license.SetLicense(".../App_Data/Aspose.Total.lic");
_IncomeDocStream = BinaryToStraemConverter(docTemplate);
_InputDoc = new Document(_IncomeDocStream);

Hi Nair,
Thanks for your request.

  • Make sure your call to SetLicense gets executed. Step through in the debugger.
  • Make sure your code does not catch and silence 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.

Best regards,