License error after upgrading controls

1 Answer 5 Views
Licensing
Ron
Top achievements
Rank 2
Ron asked on 21 May 2025, 06:33 PM

We recently purchased and updated our controls to the latest version.

The project upgraded and built without issue but the website is still displaying license banner and I am getting javascript errors after running.

 

There is no information in the build log about any errors with license and I have tried following the steps here to "install" the license on my PC.

https://www.telerik.com/products/aspnet-ajax/documentation/licensing/license-key

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 22 May 2025, 05:21 AM

Hi Ron,

Thank you for the details and sorry to hear you're encountering issues after the upgrade.

The warning banner you are seeing - "We couldn't verify your license key for Telerik UI for ASP.NET AJAX" - typically means that the license was either not found or not applied correctly at runtime.

Since you've mentioned that:

  • The project builds without issue but the banner still appears
  • There are JavaScript errors at runtime
  • The build log does not show license errors
  • You followed the general licensing documentation steps

It would be helpful to clarify whether your project is a Web Site or a Web Application, as the license activation steps differ. One of the easiest ways to distinguish them is by checking if the project has a project file (.csproj/.vbproj) or not.

  • Web Application Projects > have a Project file.
  • Web Site Projects > do not have a Project file.

For more details about the differences you can check out the following Microsoft documentation article: Web Application Projects versus Web Site Projects in Visual Studio.

Here are some pointers depending on the project type:

For Web Application Projects:

  • Ensure the telerik-license.txt file is located in \AppData\Roaming\Telerik\ for the user running the build or hosting the app.
  • Restart Visual Studio and rebuild the solution after placing the license file.

For Web Site Projects:

  • You need to embed the license key in your code by using the Script Key method.
  • Log in to your Telerik account and go to the License Keys section.
  • Click View key for Telerik UI for ASP.NET AJAX and copy the C# or VB key.
  • Create a file in the App_Code folder (e.g. App_Code\TelerikLicense.cs) and paste the copied key there.

For full instructions, see our guide here: Setup your License Key.

Please confirm your project type and let us know if you've tried the relevant steps above. This will help us further troubleshoot the issue with you.

Regards,
Rumen
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources
Ron
Top achievements
Rank 2
commented on 22 May 2025, 03:43 PM

I was able to fix this by using the instructions for Web Site Projects, even though it is a web application.

I'm not sure why that works?

Tags
Licensing
Asked by
Ron
Top achievements
Rank 2
Answers by
Rumen
Telerik team
Share this question
or