ChartDirector License Installation
The details to install the ChartDirector license key differ depending on the ChartDirector language edition (ASP/COM/VB, .NET, JSP/Java, PHP, Perl, Python, C++), version, and platfrom (Windows or UNIX). They are described in the Installation section of the corresponding ChartDirector documentation. This web page is a summary of the license key installation procedure for ChartDirector Ver 3.x/Ver 4.x.
If you have already attempted to install the license key but is unsuccessful, you may try the steps in the Trouble-Shooting ChartDirector License Installation page.
If you are upgrading from a previous version of ChartDirector and have an upgrade license key, please append it to your previous version license key to create the full license key.
ChartDirector license keys are installed by saving the license key to a "chartdir.lic" ASCII file and put it in the appropriate directory. Please follow the link below for the exact steps for your ChartDirector edition:
- ChartDirector on Windows (except ChartDirector for .NET and JSP/Java)
- ChartDirector on Linux/FreeBSD/Solaris (except ChartDirector for JSP/Java)
- ChartDirector for .NET
- ChartDirector for JSP/Java (for Ver 3.1 or above)
Chart.setLicenseCode("put_your_license_key_here");
Please refer to your ChartDirector documentation on setLicenseCode for the exact syntax for your programming language.
Save the license key in an ASCII text file, and name the file "chartdir.lic".
The ASCII text file should contain just one line, which is the license key. You may click here to download a license file sample.
Put the license file in the same directory as "chartdir??.dll" (for ASP/COM/VB, C++) or
"chartdir.dll" (for PHP, Perl, Python).
For ASP/COM/VB, "chartdir??.dll" is usually in "\Program Files\ChartDirector\lib".
For PHP, Perl, Python and C++, the location of "chartdir??.dll" (for C++) or "chartdir.dll" (for PHP, Perl, Python) depends on where you copied it to during ChartDirector installation.
If unsure, you may use the "search for files" function of your system to locate "chartdir*.dll".
Verify Security Settings of Your Computer
If you are using ChartDirector with a web server, please make sure the web server "anonymous user" has sufficient privileges to read the license file.
Save the license key in an ASCII text file, and name the file "chartdir.lic".
The ASCII text file should contain just one line, which is the license key. You may click here to download a license file sample.
Put the license file in the same directory as "libchartdir.so"
Verify Security Settings of Your Computer
If you are using ChartDirector with a web server, please make sure the web server "anonymous user" has sufficient privileges to read the license file.
Save the license key in an ASCII text file, and name the file "chartdir.lic".
The ASCII text file should contain just one line, which is the license key. You may click here to download a license file sample.
Put the license file in the same directory as "netchartdir.dll"
If you are using ChartDirector with ASP.NET, this should be your ASP.NET application's "bin" subdirectory.
If you are using ChartDirector in a standalone (non web) .NET application, this should be the directory of your executable EXE.
If you are installing "netchartdir.dll" in the Global Assembly Cache (GAC) of your system, you can put the license file in the windows [system32] directory instead. In this case, you may need to reboot your computer/server for the license file to take effect.
Verify Security Settings of Your Computer
If you are using ChartDirector with ASP.NET, please make sure the web server "anonymous user" has sufficient privileges to read the license file.
Save the license key in an ASCII text file, and name the file "chartdir.lic".
The ASCII text file should contain just one line, which is the license key. You may click here to download a license file sample.
Put the license file in the class path of your application
For web applications, you may put the license file in the "WEB-INF/classes" subdirectory. For other applications, you may put the license file in the root of the application's class hierarchy. You may put the license file inside a JAR file, provided it is at the root of the path hierarchy inside the JAR file.
Note that for some web servers, if you create the "WEB-INF/classes" subdirectory after the web application has started, you may need to restart the web application for it to see that subdirectory.
Similarly, if you put the license file inside a JAR file after the application has started, you may need to restart the application for the modified JAR file to take effect.
Verify Security Settings of Your Computer
If you are using ChartDirector with a web server, please make sure the web server "anonymous user" has sufficient privileges to read the license file.
