Page 1 of 1

TRIAL watermark

Posted: Fri Jun 17, 2022 8:13 am
by Tomi Urych
Hello,
I am using Stimulsoft reports for about 12 years and I never had any issue with licensing. But during last few months watermark "Trial" happens sometimes. I can't find aby pattern, the behaviour is random. I am using multithread environment, but never faced this kind of problem.
Using version 2021.3.6.0. Unfortunatelly I can't upgrade to a newer version due to another problem I described in different thread (viewtopic.php?p=163974#p163974).
Thank you for any suggestion.

Re: TRIAL watermark

Posted: Sat Jun 18, 2022 7:26 am
by Lech Kulikowski
Hello,

It is difficult to say something without a sample that reproduces the issue. Sorry.

Thank you.

Re: TRIAL watermark

Posted: Thu Oct 27, 2022 7:59 am
by joro
Hello,

we are experiencing the same problems using Stimulsoft 2021.4.4.0
The problem occurs randomly. It is like 500 reports are okay and then 1 displays the trial watermark.
We cannot reproduce the issue but it is a massive problem.

Do you have any suggestions?
We are using multi-threading and different app-domains. We are using stimulsoft for 10 years and never had that problem.

br
jochen

Re: TRIAL watermark

Posted: Thu Oct 27, 2022 8:38 am
by Lech Kulikowski
Hello,

The recommendations - look where the license key is loaded, try to change the type and location of its loading.

1. perhaps the key does not have time to load, if everything is asynchronous - reconsider the order of calls
2. maybe the key is loaded in a static constructor and rendered in another thread/server - switch to loading in an ordinary constructor.
3. maybe there is something wrong with the asynchronous method
4. if the key is loaded from a file, and moreover using asynchronous method - try to change it to Base64 string load

Thank you.

Re: TRIAL watermark

Posted: Thu Oct 27, 2022 11:04 am
by joro
Hi,

I am pretty sure that we do this every time we instantiate a new StiReport

Code: Select all

Grz.Xanthos.Shared.Utils.StimulsoftUtils.XanthosStimulsoftLicenseManager.SetLicense();
Report = new StiReport();
I've checked the license key in my user portal and it has changed.
Can you please explain when a key changes in the user portal?
Does it change periodically?
Can I use the current license key for older stimulsoft versions as well?
Does a key have an expiration date?
How often do I have to update the license key in our application?

br
jochen

Re: TRIAL watermark

Posted: Mon Oct 31, 2022 7:12 am
by Lech Kulikowski
Hello,
I've checked the license key in my user portal and it has changed.
Can you please explain when a key changes in the user portal?
Does it change periodically?
Yes, it is changed each time, the key contains the current date and time.
Can I use the current license key for older stimulsoft versions as well?
Yes.

Thank you.