Skip to content

Commit a3980df

Browse files
github-actions[bot]KB Bot
andauthored
Added new kb article resolving-invalid-license-runtime-telerik-reporting (#1698)
Co-authored-by: KB Bot <kb-bot@telerik.com>
1 parent 56dc7a6 commit a3980df

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
title: Resolving "Invalid License" Issue during runtime in Telerik Reporting
3+
description: Learn how to address the "Invalid license" issue in Telerik Reporting when reports display licensing errors at runtime.
4+
type: how-to
5+
page_title: Fixing License Errors in Telerik Reporting Runtime
6+
slug: resolving-invalid-license-telerik-reporting
7+
tags: telerik reporting, license, nuget, runtime, invalid license
8+
res_type: kb
9+
ticketid: 1688629
10+
---
11+
12+
## Environment
13+
<table>
14+
<tbody>
15+
<tr>
16+
<td>Product</td>
17+
<td>Progress® Telerik® Reporting</td>
18+
</tr>
19+
<tr>
20+
<td>Version</td>
21+
<td>19.1.25.521</td>
22+
</tr>
23+
</tbody>
24+
</table>
25+
26+
## Description
27+
28+
When generating reports (e.g., PDF, XLSX) in Telerik Reporting, the output may display an "Invalid license" message. This issue can occur even if a valid license is detected during the build phase, as indicated by the build output. However, the debug output during runtime shows the license check failing. The problem often arises when the `Telerik.Licensing` NuGet package is not directly referenced in the startup project of the application.
29+
30+
This knowledge base article also answers the following questions:
31+
- Why does Telerik Reporting display "Invalid license" at runtime?
32+
- How to resolve runtime licensing issues in Telerik Reporting?
33+
- What causes valid licenses in build but invalid runtime behavior in Telerik Reporting?
34+
35+
## Solution
36+
37+
To resolve this issue, ensure the `Telerik.Licensing` NuGet package is directly referenced in the startup project of your application. Follow the steps below:
38+
39+
1. **Identify the Startup Project**: Determine which project serves as the entry point for your application.
40+
41+
2. **Add `Telerik.Licensing` NuGet Package**: Navigate to the startup project and add the `Telerik.Licensing` NuGet package manually. You can do this using the NuGet Package Manager or the Package Manager Console.
42+
43+
Example using Package Manager Console:
44+
```bash
45+
Install-Package Telerik.Licensing -Version 1.6.5
46+
```
47+
48+
3. **Clean and Rebuild the Solution**: Perform a clean build of your solution to ensure all dependencies are correctly resolved.
49+
50+
4. **Test the Application**: Run the application again and verify if the reports are correctly generated without displaying the "Invalid license" message.
51+
52+
53+
---

0 commit comments

Comments
 (0)