Temp License only works part of the time

Aspose is used to generate and preview correspondence items. Both these functions are part of a WCF service. The correspondence Manager Service defines its constructor as follows:

#region Constructor 
public CorrespondenceManagerService() 
{ 
    Aspose.Words.License license = new Aspose.Words.License(); 
    license.SetLicense("Aspose.Words.lic"); 
} 
#endregion 

Preview function is called from an ASPX page. It returns a byte array which is then displayed inside of a browser window.
Generate function is called from a Microsoft Workflow Activity which is part of a workflow that is invoked from an ASPX page. This writes out a byte array to a database table which is picked up by another service and displayed in a browser page.

Both Preview and Generate are part of the CorrespondenceManagerService (WCF service). Aspose DLL is in the output folder of this service and so Aspose.lic file.

Preview works great with no Evaluation watermark for the correspondence Document.
When the same document is processed using the Generate function, there is an Evaluation watermark on top of the document.

Both Preview and Generate use common functions which in turn call the MailMerge.Execute and MailMerge.ExecuteWithRegions. Any ideas?

This message was posted using Email2Forum by DannyCooper.

Hi all,

FileONE followed up a moment ago and shared this had already been resolved. I apologize for any confusion.

Here is the original thread:
https://forum.aspose.com/t/98511
Best regards,