We got an annoying license lost problem in our ASP.NET web application. Every once a while, the license warning text shows up on the file generated from Aspose component. The code we used to load license is like this
...
System.IO.Stream stream = SimpleFileHelper.GetStream(licpath);
Aspose.Words.License license = new Aspose.Words.License();
license.SetLicense(stream);
...
It resides in a method that will be called by Global.asax.cs's Application_Start. The Aspose.Words.dll we are using right now is 13.10.0.0
So,
1) Please let me know why this happen and how to fix it.
2) Is there a way to determine whether license file is loaded or not? So at least we can log the environment information when license gets lost again instead of just get red text on generated document.