You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: knowledge-base/resolving-invalid-license-runtime-telerik-reporting.md
+39-19Lines changed: 39 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,16 +11,16 @@ ticketid: 1688629
11
11
12
12
## Environment
13
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>
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
24
</table>
25
25
26
26
## Description
@@ -34,20 +34,40 @@ This knowledge base article also answers the following questions:
34
34
35
35
## Solution
36
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:
37
+
### General Instructions for .NET and .NET Framework Projects
38
+
39
+
To resolve this issue, ensure the [Telerik.Licensing](https://www.nuget.org/packages/Telerik.Licensing) NuGet package is directly referenced in the startup project of your application. Follow the steps below:
38
40
39
41
1.**Identify the Startup Project**: Determine which project serves as the entry point for your application.
42
+
1.**Add `Telerik.Licensing` NuGet Package**: Navigate to the startup project and add the [Telerik.Licensing](https://www.nuget.org/packages/Telerik.Licensing) NuGet package manually. You can do this using the NuGet Package Manager or the Package Manager Console.
40
43
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.
44
+
Example using Package Manager Console - `Install-Package Telerik.Licensing -Version 1.6.5`
45
+
46
+
1.**Clean and Rebuild the Solution**: Perform a clean build of your solution to ensure all dependencies are correctly resolved.
47
+
1.**Test the Application**: Run the application again and verify if the reports are correctly generated without displaying the "Invalid license" message.
42
48
43
-
Example using Package Manager Console:
44
-
```bash
45
-
Install-Package Telerik.Licensing -Version 1.6.5
46
-
```
49
+
### .NET Framework-Specific Instructions
47
50
48
-
3.**Clean and Rebuild the Solution**: Perform a clean build of your solution to ensure all dependencies are correctly resolved.
51
+
For .NET Framework startup projects that do not use the [SDK-style project](https://learn.microsoft.com/en-us/dotnet/core/project-sdk/overview) structure, ensure that there is one or more **Telerik Reporting** NuGet packages/assemblies referenced in the project.
49
52
50
-
4.**Test the Application**: Run the application again and verify if the reports are correctly generated without displaying the "Invalid license" message.
53
+
If the startup project contains no **Telerik Reporting** references and is not defined as [SDK-style project](https://learn.microsoft.com/en-us/dotnet/core/project-sdk/overview), and is instead referencing other projects that contain the Reporting-related code, our licensing mechanism cannot determine that any **Telerik** products are used, thus the license check will be `False` at runtime.
51
54
55
+
In such scenarios, add a reference to the `Telerik.Reporting.dll` so that the licensing build task can determine that **Telerik Reporting** is used and generate the necessary files to use during runtime.
52
56
53
-
---
57
+
Additionally, if a version newer than **1.6.5** of the [Telerik.Licensing](https://www.nuget.org/packages/Telerik.Licensing) NuGet package is installed, ensure that a binding redirect is present in the `App.config`/`Web.config` file of the startup project. For example:
0 commit comments