HOW TO – Remove License Banner for ActiveReports

HOW TO – Remove License Banner for ActiveReports .Net versions
Follow the steps below to remove your license banner.
Step 1 – Open up your ‘Web.Config Key Generator’ from the start menu under the
DataDynamics folder, then the version you are running (see Figure 1 below). If it prepopulates your ‘Name’ and ‘Company Name’ go to Step 3. If it does not pre-populate
those fields then you need to run your license executable, see Step 2.
Figure 1
Step 2 – Since the ‘Web.Config Key Generator’ did not populate your fields, you need to
run the license executable and start over at Step 1. The license executables should be on
your CD. If you downloaded your copy you should have gotten one of these files also. If
you can not find it please call our office at 614-895-3142 or email our support at
[email protected].
Here is a list of the license executable names:
 V1 Std: license.exe
 V1 Pro: licensepro.exe
 V2 Std: LicenseStd2.exe
 V2 Pro: LicensePro2.exe
 V3 Std: LicenseStd3.exe
 V3 Pro: LicensePro3.exe
Step 3 – Now we create the web.config key using the ‘Web.Config Key Generator’ tool.
You should just be able to enter in your serial number (in CAPITAL LETTERS) and
generate a web.config key. It should look like Figure 2 below.
Figure 2
Now that you have generated your web.config key, we need to apply this to the project.
Please copy just the selected text that you can see in Figure 2. If you have a Windows
Forms project please go to step 4, if you have Website please go to step 5.
Step 4 – Since you have a Windows Forms project or a class library, you will need to add
an ‘Application Configuration File’ to your project. It will be named ‘App.Config’, so if
you already have one you do not need to add it too your project. Open up your
‘App.Config’ file and paste in the selected text from figure 2. Make sure you do not
already have a <appSettings> node in your ‘App.Config’ file. If you already do have an
<appSettings> node in your ‘App.Config’ file, please just select the <add key … /> node
and paste it inside the <appSettings> node.
Now you should be able to run your project and the evaluation banner should be gone. If
it is still there please go to step 6.
Step 5 – Since you have a Website project you will need to paste in the selected text from
figure 2 to the web.config file of your website. Make sure you do not already have the
<appSettings> node inside the <configuration> node. If you do just paste in the <add key
… /> node into the existing <appSettings> node.
Now you should be able to run your project and the evaluation banner should be gone. If
it is still there please go to step 6.
Step 6 – Since none of the above ways worked, you will need to use the ‘SetLicense’
method off of your report object. Below is a snippet of code that is an example of how to
use it. You can also visit the link below to find out more about the ‘SetLicense’ method.
Info on ‘SetLicense’:
http://www.datadynamics.com/Help/ARNET3/ActiveReports3~DataDynamics.ActiveRe
ports.ActiveReport3~SetLicense.html
VB:
Dim rpt as new YourReport
Rpt.SetLicense("Tommy,Data Dynamics,SERIAL#,O4I4E7SF94H9JSKH997O")
C#
YourReport rpt = new YourReport();
Rpt.SetLicense("Tommy,Data Dynamics,SERIAL#,O4I4E7SF94H9JSKH997O")