Telerik UI for ASP.NET AJAX 2025 Q1 License Key Build Error

2 Answers 33 Views
Licensing
Daniel
Top achievements
Rank 1
Daniel asked on 12 Feb 2025, 05:23 PM

I have web projects that I am trying to update with the new 2025 Q1 assemblies and am getting a build error of the TelerikLicense.vb file.

 

I followed these instructions:

  1. Search for AJAX.
  2. Click on View key next to the Progress® Telerik® UI for ASP.NET AJAX.
  3. Copy the Script Key.
  4. Add a file to your project, e.g. TelerikLicense.cs (for VB projects add TelerikLicense.vb).
    • In case of ASP Web Site solution, add the file to the App_Code folder.
  5. Paste the Script Key into the file.
  6. Build the project.

TelerikLicense.vb error BC30034: Bracketed identifier is missing closing ']'.

 Any suggestions?

2 Answers, 1 is accepted

Sort by
1
Accepted
Rumen
Telerik team
answered on 13 Feb 2025, 08:20 AM

Thank you Aaron for the tip! It will go into the documentation.

I want to share yet another way to prevent the licensing warnings:

  1. Go to the License Keys page in your Telerik account.
  2. Click the Download License Key button.
  3. Save the telerik-license.txt file to:

    %AppData%\Telerik\telerik-license.txt, for example, C:\Users\...\AppData\Roaming\Telerik\telerik-license.txt

Additional directories where you can place the telerik-license.txt are:

  • C:\inetpub\wwwroot\telerik-license.txt
  • C:\inetpub\telerik-license.txt
  • C:\telerik-license.txt
If you are using Kendo UI, also place kendo-ui-license.txt in these directories.

This will make the license key available to all Telerik .NET apps you develop on your local machine.

 

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
Daniel
Top achievements
Rank 1
commented on 17 Feb 2025, 03:55 PM

Does this apply when deploying our application to a production environment or just for developer's local environment?
Rumen
Telerik team
commented on 17 Feb 2025, 04:11 PM

Hi Daniel,

The licensing mechanism for Telerik UI for ASP.NET AJAX applies primarily to the developer's local environment and is not required for deployment in a production environment. The license key is used to verify and activate the developer’s access during development, but it does not need to be present on the production server.

For more details, you can refer to the official Telerik documentation:

Let me know if you need further clarification!

gerry
Top achievements
Rank 1
commented on 24 Feb 2025, 03:07 PM

Just to clarify, to deploy to a production environment (e.g. cloud) we can still just do bin directory deployments and we don't need anything else?
Rumen
Telerik team
commented on 24 Feb 2025, 04:01 PM

Yes, for deploying to a production environment (including cloud), bin directory deployment is sufficient. You do not need to include the Telerik license key file on the production server.

The Telerik licensing mechanism is only required during development to validate access. Once your application is built and deployed, the assemblies in the bin directory will function as expected without needing any additional licensing steps.
1
Aaron Zabudsky
Top achievements
Rank 1
Iron
answered on 12 Feb 2025, 09:17 PM
The Telerik License Key view uses C# syntax (which the VB compiler doesn't understand).

I used the following VB syntax for the contents of the TelerikLicense.vb file and it didn't generate any errors:
<Assembly: Telerik.Licensing.EvidenceAttribute("...your license code string...")>

Tags
Licensing
Asked by
Daniel
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Aaron Zabudsky
Top achievements
Rank 1
Iron
Share this question
or