This is also a fairly common scenario. You do not need an instance of the component on the form, but would like to create one or more instances at run time. In this case, the project will not contain a licenses.licx file (or the file will not contain appropriate runtime license for the components) and therefore licensing will fail.
To fix this problem, add an instance of the component to the form in the project. This will create the licenses.licx file and things will then work as expected. (The component can be removed from the form after the licenses.licx file has been created).
Adding an instance of the component to the form, then removing that component, is just a simple way of adding a line with the component name to the licenses.licx file.
Another scenario is when licenses.licx file is not created or remains empty. In such a case, you can create a new file and add valid license entries for all the controls that you are using in the project from the below list (Delete the entries that do not apply).
Valid License Entries |
Copy Code
|
---|---|
C1.C1Excel.C1XLBook, C1.C1Excel.4 C1.C1Pdf.C1PdfDocument, C1.C1Pdf.4 C1.C1Pdf.C1PdfDocumentBase, C1.C1Pdf.4 C1.C1Preview.C1MultiDocument, C1.C1Report.4 C1.C1Preview.C1PrintDocument, C1.C1Report.4 C1.C1Rdl.Rdl2008.C1RdlReport, C1.C1Report.4 C1.C1Report.C1Report, C1.C1Report.4 C1.C1Word.C1WordDocument, C1.C1Word.4 C1.DataEngine.Workspace, C1.DataEngine.4 C1.Win.BarCode.C1BarCode, C1.Win.BarCode.4 C1.Win.C1BarCode.C1BarCode, C1.Win.C1BarCode.4 C1.Win.C1BarCode.C1QRCode, C1.Win.C1BarCode.4 C1.Win.C1Chart.C1Chart, C1.Win.C1Chart.4 C1.Win.C1Chart3D.C1Chart3D, C1.Win.C1Chart3D.4 C1.Win.C1Command.C1CommandDock, C1.Win.C1Command.4 C1.Win.C1Command.C1CommandHolder, C1.Win.C1Command.4 C1.Win.C1Command.C1ContextMenu, C1.Win.C1Command.4 C1.Win.C1Command.C1DockingTab, C1.Win.C1Command.4 C1.Win.C1Command.C1MainMenu, C1.Win.C1Command.4 C1.Win.C1Command.C1NavBar, C1.Win.C1Command.4 C1.Win.C1Command.C1OutBar, C1.Win.C1Command.4 C1.Win.C1Command.C1RadialMenu, C1.Win.C1Command.4 C1.Win.C1Command.C1ToolBar, C1.Win.C1Command.4 C1.Win.C1Command.C1TopicBar, C1.Win.C1Command.4 C1.Win.C1Document.C1PdfDocumentSource, C1.Win.C1Document.4 C1.Win.C1Document.C1SSRSDocumentSource, C1.Win.C1Document.4 C1.Win.C1DynamicHelp.C1DynamicHelp, C1.Win.C1DynamicHelp.4 C1.Win.C1Editor.C1Editor, C1.Win.C1Editor.4 C1.Win.C1Editor.ToolStrips.C1EditorToolStripMain, C1.Win.C1Editor.4 C1.Win.C1Editor.ToolStrips.C1EditorToolStripObjects, C1.Win.C1Editor.4 C1.Win.C1Editor.ToolStrips.C1EditorToolStripReview, C1.Win.C1Editor.4 C1.Win.C1Editor.ToolStrips.C1EditorToolStripStyle, C1.Win.C1Editor.4 C1.Win.C1Editor.ToolStrips.C1EditorToolStripTable, C1.Win.C1Editor.4 C1.Win.C1FlexGrid.C1FlexGrid, C1.Win.C1FlexGrid.4 C1.Win.C1FlexGrid.Classic.C1FlexGridClassic, C1.Win.C1FlexGrid.Classic.4 C1.Win.C1GanttView.C1GanttView, C1.Win.C1GanttView.4 C1.Win.C1Gauge.C1Gauge, C1.Win.C1Gauge.4 C1.Win.C1Input.C1BasePicker, C1.Win.C1Input.4 C1.Win.C1Input.C1Button, C1.Win.C1Input.4 C1.Win.C1Input.C1CheckBox, C1.Win.C1Input.4 C1.Win.C1Input.C1ColorPicker, C1.Win.C1Input.4 C1.Win.C1Input.C1ComboBox, C1.Win.C1Input.4 C1.Win.C1Input.C1DateEdit, C1.Win.C1Input.4 C1.Win.C1Input.C1DbNavigator, C1.Win.C1Input.4 C1.Win.C1Input.C1DropDownControl, C1.Win.C1Input.4 C1.Win.C1Input.C1FontPicker, C1.Win.C1Input.4 C1.Win.C1Input.C1Label, C1.Win.C1Input.4 C1.Win.C1Input.C1NumericEdit, C1.Win.C1Input.4 C1.Win.C1Input.C1PictureBox, C1.Win.C1Input.4 C1.Win.C1Input.C1RangeSlider, C1.Win.C1Input.4 C1.Win.C1Input.C1SplitButton, C1.Win.C1Input.4 C1.Win.C1Input.C1TextBox, C1.Win.C1Input.4 C1.Win.C1InputPanel.C1InputPanel, C1.Win.C1InputPanel.4 C1.Win.C1List.C1Combo, C1.Win.C1List.4 C1.Win.C1List.C1List, C1.Win.C1List.4 C1.Win.C1Preview.C1PreviewPane, C1.Win.C1Report.4 C1.Win.C1Preview.C1PrintPreviewControl, C1.Win.C1Report.4 C1.Win.C1ReportDesigner.C1ReportDesigner, C1.Win.C1ReportDesigner.4 C1.Win.C1Ribbon.C1Ribbon, C1.Win.C1Ribbon.4 C1.Win.C1Ribbon.C1StatusBar, C1.Win.C1Ribbon.4 C1.Win.C1RibbonPreview.C1RibbonPreview, C1.Win.C1RibbonPreview.4 C1.Win.C1RibbonPreview.C1RibbonPreviewDialog, C1.Win.C1RibbonPreview.4 C1.Win.C1Schedule.C1Calendar, C1.Win.C1Schedule.4 C1.Win.C1Schedule.C1Schedule, C1.Win.C1Schedule.4 C1.Win.C1Sizer.C1Sizer, C1.Win.C1Sizer.4 C1.Win.C1Sizer.C1SizerLight, C1.Win.C1Sizer.4 C1.Win.C1SpellChecker.C1SpellChecker, C1.Win.C1SpellChecker.4 C1.Win.C1SplitContainer.C1SplitContainer, C1.Win.C1SplitContainer.4 C1.Win.C1SuperTooltip.C1SuperErrorProvider, C1.Win.C1SuperTooltip.4 C1.Win.C1SuperTooltip.C1SuperLabel, C1.Win.C1SuperTooltip.4 C1.Win.C1SuperTooltip.C1SuperTooltip, C1.Win.C1SuperTooltip.4 C1.Win.C1Themes.C1ThemeController, C1.Win.C1Themes.4 C1.Win.C1Tile.C1TileControl, C1.Win.C1TileControl.4 C1.Win.C1TrueDBGrid.C1TrueDBGrid, C1.Win.C1TrueDBGrid.4 C1.Win.C1Win7Pack.C1TaskbarButton, C1.Win.C1Win7Pack.4 C1.Win.C1Win7Pack.C1TaskDialog, C1.Win.C1Win7Pack.4 C1.Win.Chart.FlexChart, C1.Win.FlexChart.4 C1.Win.Chart.FlexPie, C1.Win.FlexChart.4 C1.Win.Data.Entities.C1DataSource, C1.Win.Data.Entity.4 C1.Win.FlexPivot.C1FlexPivotChart, C1.Win.FlexPivot.4 C1.Win.FlexPivot.C1FlexPivotGrid, C1.Win.FlexPivot.4 C1.Win.FlexPivot.C1FlexPivotPage, C1.Win.FlexPivot.4 C1.Win.FlexPivot.C1FlexPivotPanel, C1.Win.FlexPivot.4 C1.Win.FlexReport.C1FlexReport, C1.Win.FlexReport.4 C1.Win.FlexViewer.C1FlexViewer, C1.Win.FlexViewer.4 C1.Win.FlexViewer.C1FlexViewerDialog, C1.Win.FlexViewer.4 C1.Win.FlexViewer.C1FlexViewerPane, C1.Win.FlexViewer.4 C1.Win.Olap.C1OlapChart, C1.Win.Olap.4 C1.Win.Olap.C1OlapGrid, C1.Win.Olap.4 C1.Win.Olap.C1OlapPage, C1.Win.Olap.4 C1.Win.Olap.C1OlapPanel, C1.Win.Olap.4 C1.Win.TouchToolKit.C1ApplicationZoom, C1.Win.C1TouchToolKit.4 C1.Win.TouchToolKit.C1Magnify, C1.Win.C1TouchToolKit.4 C1.Win.TouchToolKit.C1MultiScaleImage, C1.Win.C1TouchToolKit.4 C1.Win.TouchToolKit.C1TouchEventProvider, C1.Win.C1TouchToolKit.4 C1.Win.TouchToolKit.C1Zoom, C1.Win.C1TouchToolKit.4 C1.Win.TouchToolKit.C1ZoomCommandProvider, C1.Win.C1TouchToolKit.4 C1.Win.TouchToolKit.C1ZoomPanel, C1.Win.C1TouchToolKit.4 |
One can also create licenses.licx file manually using a text editor or Visual Studio itself by opening the file and adding the valid license entries. When Visual Studio recreates the application resources, the component is queried and its run-time license gets added to the appropriate assembly resource.