If this happens, there may be a problem with the licenses.licx file in the project. It may not exist, it may contain incorrect information, or it may not be configured correctly.
First, try a full rebuild (Rebuild All from the Visual Studio Build menu). This will usually rebuild the correct licensing resources.
If that fails too, follow these steps:
Alternative 1: Follow these steps:
Alternative 2: Follow these steps:
Try each of these options multiple times, if necessary. Still if that does not help, it is a possibility that you are creating the controls through code rather than design-time? If so, you must add an entry for the control in the licenses.licx file or create a licenses.licx file manually. Also if this is a website, and not an ASP.NET web application, try right-clicking the licenses.licx file and selecting "Build Runtime Licenses" from the context menu.
To manually create a licenses.licx file in Visual Studio, follow these steps.
The licenses.licx file is simply a text file and one that is created manually will produce the same results as one which is automatically generated. The contents of an automatically generated licenses.licx file will be similar to:
1.Win.C1TrueDBGrid.C1TrueDBGrid, C1.Win.C1TrueDBGrid.2, Version=2.0.20082.61142, Culture=neutral, PublicKeyToken=75ae3fb0e2b1e0da
You can also create the licenses.licx file in Notepad or another text editor, then, in Visual Studio, right click the solution, click "add" and "existing item" and browse to the file you created.
You can also create the licenses.licx file in Visual Studio 2005 (or VS2008 for WinForms applications). Simply add the controls you need to license to a new application, double-click the licenses.licx file that is generated, and copy/paste the information.
To use the licenses.licx file in a non-Visual Studio application, simply create the text file using the instructions above, and add the file to your compiler according to the user manual.