I'm running stimulsoft-reports-js v2024.3.3 and I need to render some reports (and also pdf files) from the server side, from node.js.
By default I see in the console: "You are using a trial version of the Stimulsoft product!" and watermark is present on reports
When I try to add the license with:
Code: Select all
Stimulsoft.Base.StiLicense.key = "6vJhGtLLLz2GNviWmU..." +
"..." +
"..." +
"..." +
"..." +
"..." +
"..." ;
Code: Select all
TypeError: Cannot read properties of null (reading '0')
at J.fromNetJsonString (D:\Git\V4\reports-worker\src\node_modules\stimulsoft-reports-js\Scripts\stimulsoft.reports.js:13:145739)
at $O.loadFromString (D:\Git\V4\reports-worker\src\node_modules\stimulsoft-reports-js\Scripts\stimulsoft.reports.js:16:194621)
at $O.decryptFromString (D:\Git\V4\reports-worker\src\node_modules\stimulsoft-reports-js\Scripts\stimulsoft.reports.js:16:196124)
at $O.get2 (D:\Git\V4\reports-worker\src\node_modules\stimulsoft-reports-js\Scripts\stimulsoft.reports.js:16:196371)
at tR.jWesH (D:\Git\V4\reports-worker\src\node_modules\stimulsoft-reports-js\Scripts\stimulsoft.reports.js:16:196787)
at set key [as key] (D:\Git\V4\reports-worker\src\node_modules\stimulsoft-reports-js\Scripts\stimulsoft.reports.js:16:196585)
Thank you.