Trouble-Shooting ChartDirector License Installation
The unlicensed version of ChartDirector will include yellow banner lines at the bottom of all chart it produces. The licensed version of ChartDirector will not include such lines. If you install the ChartDirector license code, but the yellow banner is still there, please follow the steps below for diagnostics.
Before you try the steps below, please make sure you have read and follow the instructions in the Installation section of the ChartDirector documentation for license installation, or have read and follow the instructions in the online license installation page. About 80% of the cases can be solved by re-reading the license installation instructions.
Diagnostics Message
ChartDirector Ver 2.5 or above is distributed with a web based diagnostic script. If you are using ChartDirector on a web server, please copy the diagnostic script to your web server, and access it using a browser. This will retrun a web page explaining why the license file cannot be loaded.
ChartDirector Edition | File Name of Diagnostic Script |
---|---|
ASP/COM/VB | ChartDirector/aspdemo/cdinfo.asp |
.NET | ChartDirector/VBNetASP/cdinfo.aspx ChartDirector/CSharpASP/cdinfo.aspx |
JSP/Java | ChartDirector/jspdemo/cdinfo.jsp |
ColdFusion | cfdemo/cdinfo.cfm |
PHP | ChartDirector/phpdemo/cdinfo.php |
Perl | ChartDirector/perldemo_cgi/cdinfo.pl |
Python | ChartDirector/pythondemo_cgi/cdinfo.py |
Ruby | cddemo/cdinfo |
If you are not using ChartDirector with a web server, you may use the getBootLog method to retrieve the diagnostic message as a text string, and display it in somewhere you can see (eg. print to console for console applications, or print into the debugger, or display it in a suitable control on a Form, etc). The exact syntax of the getBootLog method is:
ChartDirector Edition | File Name of Diagnostic Script |
---|---|
ASP/COM/VB | Dim s s = cd.getBootLog() ' cd = ChartDirector.API object |
.NET | [VB.NET] Dim s As String = Chart.getBootLog() [C#] string s = Chart.getBootLog(); |
JSP/Java | String s = Chart.getBootLog(); |
PHP | $s = getBootLog(); |
Perl | my $x = perlchartdir::getBootLog(); |
Python | s = getBootLog() |
Ruby | s = ChartDirector::getBootLog() |
C++ | char s[4096]; Chart::getBootLog(s); |
Things to Check
Make sure the contents of the license file is correct




Make sure your license file is called "chartdir.lic"



Make sure your license file is put in the path name as
reported by the diagnostic web page.


Make sure you web server has read access to "chartdir.lic"


If you permit only the web server anonymous user to read "chartdir.lic", but deny the Everyone group, you may actually deny the web server anonymous user. It is because the Everyone group may include the web server anonymous user as its member. So the web server anonymous user is permitted and denied simultaneoulsy, and deny has priority over permit.

Check if you need to reboot the server


Make sure your license key is valid for the ChartDirector version you are using

Contact ChartDirector Support
If the steps above could not solve the problem, please email support@advsofteng.net for support. Please include the output of the diagnostic message, your license file, your ChartDirector version, programming language edition (ASP/COM/VB, .NET, JSP/Java, ColdFusion, PHP, Perl, Python, Ruby, C++), and platform (Windows, Linux, FreeBSD, Solaris, Mac OS X, ...) in your email.