ChartDirector License Installation

The detail steps to install the ChartDirector license key differ depending on the ChartDirector programming language edition (ASP/COM/VB, .NET, JSP/Java, ColdFusion, PHP, Perl, Python, Ruby, C++), version, and platfrom (Windows, Linux, FreeBSD, Solaris, Mac OS X). 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 or above.

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 in a "chartdir.lic" ASCII file and putting the file in the appropriate directory. Please follow the link below for the exact steps for your ChartDirector edition: If you are installing the license key for a ChartDirector Redistribute License, an alternative method is to hard code the license key in your source code by using the setLicenseCode API. For example, in C#/Java, you may use:

Chart.setLicenseCode("put_your_license_key_here");

Please refer to your ChartDirector documentation on setLicenseCode for the exact syntax for your programming language.


ChartDirector on Windows (except for .NET, JSP/Java or ColdFusion)
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.


ChartDirector on Linux, FreeBSD, Solaris or Mac OS X (except for JSP/Java or ColdFusion)
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.


ChartDirector for .NET
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.


ChartDirector for JSP/Java (for Ver 3.1 or above)
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 Java 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 has sufficient privileges to read the license file.


ChartDirector for ColdFusion
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 Java class path of your application.

You may use the "System Information" page in the ColdFusion Administrator to find out which directories are in the Java class path of your system. You may put the license file in any of these directories. A common location is the "WEB-INF/classes" of the web application that hosts the ColdFusion scripts (eg. "c:\CFusionMX7\wwwroot\WEB-INF\classes" for ColdFusion MX 7 on Windows hosted by the built-in JRun server.).

If you do not want to use any of the directories in your existing Java class path, you may add a new directory to the "ColdFusion Class Path" by using the "Java and JVM" configuration page of your ColdFusion Administrator, and put the license file in that directory.

Depending on your ColdFusion server configuration, you may need to restart the ColdFusion server for any changes to the Java class path to take effect, or for it to see new files added to the Java class path.

ASE Home Page Products Download Purchase Support About ASE