Resolving "No license found for Telerik UI for ASP.NET AJAX"
Environment
| Product | UI for ASP.NET AJAX |
| Version | 2025 Q1 + |
Description
I encounter the error No license found for Telerik UI for ASP.NET AJAX or We couldn't verify your license key for Telerik UI for ASP.NET AJA despite having a valid license and ensuring the license key has been downloaded into Visual Studio. This issue happens in both local development and publishing environments.
Cause
The error occurs because Visual Studio cannot locate or validate the required license file or Script key attribute for Telerik UI for ASP.NET AJAX. The license activation process varies based on the ASP.NET Web Forms project type, which is either a Web Application or a Web Site project.
Solution
To resolve the issue, follow the steps based on your project type:
For Web Application Projects (have a .csproj or .vbproj file):
Using NuGet
- Install the latest Telerik.Licensing NuGet package.
- Download the
telerik-license.txtfile from the License Keys page. - Place the
telerik-license.txtfile in%AppData%\Telerik\(e.g.,C:\Users\YourUserName\AppData\Roaming\Telerik\). - Rebuild the project.
Without NuGet
- Go to the License Keys page in your Telerik account.
- Click the
Script keylink in the Telerik UI for ASP.NET AJAX row. - Select your preferred language and copy the license key.
- Add the license key as an assembly attribute in
AssemblyInfo.csor create a new file likeTelerikLicense.cs:
[assembly: global::Telerik.Licensing.EvidenceAttribute("your-license-key-here")]
For VB.NET projects, use:
<Assembly: Telerik.Licensing.EvidenceAttribute("your-license-key-here")>
- Rebuild the project.
For Web Site Projects
- Go to the License Keys page in your Telerik account.
- Click the
Script keylink in the Telerik UI for ASP.NET AJAX row. - Select your preferred language and copy the license key.
- Add a class file to the
App_Codefolder:TelerikLicense.csfor C# orTelerikLicense.vbfor VB.NET. - Paste the license key as an assembly attribute:
[assembly: global::Telerik.Licensing.EvidenceAttribute("your-license-key-here")]
For VB.NET projects, use:
<Assembly: Telerik.Licensing.EvidenceAttribute("your-license-key-here")>
- Rebuild your site and restart Visual Studio.
If the script-key file is already present
If a Web Site still displays No license found after you add the script-key file, continue with these checks instead of repeating the placement steps:
- Verify the file contents, not only its location. Copy the complete Script key for Telerik UI for ASP.NET AJAX from your account, selecting VB KEY for a VB.NET Web Site. The
your-license-key-herevalue in the examples is a placeholder, not a license key. Use the Script key, not the contents oftelerik-license.txt. See Setting Up Your License Key. - Record the complete banner or exception text and whether it appears locally, after deployment, or both. Distinguish runtime errors from build-task messages. The
TKLcodes in License Activation Errors and Warnings describe build-task messages; do not require one before investigating a runtime banner. - Check the installed
Telerik.Licensingversion before enabling Runtime Diagnostics. The diagnostics API requires version 1.6.24 or later. Follow the linked instructions to enable diagnostics before using Telerik controls, for example inApplication_StartinGlobal.asax. A Web Site has no.vbprojor.csprojfile, so use the runtime instructions rather than project-file build-verbosity settings. - If the error persists, contact Telerik Support through a private support ticket. Include the exact error text, Telerik UI and licensing runtime versions, where the error occurs, and a minimal reproduction without license keys.
Do not post license keys or unredacted diagnostic logs in public forums or chat. Remove license key values and personal information before sharing diagnostic output.
See Also
- Setting Up Your Telerik UI for ASP.NET AJAX License Key
- Web Applications with NuGet Licensing
- Web Applications without NuGet and Web Sites Licensing
- Telerik.Licensing NuGet Package
- YouTube Video: Fix Telerik UI for ASP.NET AJAX License Error Banner & Watermarks (NuGet)
- YouTube Video: Removing Telerik AJAX License Error without NuGet
- YouTube Video: Fix Telerik UI License Error in ASP.NET Web Forms Site