[]
type=info
Tips:
To deploy using XCOPY, you must include the DLLs for all of your ActiveReports references in your bin/debug folder. To do this, in the Visual Studio Solution Explorer, select each reference, and in the Properties window, set Copy Local to True and rebuild your solution.
To avoid having to change the version number each time you install an ActiveReports service pack. You need to select each reference in the Visual Studio Solution Explorer, and in the Properties window, set Specific Version to False.
These steps assume that you have an ActiveReports licensed edition installed on your system.
type=note
Note: If another application calls the one containing ActiveReports features, you must license the calling application to avoid evaluation banners after deployment.
The executable application is now licensed, and no nag screens or evaluation banners will appear when you run it. You can also distribute the application to the unlicensed machines without facing any nag screens or evaluation banners.
The licenses.licx file must contain the following references to ActiveReports if you are using both the Section and Page reports, and both the Windows and WPF viewers. See the table for the references to the ActiveReports version and the reference to the Viewer control.
type=note
Note: The Version, Culture, and PublicKeyToken information is added automatically, but they can be removed, and are preferred to be removed, if the version is wrong.
GrapeCity.ActiveReports.SectionReport, MESCIUS.ActiveReports
GrapeCity.ActiveReports.PageReport, MESCIUS.ActiveReports
GrapeCity.ActiveReports.Viewer.Win.Viewer, MESCIUS.ActiveReports.Viewer.Win
GrapeCity.ActiveReports.Viewer.Wpf.Viewer, MESCIUS.ActiveReports.Viewer.Wpf
The below table lists all the license strings that you may need:
Component | License String |
---|---|
Section Report engine | GrapeCity.ActiveReports.SectionReport, MESCIUS.ActiveReports |
Page and RDLX report engine | GrapeCity.ActiveReports.PageReport, MESCIUS.ActiveReports |
WinForms viewer control | GrapeCity.ActiveReports.Viewer.Win.Viewer, MESCIUS.ActiveReports.Viewer.Win |
WPF viewer control | GrapeCity.ActiveReports.Viewer.Wpf.Viewer, MESCIUS.ActiveReports.Viewer.Wpf |
PRO (some features) PDF export | GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport, MESCIUS.ActiveReports.Export.Pdf |
WebViewer, HTTP handlers | GrapeCity.ActiveReports.Web.WebViewer, MESCIUS.ActiveReports.Web |
PRO ONLY: End-user designer | GrapeCity.ActiveReports.Design.Designer, MESCIUS.ActiveReports.Design.Win |
PRO ONLY: JSViewer | GrapeCity.ActiveReports.Aspnet.WebViewer, MESCIUS.ActiveReports.Aspnet.Viewer |
PRO ONLY: WebDesigner | GrapeCity.ActiveReports.Aspnet.WebDesigner, MESCIUS.ActiveReports.Aspnet.Designer |
type=note
Note: When using the PDF export filter in your project, make sure you check the licenses.licx file for reference to the PDF Export Assembly.
Follow these steps after you have licensed ActiveReports on your machine:
Follow these steps after you have licensed ActiveReports on your machine.
type=note
Note: These steps help you license application made using the legacy Visual Studio template 'Web Site Application'.
Follow these steps after you have licensed ActiveReports on your machine.
type=note
Note:
- If you use some other features of ActiveReports in your class library that are still showing an evaluation banner, for example, features exclusive to the Professional Edition, you can add those references manually and rebuild the solution.
- The Web Key Generator and Application License Generator utilities have been removed in ActiveReports 15. You should use above steps to license the project.
The WebDesigner and JSViewer nuget packages do not include a licenses.licx file, so the file needs to be added and configured manually in your project. Follow these steps to add license file in your Web Application in Visual Studio:
Go to Project menu and select Add New Item.
Select a new text file and rename it to licenses.licx.
Open the blank licenses.licx file and populate the file with the following entries:
GrapeCity.ActiveReports.SectionReport, MESCIUS.ActiveReports
GrapeCity.ActiveReports.PageReport, MESCIUS.ActiveReports
GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport, MESCIUS.ActiveReports.Export.Pdf
Run the project.
You should not face any licensing errors, assuming that you have a licensed ActiveReports Professional Edition.