From 832a8b64271313d845c251f944be4bb91b498abc Mon Sep 17 00:00:00 2001 From: KB Bot Date: Wed, 12 Feb 2025 15:29:45 +0000 Subject: [PATCH 1/2] Added new kb article dpl-package-update-failure-license --- .../dpl-package-update-failure-license.md | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 knowledge-base/dpl-package-update-failure-license.md diff --git a/knowledge-base/dpl-package-update-failure-license.md b/knowledge-base/dpl-package-update-failure-license.md new file mode 100644 index 00000000..6133e2a4 --- /dev/null +++ b/knowledge-base/dpl-package-update-failure-license.md @@ -0,0 +1,39 @@ +--- +title: Unable to find package Telerik.Licensing +description: Learn how to handle Telerik.Licensing error after upgrade. +type: troubleshooting +page_title: Could Not Load File Or Assembly Telerik.Licensing.Runtime, Version 1.4.6.0 Runtime Error +slug: dpl-package-update-failure-license +tags: dpl, license, upgrade, fail, nuget, update, load, assembly +res_type: kb +ticketid: 1678555 +--- + +## Environment + +| Version | Product | Author | +| ---- | ---- | ---- | +| Q1 2025| Telerik Document Processing|[Desislava Yordanova](https://www.telerik.com/blogs/author/desislava-yordanova)| + +## Problem + +After upgrading the Telerik Document Processing libraries to version [Q1 2025]({%slug release-notes-2025-1-205%}), the following error messages may occur: + +* "The file or assembly cannot be loaded 'Telerik.Licensing.Runtime, Version=1.4.6.0, Culture=neutral, PublicKeyToken=token_here' or one of its dependencies. The system cannot find the specified file." + +* "NU1101: Unable to find package Telerik.Licensing. No packages exist with this id in source(s): Telerik nuget. PackageSourceMapping is enabled, the following source(s) were not considered: Microsoft Visual Studio Offline Packages, nuget.org. " + +## Solution + +This may happen if you upgrade to 2025 Q1 from an older version. With [Q1 2025]({%slug release-notes-2025-1-205%}), a new licensing mechanism was introduced, which requires a reference the Telerik.Licensing.Runtime dll. + +The recommended way is to ensure that you have added the `Telerik.Licensing` package to your project. This package is necessary for the newer licensing mechanism introduced with the 2025 version. + +Refer to the [Setting Up Your Telerik Document Processing Libraries License Key](https://docs.telerik.com/devtools/document-processing/distribution-and-licensing/license-key#license-activation-errors-and-warnings) documentation for details on activating your RadPdfProcessing license key. + +Following these steps should resolve the update failure and allow for the successful update of the `Telerik.Documents.Fixed` package to the latest version, while ensuring compliance with the new licensing requirements. + +## See Also + +- [Licensing Documentation]({%slug license-key%}) +- [Telerik.Licensing NuGet Package](https://www.nuget.org/packages/Telerik.Licensing) From 977134f0b778c0d73b03d55e16e950e036a9e2ab Mon Sep 17 00:00:00 2001 From: Desislava Yordanova Date: Wed, 12 Feb 2025 17:34:39 +0200 Subject: [PATCH 2/2] polish --- distribution-and-licensing/license-key.md | 1 + knowledge-base/dpl-package-update-failure-license.md | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/distribution-and-licensing/license-key.md b/distribution-and-licensing/license-key.md index c22435ee..3b5288cc 100644 --- a/distribution-and-licensing/license-key.md +++ b/distribution-and-licensing/license-key.md @@ -195,4 +195,5 @@ Starting with the 2025 Q2 release of the product in May 2025, all conditions abo * [License Agreement]({%slug license-agreement%}) * [Redistributing Telerik Document Processing]({%slug installation-deploying-telerik-document-processing%}) +* [Unable to find package Telerik.Licensing]({%slug dpl-package-update-failure-license%}) diff --git a/knowledge-base/dpl-package-update-failure-license.md b/knowledge-base/dpl-package-update-failure-license.md index 6133e2a4..c51ca279 100644 --- a/knowledge-base/dpl-package-update-failure-license.md +++ b/knowledge-base/dpl-package-update-failure-license.md @@ -19,19 +19,19 @@ ticketid: 1678555 After upgrading the Telerik Document Processing libraries to version [Q1 2025]({%slug release-notes-2025-1-205%}), the following error messages may occur: -* "The file or assembly cannot be loaded 'Telerik.Licensing.Runtime, Version=1.4.6.0, Culture=neutral, PublicKeyToken=token_here' or one of its dependencies. The system cannot find the specified file." +* **"The file or assembly cannot be loaded 'Telerik.Licensing.Runtime, Version=1.4.6.0, Culture=neutral, PublicKeyToken=token_here' or one of its dependencies. The system cannot find the specified file."** -* "NU1101: Unable to find package Telerik.Licensing. No packages exist with this id in source(s): Telerik nuget. PackageSourceMapping is enabled, the following source(s) were not considered: Microsoft Visual Studio Offline Packages, nuget.org. " +* **"NU1101: Unable to find package Telerik.Licensing. No packages exist with this id in source(s): Telerik nuget. PackageSourceMapping is enabled, the following source(s) were not considered: Microsoft Visual Studio Offline Packages, nuget.org."** ## Solution -This may happen if you upgrade to 2025 Q1 from an older version. With [Q1 2025]({%slug release-notes-2025-1-205%}), a new licensing mechanism was introduced, which requires a reference the Telerik.Licensing.Runtime dll. +This may happen if you upgrade to [Q1 2025]({%slug release-notes-2025-1-205%}) from an older version. With [Q1 2025]({%slug release-notes-2025-1-205%}) a new licensing mechanism was introduced, which requires a reference the Telerik.Licensing.Runtime dll. -The recommended way is to ensure that you have added the `Telerik.Licensing` package to your project. This package is necessary for the newer licensing mechanism introduced with the 2025 version. +However, the recommended way is to ensure that you have added the `Telerik.Licensing` package to your project. This package is necessary for the newer licensing mechanism. -Refer to the [Setting Up Your Telerik Document Processing Libraries License Key](https://docs.telerik.com/devtools/document-processing/distribution-and-licensing/license-key#license-activation-errors-and-warnings) documentation for details on activating your RadPdfProcessing license key. +Refer to the [Setting Up Your Telerik Document Processing Libraries License Key]({%slug license-key%}) documentation for details on activating your license key. -Following these steps should resolve the update failure and allow for the successful update of the `Telerik.Documents.Fixed` package to the latest version, while ensuring compliance with the new licensing requirements. +Following these steps should resolve the update failure and allow for the successful update of Telerik Document Processing Libraries to the latest version, while ensuring compliance with the new licensing requirements. ## See Also