New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Could not transform licenses file into a binary resource. Object reference not set to an instance of an object error

Environment

Product Version Telerik UI for ASP.NET AJAX
Product Progress® Telerik® UI for ASP.NET AJAX

Description

Check the Solution section to see how to fix the Could not transform licenses file into a binary resource error related to the licenses.licx file.

Solution

Usually, when the licx files are created, there is a license file as well as a binary file for the licenses. If you have just one of them missing, this would cause an error.

Try to remove both files and check how that would work for you.

  • In a Web Site project type, one file (App_Licenses.dll) would be in the root, and the other (licenses.licx) in the bin folder:

    licenses files in a web site

  • In a WebApplication project type, one of the files could be inside the Properties folder, next to the AssemblyInfo.cs:

    license file in a web app

You can find more information at this StackOverflow forum: Could not transform licenses file into a binary resource.

In this article