-
Notifications
You must be signed in to change notification settings - Fork 40
Added new kb article license-not-recognized-telerik-document-processing-libraries #583
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
dessyordanova
merged 3 commits into
master
from
new-kb-license-not-recognized-telerik-document-processing-libraries-92716a7371a94b18aa20260254c02f64
Jul 7, 2025
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
knowledge-base/license-not-recognized-telerik-document-processing-libraries.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
--- | ||
title: Resolving License Validation Issues in Telerik Document Processing Libraries | ||
description: Troubleshooting the issue where the license is not recognized during runtime in Telerik Document Processing Libraries. | ||
type: troubleshooting | ||
page_title: License Not Recognized in Telerik Document Processing Libraries | ||
meta_title: License Not Recognized in Telerik Document Processing Libraries | ||
slug: license-not-recognized-telerik-document-processing-libraries | ||
tags: telerik, document, processing, license, validation, runtime, issues, licensing, diagnostics | ||
res_type: kb | ||
ticketid: 1690929 | ||
--- | ||
|
||
## Environment | ||
|
||
| Version | Product | Author | | ||
| ---- | ---- | ---- | | ||
| 2025.2.520| RadPdfProcessing |[Desislava Yordanova](https://www.telerik.com/blogs/author/desislava-yordanova)| | ||
|
||
## Description | ||
|
||
This article aims to address potential licensing issues while generating Excel (or PDF, DOCX, etc.) files with Telerik Document Processing Libraries during **runtime** testing. The generated file contains a "License" sheet (or a watermark) with a trial message, despite the **Build Output** window indicating a valid license. The issue arises in a multi-project (e.g. Blazor WASM) application setup, where dependencies are shared across projects. | ||
|
||
## Cause | ||
|
||
This issue generally occurs due to incomplete license validation during runtime in complex setups, particularly when using shared libraries or plugin architectures. *Even if the license is validated during build time, runtime environments may fail to recognize it due to transitive dependency limitations.* | ||
|
||
## Solution | ||
|
||
The **Telerik.Licensing** verifies the DevSeat association at the time your classlib is built, and also provisions at runtime licenses in the Root app. When you have a setup such as **"Root app -> classlib -> Telerik UI"**, the Telerik UI will execute and verify the licensing for the classlib, but will not be applied transitively in the Root app. That's why you **need to add the Telerik.Licensing NuGet package reference to Root app manually**. | ||
|
||
To ensure proper license validation and eliminate trial messages, follow the steps below: | ||
|
||
* **Direct Package References**: Add references to the **Telerik.Licensing** package directly in the Root project. This resolves transitive dependency limitations. | ||
|
||
* **Explicit License Registration**: Add a call to `TelerikLicensing.Register()` early in your application lifecycle. For Blazor WASM applications, include this call in the `Program.cs` file. This approach validates the license explicitly. | ||
|
||
* **Verify Assemblies**: Ensure **no trial** versions of Telerik assemblies are referenced in any project. Replace [trial assemblies]({%slug upgrade-trial-to-licensed-version%}) with licensed ones, if such even exist. | ||
|
||
* **Enable Diagnostics**: Add the following property to your `.csproj` file to enable detailed licensing diagnostics during build and runtime: | ||
```xml | ||
<PropertyGroup> | ||
<TelerikLicensingVerbosity>diagnostic</TelerikLicensingVerbosity> | ||
</PropertyGroup> | ||
``` | ||
Review the diagnostic output for clues about license validation issues. | ||
|
||
* **Avoid Environment Variables**: Use only the `telerik-license.txt` file for license delivery instead of environment variables, which can cause issues due to length limitations. | ||
|
||
By following these steps, runtime validation issues should resolve, and the trial message will no longer appear in generated documents. | ||
|
||
## See Also | ||
|
||
- [Telerik Document Processing Licensing Overview]({%slug introduction%}) | ||
- [Setting Up Your Telerik Document Processing Libraries License Key]({%slug setting-up-license-key%}) | ||
- [Using TelerikLicensing.Register Method]({%slug adding-license-key-ci-cd-services%}#using-teleriklicensingregister-method-on-aws-lambdas) | ||
- [Diagnostic Options for Telerik Licensing]({%slug telerik-trial-version-message-diagnostic-options%}) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.