|
Rank: Newbie Groups: Member
Joined: 5/9/2022 Posts: 3
|
We have purchased license recently. But after deploying to production we are seeing the trial license message on the pdf.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
This means the license code (where you call EO.Pdf.Runtime.AddLicense) is NOT called. You will need to debug your code to find out why it has not been called.
If you can not find out why it has not been called, as a temporary solution you can simply add the code to wherever you are using EO.Pdf. For example, if you use HtmlToPdf.ConvertHtml in your code, you can add the license code immediately before that line. Calling license code multiple times would not have signficiant performance impact. However it is obviously discouraged for maintenance issue as you obviously do not want the same code to be duplicated all over in your project.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 5/9/2022 Posts: 3
|
No, code is always called. We were using different license earlier and purchased the newer one and just updated the license key text. Also, we are not seeing the message on our development or staging servers. We are seeing only on our production servers. Is the license tied to any specific OS?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Murty wrote:No, code is always called. This is incorrect. We have had numerous customers trying to argue with us about this over the years and it always come down to your license code not called. There are no other reasons. The faster you go down to check on this the faster your issue will be resolved. You would be wasting your own valuable time by focusing on any other reasons. As suggested in our previous reply, a very simple test would be to call the license code immediately before you use our function. If that resolves the issue for you, it would clearly indicate that your original license code is not called. The license code is not tied to any specific OS.
|
|
Rank: Newbie Groups: Member
Joined: 5/9/2022 Posts: 3
|
We do call AddLicense just before HtmlToPdf.ConvertHtml. However it seems to be an issue on our application end and it is resolved now. Thanks for quick response.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Great! Glad to hear that the issue is resolved!
Please feel free to let us know if there is anything else.
|
|